-- Mar 23, 2008 8:42:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_EntityType (AD_Client_ID,AD_EntityType_ID,AD_Org_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,ModelPackage,Name,Processing,Updated,UpdatedBy,Version) VALUES (0,50005,0,TO_TIMESTAMP('2008-03-23 20:42:22','YYYY-MM-DD HH24:MI:SS'),100,'Libero Human Resource & Payroll','EE02','Project
http://www.adempiere.com/wiki/index.php/Sponsored_Development:_Libero_HR_%26_Payroll
Overview
http://www.adempiere.com/wiki/images/3/32/Payroll.pdf

Sponsored Development www.e-evolution.com','Y','org.eevolution.model','e-Evolution Libero Human Resource & Payroll','N',TO_TIMESTAMP('2008-03-23 20:42:22','YYYY-MM-DD HH24:MI:SS'),100,'1.00')
;

-- Mar 23, 2008 8:44:14 PM CST
-- Human Resource & Payroll
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,52010,'HR_Process.DocStatus in (''DR'',''IP'')',TO_TIMESTAMP('2008-03-23 20:44:13','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR Payroll Process','S',TO_TIMESTAMP('2008-03-23 20:44:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53032,TO_TIMESTAMP('2008-03-23 20:44:14','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Contract','EE02','The Payroll Contract Window is used to define the laboral condition for the employes in a payroll','Y','N','N','Y','Payroll Contract','N',TO_TIMESTAMP('2008-03-23 20:44:14','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
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=53032 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53032,TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53032,TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53032,TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53032,TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:16 PM CST
-- Human Resource & Payroll
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,53085,53032,'3',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Contract','L','HR_Contract',TO_TIMESTAMP('2008-03-23 20:44:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:16 PM CST
-- Human Resource & Payroll
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=53085 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:44:17 PM CST
-- Human Resource & Payroll
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,53104,TO_TIMESTAMP('2008-03-23 20:44:16','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Contract',1,'Y','N','Y','Y','HR_Contract','N',1000000,TO_TIMESTAMP('2008-03-23 20:44:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:18 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=469
;

-- Mar 23, 2008 8:44:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=469
;

-- Mar 23, 2008 8:44:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=10
;

-- Mar 23, 2008 8:44:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10
;

-- Mar 23, 2008 8:44:20 PM CST
-- Human Resource & Payroll
INSERT 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,54722,469,0,10,53085,'Name',TO_TIMESTAMP('2008-03-23 20:44:19','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 20:44:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54722 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:20 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Contract (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 8:44:21 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=113
;

-- Mar 23, 2008 8:44:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113
;

-- Mar 23, 2008 8:44:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=19
;

-- Mar 23, 2008 8:44:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
INSERT 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,54723,113,0,19,53085,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:44:21','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:44:21','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54723 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=187
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=187
;

-- Mar 23, 2008 8:44:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=30
;

-- Mar 23, 2008 8:44:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30
;

-- Mar 23, 2008 8:44:23 PM CST
-- Human Resource & Payroll
INSERT 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,54724,187,0,30,53085,'C_BPartner_ID',TO_TIMESTAMP('2008-03-23 20:44:23','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','EE02',10,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_TIMESTAMP('2008-03-23 20:44:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54724 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN C_BPartner_ID NUMERIC(10)
;

-- Mar 23, 2008 8:44:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Campaign_ID', Description='Marketing Campaign', EntityType='D', Help='The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.', IsActive='Y', Name='Campaign', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Campaign',Updated=TO_TIMESTAMP('2008-03-23 20:44:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=550
;

-- Mar 23, 2008 8:44:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=550
;

-- Mar 23, 2008 8:44:25 PM CST
-- Human Resource & Payroll
INSERT 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,54725,550,0,19,53085,'C_Campaign_ID',TO_TIMESTAMP('2008-03-23 20:44:24','YYYY-MM-DD HH24:MI:SS'),100,'Marketing Campaign','EE02',10,'The Campaign defines a unique marketing program.  Projects can be associated with a pre defined Marketing Campaign.  You can then report based on a specific Campaign.','Y','N','N','N','N','N','N','N','Y','N','Y','Campaign',TO_TIMESTAMP('2008-03-23 20:44:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54725 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN C_Campaign_ID NUMERIC(10)
;

-- Mar 23, 2008 8:44:25 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=208
;

-- Mar 23, 2008 8:44:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=208
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
INSERT 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,54726,208,0,19,53085,'C_Project_ID',TO_TIMESTAMP('2008-03-23 20:44:25','YYYY-MM-DD HH24:MI:SS'),100,'Financial Project','EE02',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('2008-03-23 20:44:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54726 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN C_Project_ID NUMERIC(10)
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=245
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=16
;

-- Mar 23, 2008 8:44:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16
;

-- Mar 23, 2008 8:44:27 PM CST
-- Human Resource & Payroll
INSERT 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,54727,245,0,16,53085,'Created',TO_TIMESTAMP('2008-03-23 20:44:26','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:44:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54727 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:27 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:44:27 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=246
;

-- Mar 23, 2008 8:44:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246
;

-- Mar 23, 2008 8:44:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=18
;

-- Mar 23, 2008 8:44:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18
;

-- Mar 23, 2008 8:44:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:44:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=110
;

-- Mar 23, 2008 8:44:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110
;

-- Mar 23, 2008 8:44:28 PM CST
-- Human Resource & Payroll
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
;

-- Mar 23, 2008 8:44:29 PM CST
-- Human Resource & Payroll
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,54728,246,0,18,110,53085,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:44:28','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:44:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54728 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:29 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:44:29 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=275
;

-- Mar 23, 2008 8:44:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=275
;

-- Mar 23, 2008 8:44:30 PM CST
-- Human Resource & Payroll
INSERT 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,54729,275,0,10,53085,'Description',TO_TIMESTAMP('2008-03-23 20:44:30','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:44:30','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54729 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:30 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:44:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53389,0,'HR_Contract_ID',TO_TIMESTAMP('2008-03-23 20:44:30','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Contract','Payroll Contract',TO_TIMESTAMP('2008-03-23 20:44:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:31 PM CST
-- Human Resource & Payroll
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=53389 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=13
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
INSERT 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,54730,53389,0,13,53085,'HR_Contract_ID',TO_TIMESTAMP('2008-03-23 20:44:32','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Contract',TO_TIMESTAMP('2008-03-23 20:44:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54730 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN HR_Contract_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:44:32 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD CONSTRAINT HR_Contract_Key PRIMARY KEY (HR_Contract_ID)
;

-- Mar 23, 2008 8:44:33 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=348
;

-- Mar 23, 2008 8:44:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348
;

-- Mar 23, 2008 8:44:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=20
;

-- Mar 23, 2008 8:44:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20
;

-- Mar 23, 2008 8:44:34 PM CST
-- Human Resource & Payroll
INSERT 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,54731,348,0,20,53085,'IsActive',TO_TIMESTAMP('2008-03-23 20:44:33','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:44:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54731 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:44:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='NetDays', Description='Net Days in which payment is due', EntityType='D', Help='Indicates the number of days after invoice date that payment is due.', IsActive='Y', Name='Net Days', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Net Days',Updated=TO_TIMESTAMP('2008-03-23 20:44:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=470
;

-- Mar 23, 2008 8:44:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=470
;

-- Mar 23, 2008 8:44:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:44:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=11
;

-- Mar 23, 2008 8:44:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11
;

-- Mar 23, 2008 8:44:36 PM CST
-- Human Resource & Payroll
INSERT 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,54732,470,0,11,53085,'NetDays',TO_TIMESTAMP('2008-03-23 20:44:35','YYYY-MM-DD HH24:MI:SS'),100,'Net Days in which payment is due','EE02',10,'Indicates the number of days after invoice date that payment is due.','Y','N','N','N','N','N','N','N','Y','N','Y','Net Days',TO_TIMESTAMP('2008-03-23 20:44:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54732 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN NetDays NUMERIC(10)
;

-- Mar 23, 2008 8:44:36 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=607
;

-- Mar 23, 2008 8:44:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607
;

-- Mar 23, 2008 8:44:37 PM CST
-- Human Resource & Payroll
INSERT 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,54733,607,0,16,53085,'Updated',TO_TIMESTAMP('2008-03-23 20:44:36','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:44:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54733 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:37 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:44:37 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=608
;

-- Mar 23, 2008 8:44:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608
;

-- Mar 23, 2008 8:44:38 PM CST
-- Human Resource & Payroll
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,54734,608,0,18,110,53085,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:44:37','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:44:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54734 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:44:38 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=617
;

-- Mar 23, 2008 8:44:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=617
;

-- Mar 23, 2008 8:44:39 PM CST
-- Human Resource & Payroll
INSERT 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,54735,617,0,16,53085,'ValidFrom',TO_TIMESTAMP('2008-03-23 20:44:38','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 20:44:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54735 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN ValidFrom TIMESTAMP
;

-- Mar 23, 2008 8:44:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ValidTo', Description='Valid to including this date (last day)', EntityType='D', Help='The Valid To date indicates the last day of a date range', IsActive='Y', Name='Valid to', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Valid to',Updated=TO_TIMESTAMP('2008-03-23 20:44:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=618
;

-- Mar 23, 2008 8:44:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=618
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
INSERT 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,54736,618,0,16,53085,'ValidTo',TO_TIMESTAMP('2008-03-23 20:44:40','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)','EE02',29,'The Valid To date indicates the last day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid to',TO_TIMESTAMP('2008-03-23 20:44:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54736 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN ValidTo TIMESTAMP
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=102
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102
;

-- Mar 23, 2008 8:44:41 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:44:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=129
;

-- Mar 23, 2008 8:44:42 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54737,102,0,19,53085,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:44:42','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:44:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54737 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:44:43 PM CST
-- Human Resource & Payroll
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_<TableName>", 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('2008-03-23 20:44:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=620
;

-- Mar 23, 2008 8:44:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=620
;

-- Mar 23, 2008 8:44:44 PM CST
-- Human Resource & Payroll
INSERT 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,54738,620,0,10,53085,'Value',TO_TIMESTAMP('2008-03-23 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:44:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54738 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:44:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Contract ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 8:44:45 PM CST
-- Human Resource & Payroll
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,53100,53085,53032,NULL,TO_TIMESTAMP('2008-03-23 20:44:44','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Contract','EE02','N','Y','N','N','Y','N','Y','N','N','Contract','N',10,0,TO_TIMESTAMP('2008-03-23 20:44:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:45 PM CST
-- Human Resource & Payroll
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=53100 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:44:46 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54730,54760,0,53100,TO_TIMESTAMP('2008-03-23 20:44:45','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Contract',0,0,TO_TIMESTAMP('2008-03-23 20:44:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54760 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54737,54761,0,53100,TO_TIMESTAMP('2008-03-23 20:44:46','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:44:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54761 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54723,54762,0,53100,TO_TIMESTAMP('2008-03-23 20:44:47','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:44:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54762 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54738,54763,0,53100,TO_TIMESTAMP('2008-03-23 20:44:48','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',30,'EE02','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_<TableName>", 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('2008-03-23 20:44:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54763 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54722,54764,0,53100,TO_TIMESTAMP('2008-03-23 20:44:49','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:44:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54764 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54729,54765,0,53100,TO_TIMESTAMP('2008-03-23 20:44:49','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:44:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54765 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54731,54766,0,53100,TO_TIMESTAMP('2008-03-23 20:44:50','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:44:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54766 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54724,54767,0,53100,TO_TIMESTAMP('2008-03-23 20:44:51','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'EE02','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 ',70,0,TO_TIMESTAMP('2008-03-23 20:44:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54767 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54726,54768,0,53100,TO_TIMESTAMP('2008-03-23 20:44:52','YYYY-MM-DD HH24:MI:SS'),100,'Financial Project',10,'EE02','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','Y','Project',80,0,TO_TIMESTAMP('2008-03-23 20:44:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54768 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54735,54769,0,53100,TO_TIMESTAMP('2008-03-23 20:44:54','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',90,0,TO_TIMESTAMP('2008-03-23 20:44:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54769 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54736,54770,0,53100,TO_TIMESTAMP('2008-03-23 20:44:54','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','Y','Valid to',100,0,TO_TIMESTAMP('2008-03-23 20:44:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54770 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54732,54771,0,53100,TO_TIMESTAMP('2008-03-23 20:44:55','YYYY-MM-DD HH24:MI:SS'),100,'Net Days in which payment is due',10,'EE02','Indicates the number of days after invoice date that payment is due.','Y','Y','Y','N','N','N','N','Net Days',110,0,TO_TIMESTAMP('2008-03-23 20:44:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54771 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Preference (AD_Client_ID,AD_Org_ID,AD_Preference_ID,AD_Window_ID,Attribute,Created,CreatedBy,IsActive,Updated,UpdatedBy,Value) VALUES (0,0,50002,53032,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:44:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:56','YYYY-MM-DD HH24:MI:SS'),100,'0')
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53033,TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Employee','EE02','The Payroll Employee Window is used to define the Employees into the Organizational','Y','N','N','Y','Payroll Employee','N',TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
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=53033 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53033,TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53033,TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53033,TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53033,TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:44:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:44:58 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=245, AccessLevel='3', Description=NULL, EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='R_ContactInterest', ReplicationType='L', TableName='R_ContactInterest',Updated=TO_TIMESTAMP('2008-03-23 20:44:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=528
;

-- Mar 23, 2008 8:44:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=528, 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('2008-03-23 20:44:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7763
;

-- Mar 23, 2008 8:44:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=7763 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=528, AD_Val_Rule_ID=104, Callout=NULL, ColumnName='AD_Org_ID', ColumnSQL=NULL, DefaultValue='0', 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('2008-03-23 20:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7764
;

-- Mar 23, 2008 8:45:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=7764 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=528, 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('2008-03-23 20:45:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7760
;

-- Mar 23, 2008 8:45:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=7760 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=528, 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('2008-03-23 20:45:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7759
;

-- Mar 23, 2008 8:45:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=7759 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=528, 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('2008-03-23 20:45:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7767
;

-- Mar 23, 2008 8:45:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=7767 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=528, 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('2008-03-23 20:45:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7762
;

-- Mar 23, 2008 8:45:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=7762 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=528, 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('2008-03-23 20:45:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7766
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=7766 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='OptOutDate', Description='Date the contact opted out', EntityType='D', Help='If the field has a date, the customer opted out (unsubscribed) and cannot receive mails for the Interest Area', IsActive='Y', Name='Opt-out Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Opt-Out',Updated=TO_TIMESTAMP('2008-03-23 20:45:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1892
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1892
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:45:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=15
;

-- Mar 23, 2008 8:45:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15
;

-- Mar 23, 2008 8:45:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1892, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=528, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='OptOutDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date the contact opted out', EntityType='D', FieldLength=7, Help='If the field has a date, the customer opted out (unsubscribed) and cannot receive mails for the Interest Area', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Opt-out Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:45:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7765
;

-- Mar 23, 2008 8:45:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Opt-out Date', Description='Date the contact opted out', Help='If the field has a date, the customer opted out (unsubscribed) and cannot receive mails for the Interest Area' WHERE AD_Column_ID=7765 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SubscribeDate', Description='Date the contact actively subscribed', EntityType='D', Help='Date the contact subscribe the interest area', IsActive='Y', Name='Subscribe Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Subscribe Date',Updated=TO_TIMESTAMP('2008-03-23 20:45:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1895
;

-- Mar 23, 2008 8:45:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1895
;

-- Mar 23, 2008 8:45:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1895, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=528, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SubscribeDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date the contact actively subscribed', EntityType='D', FieldLength=7, Help='Date the contact subscribe the interest area', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Subscribe Date', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:45:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7769
;

-- Mar 23, 2008 8:45:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Subscribe Date', Description='Date the contact actively subscribed', Help='Date the contact subscribe the interest area' WHERE AD_Column_ID=7769 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:09 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:45:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=138
;

-- Mar 23, 2008 8:45:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=138
;

-- Mar 23, 2008 8:45:10 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:45:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=123
;

-- Mar 23, 2008 8:45:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=528, AD_Val_Rule_ID=123, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue='@AD_User_ID@', 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='Y', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='User/Contact', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:45:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7761
;

-- Mar 23, 2008 8:45:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=7761 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='R_InterestArea_ID', Description='Interest Area or Topic', EntityType='D', Help='Interest Areas reflect interest in a topic by a contact. Interest areas can be used for marketing campaigns.', IsActive='Y', Name='Interest Area', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Interest Area',Updated=TO_TIMESTAMP('2008-03-23 20:45:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1893
;

-- Mar 23, 2008 8:45:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1893
;

-- Mar 23, 2008 8:45:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1893, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=528, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='R_InterestArea_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Interest Area or Topic', EntityType='D', FieldLength=22, Help='Interest Areas reflect interest in a topic by a contact. Interest areas can be used for marketing campaigns.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Interest Area', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7768
;

-- Mar 23, 2008 8:45:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Interest Area', Description='Interest Area or Topic', Help='Interest Areas reflect interest in a topic by a contact. Interest areas can be used for marketing campaigns.' WHERE AD_Column_ID=7768 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:45:13 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,7761,0,53101,528,53033,NULL,TO_TIMESTAMP('2008-03-23 20:45:12','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Contact Interest Area','EE02','N','Interest Area can be used for Marketing Campaigns','Y','N','N','Y','N','N','N','N','Interest Area','N',110,2,TO_TIMESTAMP('2008-03-23 20:45:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:13 PM CST
-- Human Resource & Payroll
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=53101 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:45:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7759,54772,0,53101,TO_TIMESTAMP('2008-03-23 20:45:13','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:45:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54772 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7764,54773,0,53101,TO_TIMESTAMP('2008-03-23 20:45:14','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:45:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54773 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7761,54774,0,53101,TO_TIMESTAMP('2008-03-23 20:45:14','YYYY-MM-DD HH24:MI:SS'),100,'User within the system - Internal or Business Partner Contact',14,'EE02','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','Y','N','User/Contact',30,0,TO_TIMESTAMP('2008-03-23 20:45:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54774 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7768,54775,0,53101,TO_TIMESTAMP('2008-03-23 20:45:16','YYYY-MM-DD HH24:MI:SS'),100,'Interest Area or Topic',14,'EE02','Interest Areas reflect interest in a topic by a contact. Interest areas can be used for marketing campaigns.','Y','Y','Y','N','N','N','N','Interest Area',40,1,TO_TIMESTAMP('2008-03-23 20:45:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54775 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7766,54776,0,53101,TO_TIMESTAMP('2008-03-23 20:45:16','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:45:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54776 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7769,54777,0,53101,TO_TIMESTAMP('2008-03-23 20:45:17','YYYY-MM-DD HH24:MI:SS'),100,'Date the contact actively subscribed',14,'EE02','Date the contact subscribe the interest area','Y','Y','Y','N','N','Y','N','Subscribe Date',60,0,TO_TIMESTAMP('2008-03-23 20:45:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54777 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7765,54778,0,53101,TO_TIMESTAMP('2008-03-23 20:45:18','YYYY-MM-DD HH24:MI:SS'),100,'Date the contact opted out',14,'EE02','If the field has a date, the customer opted out (unsubscribed) and cannot receive mails for the Interest Area','Y','Y','Y','N','N','Y','Y','Opt-out Date',70,0,TO_TIMESTAMP('2008-03-23 20:45:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54778 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:20 PM CST
-- Human Resource & Payroll
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,53086,53033,'3',TO_TIMESTAMP('2008-03-23 20:45:19','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Employee','L','HR_Employee',TO_TIMESTAMP('2008-03-23 20:45:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:20 PM CST
-- Human Resource & Payroll
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=53086 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:45:21 PM CST
-- Human Resource & Payroll
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,53105,TO_TIMESTAMP('2008-03-23 20:45:20','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Employee',1,'Y','N','Y','Y','HR_Employee','N',1000000,TO_TIMESTAMP('2008-03-23 20:45:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Code', Description='Validation Code', EntityType='D', Help='The Validation Code displays the date, time and message of the error.', IsActive='Y', Name='Validation code', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Validation code',Updated=TO_TIMESTAMP('2008-03-23 20:45:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=227
;

-- Mar 23, 2008 8:45:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=227
;

-- Mar 23, 2008 8:45:22 PM CST
-- Human Resource & Payroll
INSERT 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,54739,227,0,10,53086,'Code',TO_TIMESTAMP('2008-03-23 20:45:21','YYYY-MM-DD HH24:MI:SS'),100,'Validation Code','EE02',1,'The Validation Code displays the date, time and message of the error.','Y','N','N','N','N','N','N','N','Y','N','Y','Validation code',TO_TIMESTAMP('2008-03-23 20:45:21','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54739 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:22 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Employee (Code VARCHAR(1))
;

-- Mar 23, 2008 8:45:23 PM CST
-- Human Resource & Payroll
INSERT 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,54740,469,0,10,53086,'Name',TO_TIMESTAMP('2008-03-23 20:45:22','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',30,'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','N','Y','N','Y','Name',1,TO_TIMESTAMP('2008-03-23 20:45:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54740 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN Name VARCHAR(30)
;

-- Mar 23, 2008 8:45:24 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:45:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1005
;

-- Mar 23, 2008 8:45:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1005
;

-- Mar 23, 2008 8:45:24 PM CST
-- Human Resource & Payroll
INSERT 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,54741,1005,0,19,53086,'C_Activity_ID',TO_TIMESTAMP('2008-03-23 20:45:24','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity','EE02',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','Y','N','Y','Activity',TO_TIMESTAMP('2008-03-23 20:45:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54741 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN C_Activity_ID NUMERIC(10)
;

-- Mar 23, 2008 8:45:25 PM CST
-- Human Resource & Payroll
INSERT 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,54742,187,0,19,53086,'C_BPartner_ID',TO_TIMESTAMP('2008-03-23 20:45:25','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','EE02',10,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_TIMESTAMP('2008-03-23 20:45:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54742 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN C_BPartner_ID NUMERIC(10)
;

-- Mar 23, 2008 8:45:26 PM CST
-- Human Resource & Payroll
INSERT 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,54743,245,0,16,53086,'Created',TO_TIMESTAMP('2008-03-23 20:45:25','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:45:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54743 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:45:28 PM CST
-- Human Resource & Payroll
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,54744,246,0,18,110,53086,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:45:26','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:45:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54744 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:28 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='EndDate', Description='Last effective date (inclusive)', EntityType='D', Help='The End Date indicates the last date in this range.', IsActive='Y', Name='End Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='End Date',Updated=TO_TIMESTAMP('2008-03-23 20:45:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=294
;

-- Mar 23, 2008 8:45:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=294
;

-- Mar 23, 2008 8:45:30 PM CST
-- Human Resource & Payroll
INSERT 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,54745,294,0,15,53086,'EndDate',TO_TIMESTAMP('2008-03-23 20:45:29','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)','EE02',29,'The End Date indicates the last date in this range.','Y','N','N','N','N','N','N','N','Y','N','Y','End Date',TO_TIMESTAMP('2008-03-23 20:45:29','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54745 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:30 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN EndDate TIMESTAMP
;

-- Mar 23, 2008 8:45:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53390,0,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:45:30','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Department','Department',TO_TIMESTAMP('2008-03-23 20:45:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:31 PM CST
-- Human Resource & Payroll
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=53390 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:33 PM CST
-- Human Resource & Payroll
INSERT 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,54746,53390,0,19,53086,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:45:31','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 20:45:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54746 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:33 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN HR_Department_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53391,0,'HR_Employee_ID',TO_TIMESTAMP('2008-03-23 20:45:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Employee','Employee',TO_TIMESTAMP('2008-03-23 20:45:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:33 PM CST
-- Human Resource & Payroll
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=53391 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:34 PM CST
-- Human Resource & Payroll
INSERT 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,54747,53391,0,13,53086,'HR_Employee_ID',TO_TIMESTAMP('2008-03-23 20:45:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Employee',TO_TIMESTAMP('2008-03-23 20:45:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54747 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN HR_Employee_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD CONSTRAINT HR_Employee_Key PRIMARY KEY (HR_Employee_ID)
;

-- Mar 23, 2008 8:45:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53392,0,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:45:34','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Job','Job',TO_TIMESTAMP('2008-03-23 20:45:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:35 PM CST
-- Human Resource & Payroll
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=53392 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:35 PM CST
-- Human Resource & Payroll
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,52011,'HR_Job.HR_Department_ID = @HR_Department_ID@',TO_TIMESTAMP('2008-03-23 20:45:35','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HRPayroll Job for Department','S',TO_TIMESTAMP('2008-03-23 20:45:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:36 PM CST
-- Human Resource & Payroll
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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,54748,53392,0,19,53086,52011,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:45:35','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Job',TO_TIMESTAMP('2008-03-23 20:45:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54748 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN HR_Job_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53393,0,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:45:36','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll','Payroll',TO_TIMESTAMP('2008-03-23 20:45:36','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:37 PM CST
-- Human Resource & Payroll
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=53393 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
INSERT 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,54749,53393,0,19,53086,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:45:37','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 20:45:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54749 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN HR_Payroll_ID NUMERIC(10)
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ImageURL', Description='URL of  image', EntityType='D', Help='URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.', IsActive='Y', Name='Image URL', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Image URL',Updated=TO_TIMESTAMP('2008-03-23 20:45:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1720
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1720
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Binary Data', EntityType='D', Help=NULL, IsActive='Y', Name='Binary', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:45:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=23
;

-- Mar 23, 2008 8:45:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=23
;

-- Mar 23, 2008 8:45:40 PM CST
-- Human Resource & Payroll
INSERT 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,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,54750,1720,0,23,53086,'ImageURL',TO_TIMESTAMP('2008-03-23 20:45:38','YYYY-MM-DD HH24:MI:SS'),100,'URL of  image','EE02','URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.','Y','N','N','N','N','N','N','N','Y','N','Y','Image URL',TO_TIMESTAMP('2008-03-23 20:45:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54750 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:40 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN ImageURL BYTEA
;

-- Mar 23, 2008 8:45:41 PM CST
-- Human Resource & Payroll
INSERT 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,54751,348,0,20,53086,'IsActive',TO_TIMESTAMP('2008-03-23 20:45:40','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:45:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54751 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:41 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:45:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Name2', Description='Additional Name', EntityType='D', Help=NULL, IsActive='Y', Name='Name 2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Name 2',Updated=TO_TIMESTAMP('2008-03-23 20:45:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1111
;

-- Mar 23, 2008 8:45:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1111
;

-- Mar 23, 2008 8:45:42 PM CST
-- Human Resource & Payroll
INSERT 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,54752,1111,0,10,53086,'Name2',TO_TIMESTAMP('2008-03-23 20:45:41','YYYY-MM-DD HH24:MI:SS'),100,'Additional Name','EE02',30,'Y','N','N','N','N','N','N','N','Y','N','Y','Name 2',TO_TIMESTAMP('2008-03-23 20:45:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54752 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN Name2 VARCHAR(30)
;

-- Mar 23, 2008 8:45:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53394,0,'NationalCode',TO_TIMESTAMP('2008-03-23 20:45:42','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','National Code','National Code',TO_TIMESTAMP('2008-03-23 20:45:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:43 PM CST
-- Human Resource & Payroll
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=53394 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:43 PM CST
-- Human Resource & Payroll
INSERT 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,54753,53394,0,10,53086,'NationalCode',TO_TIMESTAMP('2008-03-23 20:45:43','YYYY-MM-DD HH24:MI:SS'),100,'EE02',60,'Y','N','N','N','N','N','N','N','Y','N','Y','National Code',TO_TIMESTAMP('2008-03-23 20:45:43','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54753 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:43 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN NationalCode VARCHAR(60)
;

-- Mar 23, 2008 8:45:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53395,0,'SSCode',TO_TIMESTAMP('2008-03-23 20:45:43','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Social Security Code','Social Security Code',TO_TIMESTAMP('2008-03-23 20:45:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:44 PM CST
-- Human Resource & Payroll
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=53395 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:45:45 PM CST
-- Human Resource & Payroll
INSERT 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,54754,53395,0,10,53086,'SSCode',TO_TIMESTAMP('2008-03-23 20:45:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02',60,'Y','N','N','N','N','N','N','N','Y','N','Y','Social Security Code',TO_TIMESTAMP('2008-03-23 20:45:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54754 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN SSCode VARCHAR(60)
;

-- Mar 23, 2008 8:45:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='StartDate', Description='First effective day (inclusive)', EntityType='D', Help='The Start Date indicates the first or starting date', IsActive='Y', Name='Start Date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Start Date',Updated=TO_TIMESTAMP('2008-03-23 20:45:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=574
;

-- Mar 23, 2008 8:45:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=574
;

-- Mar 23, 2008 8:45:46 PM CST
-- Human Resource & Payroll
INSERT 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,54755,574,0,15,53086,'StartDate',TO_TIMESTAMP('2008-03-23 20:45:45','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)','EE02',29,'The Start Date indicates the first or starting date','Y','N','N','N','N','Y','N','N','Y','N','Y','Start Date',TO_TIMESTAMP('2008-03-23 20:45:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54755 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN StartDate TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:45:47 PM CST
-- Human Resource & Payroll
INSERT 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,54756,607,0,16,53086,'Updated',TO_TIMESTAMP('2008-03-23 20:45:46','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:45:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54756 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:45:49 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54757,102,0,19,53086,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:45:47','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:45:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54757 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:49 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:50 PM CST
-- Human Resource & Payroll
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,54758,608,0,18,110,53086,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:45:49','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:45:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54758 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:51 PM CST
-- Human Resource & Payroll
INSERT 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,54759,113,0,19,53086,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:45:50','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:45:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:45:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54759 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:45:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Employee ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:45:52 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,54742,0,53102,53086,53033,NULL,TO_TIMESTAMP('2008-03-23 20:45:51','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Employee','EE02','N','The Business Partner Tab defines any Entity with whom an organization transacts.','Y','N','N','Y','N','Y','N','N','Employee','N',72,1,TO_TIMESTAMP('2008-03-23 20:45:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:52 PM CST
-- Human Resource & Payroll
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=53102 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:45:53 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54747,54779,0,53102,TO_TIMESTAMP('2008-03-23 20:45:52','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Employee',0,0,TO_TIMESTAMP('2008-03-23 20:45:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54779 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54757,54780,0,53102,TO_TIMESTAMP('2008-03-23 20:45:53','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:45:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54780 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54759,54781,0,53102,TO_TIMESTAMP('2008-03-23 20:45:54','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:45:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54781 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54742,54782,0,53102,TO_TIMESTAMP('2008-03-23 20:45:55','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'EE02','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 ',30,0,TO_TIMESTAMP('2008-03-23 20:45:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54782 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54751,54783,0,53102,TO_TIMESTAMP('2008-03-23 20:45:56','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',40,0,TO_TIMESTAMP('2008-03-23 20:45:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54783 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:45:59 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54753,54784,0,53102,TO_TIMESTAMP('2008-03-23 20:45:57','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','N','National Code',50,0,TO_TIMESTAMP('2008-03-23 20:45:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:45:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54784 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:01 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54754,54785,0,53102,TO_TIMESTAMP('2008-03-23 20:45:59','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','Social Security Code',60,0,TO_TIMESTAMP('2008-03-23 20:45:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54785 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54755,54786,0,53102,TO_TIMESTAMP('2008-03-23 20:46:01','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)',29,'EE02','The Start Date indicates the first or starting date','Y','Y','Y','N','N','N','N','Start Date',70,0,TO_TIMESTAMP('2008-03-23 20:46:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54786 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54745,54787,0,53102,TO_TIMESTAMP('2008-03-23 20:46:02','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)',29,'EE02','The End Date indicates the last date in this range.','Y','Y','Y','N','N','N','Y','End Date',80,0,TO_TIMESTAMP('2008-03-23 20:46:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54787 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:04 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54746,54788,0,53102,TO_TIMESTAMP('2008-03-23 20:46:03','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Department',90,0,TO_TIMESTAMP('2008-03-23 20:46:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54788 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:05 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54748,54789,0,53102,TO_TIMESTAMP('2008-03-23 20:46:04','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','Job',100,0,TO_TIMESTAMP('2008-03-23 20:46:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54789 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:06 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54749,54790,0,53102,TO_TIMESTAMP('2008-03-23 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll',110,0,TO_TIMESTAMP('2008-03-23 20:46:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54790 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54741,54791,0,53102,TO_TIMESTAMP('2008-03-23 20:46:06','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity',10,'EE02','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','Y','Activity',120,0,TO_TIMESTAMP('2008-03-23 20:46:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54791 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54739,54792,0,53102,TO_TIMESTAMP('2008-03-23 20:46:07','YYYY-MM-DD HH24:MI:SS'),100,'Validation Code',1,'EE02','The Validation Code displays the date, time and message of the error.','Y','Y','Y','N','N','N','N','Validation code',130,0,TO_TIMESTAMP('2008-03-23 20:46:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54792 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54750,54793,0,53102,TO_TIMESTAMP('2008-03-23 20:46:08','YYYY-MM-DD HH24:MI:SS'),100,'URL of  image',0,'EE02','URL of image; The image is not stored in the database, but retrieved at runtime. The image can be a gif, jpeg or png.','Y','Y','Y','N','N','N','N','Image URL',140,0,TO_TIMESTAMP('2008-03-23 20:46:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54793 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53087,'3',TO_TIMESTAMP('2008-03-23 20:46:09','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Employee Attribute','L','HR_Attribute',TO_TIMESTAMP('2008-03-23 20:46:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:10 PM CST
-- Human Resource & Payroll
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=53087 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:46:10 PM CST
-- Human Resource & Payroll
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,53106,TO_TIMESTAMP('2008-03-23 20:46:10','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Attribute',1,'Y','N','Y','Y','HR_Attribute','N',1000000,TO_TIMESTAMP('2008-03-23 20:46:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:11 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54760,102,0,19,53087,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:46:10','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:46:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54760 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:11 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Attribute (AD_Client_ID NUMERIC(10) NOT NULL)
;

-- Mar 23, 2008 8:46:12 PM CST
-- Human Resource & Payroll
INSERT 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,54761,113,0,19,53087,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:46:11','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:46:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54761 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:46:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_Rule_ID', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Rule',Updated=TO_TIMESTAMP('2008-03-23 20:46:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53332
;

-- Mar 23, 2008 8:46:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53332
;

-- Mar 23, 2008 8:46:13 PM CST
-- Human Resource & Payroll
INSERT 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,54762,53332,0,19,53087,'AD_Rule_ID',TO_TIMESTAMP('2008-03-23 20:46:13','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Rule',TO_TIMESTAMP('2008-03-23 20:46:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54762 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:13 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN AD_Rule_ID NUMERIC(10)
;

-- Mar 23, 2008 8:46:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Amount', Description='Amount in a defined currency', EntityType='D', Help='The Amount indicates the amount for this document line.', IsActive='Y', Name='Amount', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Amt',Updated=TO_TIMESTAMP('2008-03-23 20:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1367
;

-- Mar 23, 2008 8:46:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1367
;

-- Mar 23, 2008 8:46:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Float Number', EntityType='D', Help=NULL, IsActive='Y', Name='Number', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=22
;

-- Mar 23, 2008 8:46:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=22
;

-- Mar 23, 2008 8:46:15 PM CST
-- Human Resource & Payroll
INSERT 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,54763,1367,0,22,53087,'Amount',TO_TIMESTAMP('2008-03-23 20:46:14','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency','EE02',20,'The Amount indicates the amount for this document line.','Y','N','N','N','N','N','N','N','Y','N','Y','Amount',TO_TIMESTAMP('2008-03-23 20:46:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54763 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN Amount NUMERIC
;

-- Mar 23, 2008 8:46:17 PM CST
-- Human Resource & Payroll
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,52012,'C_BPartner.IsEmployee = ''Y''',TO_TIMESTAMP('2008-03-23 20:46:15','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HRPayroll Only Employee','S',TO_TIMESTAMP('2008-03-23 20:46:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:18 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54764,187,0,19,53087,52012,'C_BPartner_ID',TO_TIMESTAMP('2008-03-23 20:46:17','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','EE02',10,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_TIMESTAMP('2008-03-23 20:46:17','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54764 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:18 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN C_BPartner_ID NUMERIC(10)
;

-- Mar 23, 2008 8:46:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ColumnType', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Column Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Column Type',Updated=TO_TIMESTAMP('2008-03-23 20:46:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1606
;

-- Mar 23, 2008 8:46:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1606
;

-- Mar 23, 2008 8:46:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:46:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=17
;

-- Mar 23, 2008 8:46:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17
;

-- Mar 23, 2008 8:46:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53243,TO_TIMESTAMP('2008-03-23 20:46:19','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR ColumnType',TO_TIMESTAMP('2008-03-23 20:46:19','YYYY-MM-DD HH24:MI:SS'),100,'L')
;

-- Mar 23, 2008 8:46:20 PM CST
-- Human Resource & Payroll
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=53243 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

-- Mar 23, 2008 8:46:20 PM CST
-- Human Resource & Payroll
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,53343,53243,TO_TIMESTAMP('2008-03-23 20:46:20','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Amount',TO_TIMESTAMP('2008-03-23 20:46:20','YYYY-MM-DD HH24:MI:SS'),100,'A')
;

-- Mar 23, 2008 8:46:20 PM CST
-- Human Resource & Payroll
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=53343 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:46:21 PM CST
-- Human Resource & Payroll
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,53344,53243,TO_TIMESTAMP('2008-03-23 20:46:20','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Date',TO_TIMESTAMP('2008-03-23 20:46:20','YYYY-MM-DD HH24:MI:SS'),100,'D')
;

-- Mar 23, 2008 8:46:21 PM CST
-- Human Resource & Payroll
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=53344 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:46:22 PM CST
-- Human Resource & Payroll
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,53345,53243,TO_TIMESTAMP('2008-03-23 20:46:21','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Quantity',TO_TIMESTAMP('2008-03-23 20:46:21','YYYY-MM-DD HH24:MI:SS'),100,'Q')
;

-- Mar 23, 2008 8:46:22 PM CST
-- Human Resource & Payroll
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=53345 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:46:22 PM CST
-- Human Resource & Payroll
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,53346,53243,TO_TIMESTAMP('2008-03-23 20:46:22','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Text',TO_TIMESTAMP('2008-03-23 20:46:22','YYYY-MM-DD HH24:MI:SS'),100,'T')
;

-- Mar 23, 2008 8:46:22 PM CST
-- Human Resource & Payroll
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=53346 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:46:23 PM CST
-- Human Resource & Payroll
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,54765,1606,0,17,53243,53087,'ColumnType',TO_TIMESTAMP('2008-03-23 20:46:22','YYYY-MM-DD HH24:MI:SS'),100,'@ColumnType@','EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Column Type',TO_TIMESTAMP('2008-03-23 20:46:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54765 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN ColumnType CHAR(1) DEFAULT NULL 
;

-- Mar 23, 2008 8:46:24 PM CST
-- Human Resource & Payroll
INSERT 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,54766,245,0,16,53087,'Created',TO_TIMESTAMP('2008-03-23 20:46:23','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:46:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54766 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:46:26 PM CST
-- Human Resource & Payroll
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,54767,246,0,18,110,53087,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:46:25','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:46:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54767 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:46:27 PM CST
-- Human Resource & Payroll
INSERT 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,54768,275,0,10,53087,'Description',TO_TIMESTAMP('2008-03-23 20:46:26','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:46:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54768 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:27 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:46:28 PM CST
-- Human Resource & Payroll
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,53396,0,'HR_Attribute_Acct',TO_TIMESTAMP('2008-03-23 20:46:27','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Attribute','EE02','Y','Account Payroll Employee Attribute','Account Payroll Employee Attribute',TO_TIMESTAMP('2008-03-23 20:46:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:28 PM CST
-- Human Resource & Payroll
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=53396 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:46:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Account Element', EntityType='D', Help=NULL, IsActive='Y', Name='Account', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:46:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=25
;

-- Mar 23, 2008 8:46:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=25
;

-- Mar 23, 2008 8:46:29 PM CST
-- Human Resource & Payroll
INSERT 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,54769,53396,0,25,53087,'HR_Attribute_Acct',TO_TIMESTAMP('2008-03-23 20:46:28','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Attribute','EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Account Payroll Employee Attribute',TO_TIMESTAMP('2008-03-23 20:46:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54769 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:29 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Attribute_Acct NUMERIC(10)
;

-- Mar 23, 2008 8:46:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53397,0,'HR_Attribute_ID',TO_TIMESTAMP('2008-03-23 20:46:29','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Employee Attribute','Payroll Employee Attribute',TO_TIMESTAMP('2008-03-23 20:46:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:30 PM CST
-- Human Resource & Payroll
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=53397 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:46:31 PM CST
-- Human Resource & Payroll
INSERT 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,54770,53397,0,13,53087,'HR_Attribute_ID',TO_TIMESTAMP('2008-03-23 20:46:30','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Employee Attribute',TO_TIMESTAMP('2008-03-23 20:46:30','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54770 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Attribute_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:46:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD CONSTRAINT HR_Attribute_Key PRIMARY KEY (HR_Attribute_ID)
;

-- Mar 23, 2008 8:46:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53398,0,'HR_Concept_ID',TO_TIMESTAMP('2008-03-23 20:46:31','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Concept','Concept',TO_TIMESTAMP('2008-03-23 20:46:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:32 PM CST
-- Human Resource & Payroll
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=53398 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:46:32 PM CST
-- Human Resource & Payroll
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,52013,'HR_Concept.IsEmployee = ''Y''',TO_TIMESTAMP('2008-03-23 20:46:32','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HRPayroll Employee Concept','S',TO_TIMESTAMP('2008-03-23 20:46:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:34 PM CST
-- Human Resource & Payroll
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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,54771,53398,0,19,53087,52013,'org.eevolution.model.CalloutPayroll.ColumnType','HR_Concept_ID',TO_TIMESTAMP('2008-03-23 20:46:32','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Concept',TO_TIMESTAMP('2008-03-23 20:46:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54771 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Concept_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:46:35 PM CST
-- Human Resource & Payroll
INSERT 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,54772,53390,0,19,53087,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:46:34','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 20:46:34','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54772 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Department_ID NUMERIC(10)
;

-- Mar 23, 2008 8:46:36 PM CST
-- Human Resource & Payroll
INSERT 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,54773,53391,0,19,53087,'HR_Employee_ID',TO_TIMESTAMP('2008-03-23 20:46:35','YYYY-MM-DD HH24:MI:SS'),100,'@HR_Employee_ID@','EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Employee',TO_TIMESTAMP('2008-03-23 20:46:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54773 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Employee_ID NUMERIC(10) DEFAULT NULL 
;

-- Mar 23, 2008 8:46:38 PM CST
-- Human Resource & Payroll
INSERT 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,54774,53392,0,19,53087,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:46:36','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Job',TO_TIMESTAMP('2008-03-23 20:46:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54774 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Job_ID NUMERIC(10)
;

-- Mar 23, 2008 8:46:39 PM CST
-- Human Resource & Payroll
INSERT 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,54775,53393,0,19,53087,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:46:38','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 20:46:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54775 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN HR_Payroll_ID NUMERIC(10)
;

-- Mar 23, 2008 8:46:40 PM CST
-- Human Resource & Payroll
INSERT 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,54776,348,0,20,53087,'IsActive',TO_TIMESTAMP('2008-03-23 20:46:39','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:46:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54776 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:40 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:46:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsPrinted', Description='Indicates if this document / line is printed', EntityType='D', Help='The Printed checkbox indicates if this document or line will included when printing.', IsActive='Y', Name='Printed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Printed',Updated=TO_TIMESTAMP('2008-03-23 20:46:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=399
;

-- Mar 23, 2008 8:46:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=399
;

-- Mar 23, 2008 8:46:42 PM CST
-- Human Resource & Payroll
INSERT 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,54777,399,0,20,53087,'IsPrinted',TO_TIMESTAMP('2008-03-23 20:46:41','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed','EE02',1,'The Printed checkbox indicates if this document or line will included when printing.','Y','N','N','N','N','N','N','N','Y','N','Y','Printed',TO_TIMESTAMP('2008-03-23 20:46:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54777 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN IsPrinted CHAR(1) CHECK (IsPrinted IN ('Y','N'))
;

-- Mar 23, 2008 8:46:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53399,0,'MaxValue',TO_TIMESTAMP('2008-03-23 20:46:42','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','MaxValue','MaxValue',TO_TIMESTAMP('2008-03-23 20:46:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:42 PM CST
-- Human Resource & Payroll
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=53399 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:46:43 PM CST
-- Human Resource & Payroll
INSERT 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,54778,53399,0,11,53087,'MaxValue',TO_TIMESTAMP('2008-03-23 20:46:42','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','MaxValue',TO_TIMESTAMP('2008-03-23 20:46:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54778 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN MaxValue NUMERIC(10)
;

-- Mar 23, 2008 8:46:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53400,0,'MinValue',TO_TIMESTAMP('2008-03-23 20:46:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','MinValue','MinValue',TO_TIMESTAMP('2008-03-23 20:46:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:44 PM CST
-- Human Resource & Payroll
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=53400 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:46:45 PM CST
-- Human Resource & Payroll
INSERT 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,54779,53400,0,11,53087,'MinValue',TO_TIMESTAMP('2008-03-23 20:46:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','MinValue',TO_TIMESTAMP('2008-03-23 20:46:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54779 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN MinValue NUMERIC(10)
;

-- Mar 23, 2008 8:46:46 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=526
;

-- Mar 23, 2008 8:46:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526
;

-- Mar 23, 2008 8:46:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:46:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=29
;

-- Mar 23, 2008 8:46:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29
;

-- Mar 23, 2008 8:46:47 PM CST
-- Human Resource & Payroll
INSERT 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,54780,526,0,29,53087,'Qty',TO_TIMESTAMP('2008-03-23 20:46:46','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','EE02',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('2008-03-23 20:46:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54780 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN Qty NUMERIC
;

-- Mar 23, 2008 8:46:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ServiceDate', Description='Date service was provided', EntityType='D', Help='The Service Date indicates the date that the service was provided.', IsActive='Y', Name='Service date', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Service date',Updated=TO_TIMESTAMP('2008-03-23 20:46:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1129
;

-- Mar 23, 2008 8:46:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1129
;

-- Mar 23, 2008 8:46:48 PM CST
-- Human Resource & Payroll
INSERT 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,54781,1129,0,15,53087,'ServiceDate',TO_TIMESTAMP('2008-03-23 20:46:47','YYYY-MM-DD HH24:MI:SS'),100,'Date service was provided','EE02',7,'The Service Date indicates the date that the service was provided.','Y','N','N','N','N','N','N','N','Y','N','Y','Service date',TO_TIMESTAMP('2008-03-23 20:46:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54781 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN ServiceDate TIMESTAMP
;

-- Mar 23, 2008 8:46:48 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:46:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2438
;

-- Mar 23, 2008 8:46:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2438
;

-- Mar 23, 2008 8:46:49 PM CST
-- Human Resource & Payroll
INSERT 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,54782,2438,0,10,53087,'TextMsg',TO_TIMESTAMP('2008-03-23 20:46:48','YYYY-MM-DD HH24:MI:SS'),100,'Text Message','EE02',255,'Y','N','N','N','N','N','N','N','Y','N','Y','Text Message',TO_TIMESTAMP('2008-03-23 20:46:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54782 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:49 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN TextMsg VARCHAR(255)
;

-- Mar 23, 2008 8:46:50 PM CST
-- Human Resource & Payroll
INSERT 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,54783,607,0,16,53087,'Updated',TO_TIMESTAMP('2008-03-23 20:46:49','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:46:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54783 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:46:51 PM CST
-- Human Resource & Payroll
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,54784,608,0,18,110,53087,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:46:50','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:46:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54784 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:46:53 PM CST
-- Human Resource & Payroll
INSERT 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,54785,617,0,15,53087,'ValidFrom',TO_TIMESTAMP('2008-03-23 20:46:52','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','Y','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 20:46:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54785 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN ValidFrom TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:46:54 PM CST
-- Human Resource & Payroll
INSERT 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,54786,618,0,15,53087,'ValidTo',TO_TIMESTAMP('2008-03-23 20:46:53','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)','EE02',29,'The Valid To date indicates the last day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid to',TO_TIMESTAMP('2008-03-23 20:46:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:46:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54786 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:46:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Attribute ADD COLUMN ValidTo TIMESTAMP
;

-- Mar 23, 2008 8:46:54 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,54764,0,53103,53087,53033,NULL,TO_TIMESTAMP('2008-03-23 20:46:54','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner','EE02','N','The Business Partner Tab defines any Entity with whom an organization transacts.','Y','N','N','Y','N','Y','N','N','Attribute','N',76,1,TO_TIMESTAMP('2008-03-23 20:46:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:54 PM CST
-- Human Resource & Payroll
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=53103 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:46:55 PM CST
-- Human Resource & Payroll
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,54769,54794,0,53103,TO_TIMESTAMP('2008-03-23 20:46:55','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Attribute',10,'EE02','Y','Y','N','N','N','N','N','Account Payroll Employee Attribute',0,0,TO_TIMESTAMP('2008-03-23 20:46:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54794 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:56 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54774,54795,0,53103,TO_TIMESTAMP('2008-03-23 20:46:55','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Job',0,0,TO_TIMESTAMP('2008-03-23 20:46:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54795 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:57 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54773,54796,0,53103,TO_TIMESTAMP('2008-03-23 20:46:56','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','Y','Y','Employee',0,0,TO_TIMESTAMP('2008-03-23 20:46:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54796 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:58 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54775,54797,0,53103,TO_TIMESTAMP('2008-03-23 20:46:57','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll',0,0,TO_TIMESTAMP('2008-03-23 20:46:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54797 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:58 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54772,54798,0,53103,TO_TIMESTAMP('2008-03-23 20:46:58','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Department',0,0,TO_TIMESTAMP('2008-03-23 20:46:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54798 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:46:59 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54770,54799,0,53103,TO_TIMESTAMP('2008-03-23 20:46:58','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Employee Attribute',0,0,TO_TIMESTAMP('2008-03-23 20:46:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:46:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54799 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54760,54800,0,53103,TO_TIMESTAMP('2008-03-23 20:46:59','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:46:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54800 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54761,54801,0,53103,TO_TIMESTAMP('2008-03-23 20:47:01','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:47:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54801 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54764,54802,0,53103,TO_TIMESTAMP('2008-03-23 20:47:02','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','Y','N','Business Partner ',30,0,TO_TIMESTAMP('2008-03-23 20:47:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54802 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:05 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54771,54803,0,53103,TO_TIMESTAMP('2008-03-23 20:47:04','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Concept',40,0,TO_TIMESTAMP('2008-03-23 20:47:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54803 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:06 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54765,54804,0,53103,TO_TIMESTAMP('2008-03-23 20:47:05','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','Y','Y','Column Type',50,0,TO_TIMESTAMP('2008-03-23 20:47:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54804 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54768,54805,0,53103,TO_TIMESTAMP('2008-03-23 20:47:06','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',60,0,TO_TIMESTAMP('2008-03-23 20:47:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54805 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54776,54806,0,53103,TO_TIMESTAMP('2008-03-23 20:47:07','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',70,0,TO_TIMESTAMP('2008-03-23 20:47:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54806 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:09 PM CST
-- Human Resource & Payroll
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,54762,54807,0,53103,TO_TIMESTAMP('2008-03-23 20:47:08','YYYY-MM-DD HH24:MI:SS'),100,10,'@ColumnType@ = ''R''','EE02','Y','Y','Y','N','N','N','N','Rule',80,0,TO_TIMESTAMP('2008-03-23 20:47:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54807 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:10 PM CST
-- Human Resource & Payroll
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,54763,54808,0,53103,TO_TIMESTAMP('2008-03-23 20:47:09','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency',20,'@ColumnType@ = ''A''','EE02','The Amount indicates the amount for this document line.','Y','Y','Y','N','N','N','N','Amount',90,0,TO_TIMESTAMP('2008-03-23 20:47:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54808 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:11 PM CST
-- Human Resource & Payroll
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,54780,54809,0,53103,TO_TIMESTAMP('2008-03-23 20:47:10','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',10,'@ColumnType@ = ''Q''','EE02','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','Quantity',100,0,TO_TIMESTAMP('2008-03-23 20:47:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54809 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:12 PM CST
-- Human Resource & Payroll
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,54781,54810,0,53103,TO_TIMESTAMP('2008-03-23 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Date service was provided',29,'@ColumnType@ = ''D''','EE02','The Service Date indicates the date that the service was provided.','Y','Y','Y','N','N','N','N','Service date',110,0,TO_TIMESTAMP('2008-03-23 20:47:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54810 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:13 PM CST
-- Human Resource & Payroll
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,54782,54811,0,53103,TO_TIMESTAMP('2008-03-23 20:47:12','YYYY-MM-DD HH24:MI:SS'),100,'Text Message',255,'@ColumnType@ = ''T''','EE02','Y','Y','Y','N','N','N','N','Text Message',120,0,TO_TIMESTAMP('2008-03-23 20:47:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54811 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54777,54812,0,53103,TO_TIMESTAMP('2008-03-23 20:47:13','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed',1,'EE02','The Printed checkbox indicates if this document or line will included when printing.','Y','Y','Y','N','N','N','N','Printed',130,0,TO_TIMESTAMP('2008-03-23 20:47:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54812 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:14 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54778,54813,0,53103,TO_TIMESTAMP('2008-03-23 20:47:13','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','MaxValue',140,0,TO_TIMESTAMP('2008-03-23 20:47:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54813 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:15 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54779,54814,0,53103,TO_TIMESTAMP('2008-03-23 20:47:14','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','MinValue',150,0,TO_TIMESTAMP('2008-03-23 20:47:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54814 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54785,54815,0,53103,TO_TIMESTAMP('2008-03-23 20:47:16','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',160,0,TO_TIMESTAMP('2008-03-23 20:47:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54815 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54786,54816,0,53103,TO_TIMESTAMP('2008-03-23 20:47:16','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','Y','Valid to',170,0,TO_TIMESTAMP('2008-03-23 20:47:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:47:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54816 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:47:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=123, AccessLevel='3', Description='Identifies a Business Partner', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='Business Partner ', ReplicationType='L', TableName='C_BPartner',Updated=TO_TIMESTAMP('2008-03-23 20:47:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=291
;

-- Mar 23, 2008 8:47:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='DunningGrace', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Dunning Grace', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Dunning Grace',Updated=TO_TIMESTAMP('2008-03-23 20:47:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53223
;

-- Mar 23, 2008 8:47:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53223
;

-- Mar 23, 2008 8:47:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=53223, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DunningGrace', 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='Dunning Grace', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53246
;

-- Mar 23, 2008 8:47:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Dunning Grace', Description=NULL, Help=NULL WHERE AD_Column_ID=53246 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SendEMail', Description='Enable sending Document EMail', EntityType='D', Help='Send emails with document attached (e.g. Invoice, Delivery Note, etc.)', IsActive='Y', Name='Send EMail', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Send EMail',Updated=TO_TIMESTAMP('2008-03-23 20:47:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1978
;

-- Mar 23, 2008 8:47:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1978
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1978, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SendEMail', ColumnSQL=NULL, DefaultValue=NULL, Description='Enable sending Document EMail', EntityType='D', FieldLength=1, Help='Send emails with document attached (e.g. Invoice, Delivery Note, etc.)', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Send EMail', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8167
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Send EMail', Description='Enable sending Document EMail', Help='Send emails with document attached (e.g. Invoice, Delivery Note, etc.)' WHERE AD_Column_ID=8167 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Invoice_PrintFormat_ID', Description='Print Format for printing Invoices', EntityType='D', Help='You need to define a Print Format to print the document.', IsActive='Y', Name='Invoice Print Format', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Print Format',Updated=TO_TIMESTAMP('2008-03-23 20:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1822
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1822
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AD_PrintFormat Invoice', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=261
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=261
;

-- Mar 23, 2008 8:47:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 493, AD_Display = 7019, AD_Key = 7026, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'AD_PrintFormat.AD_Table_ID=516' WHERE AD_Reference_ID = 261
;

-- Mar 23, 2008 8:47:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1822, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=261, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Invoice_PrintFormat_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Print Format for printing Invoices', EntityType='D', FieldLength=22, Help='You need to define a Print Format to print the document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Invoice Print Format', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9332
;

-- Mar 23, 2008 8:47:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Invoice Print Format', Description='Print Format for printing Invoices', Help='You need to define a Print Format to print the document.' WHERE AD_Column_ID=9332 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SOCreditStatus', Description='Business Partner Credit Status', EntityType='D', Help='Credit Management is inactive if Credit Status is No Credit Check, Credit Stop or if the Credit Limit is 0.
If active, the status is set automatically set to Credit Hold, if the Total Open Balance (including Vendor activities)  is higher then the Credit Limit. It is set to Credit Watch, if above 90% of the Credit Limit and Credit OK otherwise.', IsActive='Y', Name='Credit Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Credit Status',Updated=TO_TIMESTAMP('2008-03-23 20:47:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2181
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2181
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Sales Credit Status', EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner SOCreditStatus', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:47:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=289
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=289
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=289, Description=NULL, EntityType='D', IsActive='Y', Name='Credit Stop', Value='S',Updated=TO_TIMESTAMP('2008-03-23 20:47:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=577
;

-- Mar 23, 2008 8:47:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=577
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=289, Description=NULL, EntityType='D', IsActive='Y', Name='Credit Hold', Value='H',Updated=TO_TIMESTAMP('2008-03-23 20:47:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=578
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=578
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=289, Description=NULL, EntityType='D', IsActive='Y', Name='Credit Watch', Value='W',Updated=TO_TIMESTAMP('2008-03-23 20:47:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=579
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=579
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=289, Description=NULL, EntityType='D', IsActive='Y', Name='No Credit Check', Value='X',Updated=TO_TIMESTAMP('2008-03-23 20:47:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=580
;

-- Mar 23, 2008 8:47:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=580
;

-- Mar 23, 2008 8:47:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=289, Description=NULL, EntityType='D', IsActive='Y', Name='Credit OK', Value='O',Updated=TO_TIMESTAMP('2008-03-23 20:47:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=581
;

-- Mar 23, 2008 8:47:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=581
;

-- Mar 23, 2008 8:47:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2181, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=289, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SOCreditStatus', ColumnSQL=NULL, DefaultValue=NULL, Description='Business Partner Credit Status', EntityType='D', FieldLength=1, Help='Credit Management is inactive if Credit Status is No Credit Check, Credit Stop or if the Credit Limit is 0.
If active, the status is set automatically set to Credit Hold, if the Total Open Balance (including Vendor activities)  is higher then the Credit Limit. It is set to Credit Watch, if above 90% of the Credit Limit and Credit OK otherwise.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Credit Status', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9862
;

-- Mar 23, 2008 8:47:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Credit Status', Description='Business Partner Credit Status', Help='Credit Management is inactive if Credit Status is No Credit Check, Credit Stop or if the Credit Limit is 0.
If active, the status is set automatically set to Credit Hold, if the Total Open Balance (including Vendor activities)  is higher then the Credit Limit. It is set to Credit Watch, if above 90% of the Credit Limit and Credit OK otherwise.' WHERE AD_Column_ID=9862 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PO_DiscountSchema_ID', Description='Schema to calculate the purchase trade discount percentage', EntityType='D', Help=NULL, IsActive='Y', Name='PO Discount Schema', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='PO Discount Schema',Updated=TO_TIMESTAMP('2008-03-23 20:47:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1717
;

-- Mar 23, 2008 8:47:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1717
;

-- Mar 23, 2008 8:47:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Not Price List Discount Schema', EntityType='D', Help=NULL, IsActive='Y', Name='M_DiscountSchema not PL', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:47:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=325
;

-- Mar 23, 2008 8:47:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=325
;

-- Mar 23, 2008 8:47:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 475, AD_Display = 6589, AD_Key = 6581, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'M_DiscountSchema.DiscountType<>''P''' WHERE AD_Reference_ID = 325
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1717, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=325, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PO_DiscountSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Schema to calculate the purchase trade discount percentage', 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='PO Discount Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6580
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='PO Discount Schema', Description='Schema to calculate the purchase trade discount percentage', Help=NULL WHERE AD_Column_ID=6580 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_OrgBP_ID', Description='The Business Partner is another Organization for explicit Inter-Org transactions', EntityType='D', Help='The business partner is another organization in the system. So when performing transactions, the counter-document is created automatically. Example: You have BPartnerA linked to OrgA and BPartnerB linked to OrgB.  If you create a sales order for BPartnerB in OrgA a purchase order is created for BPartnerA in OrgB.  This allows to have explicit documents for Inter-Org transactions.', IsActive='Y', Name='Linked Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Linked Org',Updated=TO_TIMESTAMP('2008-03-23 20:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2354
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2354
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=28
;

-- Mar 23, 2008 8:47:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28
;

-- Mar 23, 2008 8:47:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Process SET AccessLevel='3', Classname='org.compiere.process.BPartnerOrgLink', Description='Link Business Partner to an Organization', EntityType='D', Help='If the Business Partner is another Organization, select the Organization or set to empty to create a new Organization.  You link a Business Partner to an Organization to create explicit Documents for Inter-Org transaction.
If you create a new Organization, you may supply a Organization Type.  If you select a Role, the access to the new Organization is limited to that role, otherwise all (non manual) roles of the Client will have access to the new Organization.', IsActive='Y', IsBetaFunctionality='N', IsDirectPrint='N', IsReport='N', JasperReport=NULL, Name='Link Organization', ProcedureName=NULL, ShowHelp='Y', Statistic_Count=0, Statistic_Seconds=0, Value='C_BPartner Org Link', WorkflowValue=NULL,Updated=TO_TIMESTAMP('2008-03-23 20:47:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=260
;

-- Mar 23, 2008 8:47:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Process_Para SET AD_Element_ID=113, AD_Process_ID=260, AD_Reference_ID=19, AD_Val_Rule_ID=196, ColumnName='AD_Org_ID', DefaultValue='-1', DefaultValue2=NULL, Description='Organizational entity within client - set to empty if you want to create a new organization', EntityType='D', FieldLength=0, Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', IsCentrallyMaintained='N', IsMandatory='N', IsRange='N', Name='Existing Organization', SeqNo=10, VFormat=NULL, ValueMax=NULL, ValueMin=NULL,Updated=TO_TIMESTAMP('2008-03-23 20:47:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=467
;

-- Mar 23, 2008 8:47:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Process_Para SET AD_Element_ID=2355, AD_Process_ID=260, AD_Reference_ID=19, ColumnName='AD_OrgType_ID', DefaultValue=NULL, DefaultValue2=NULL, Description='Organization Type allows you to categorize your organizations', EntityType='D', FieldLength=0, Help='Organization Type allows you to categorize your organizations for reporting purposes', IsActive='Y', IsCentrallyMaintained='Y', IsMandatory='N', IsRange='N', Name='Organization Type', SeqNo=20, VFormat=NULL, ValueMax=NULL, ValueMin=NULL,Updated=TO_TIMESTAMP('2008-03-23 20:47:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=468
;

-- Mar 23, 2008 8:47:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Process_Para SET AD_Element_ID=123, AD_Process_ID=260, AD_Reference_ID=19, ColumnName='AD_Role_ID', DefaultValue='-1', DefaultValue2=NULL, Description='If no Role is selected, grant access to all (non-manual) roles of the Client', EntityType='D', FieldLength=0, Help='The Role determines security and access a user who has this Role will have in the System.', IsActive='Y', IsCentrallyMaintained='N', IsMandatory='N', IsRange='N', Name='Limit Access to Role', SeqNo=30, VFormat=NULL, ValueMax=NULL, ValueMin=NULL,Updated=TO_TIMESTAMP('2008-03-23 20:47:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=469
;

-- Mar 23, 2008 8:47:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2354, AD_Process_ID=260, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_OrgBP_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='The Business Partner is another Organization for explicit Inter-Org transactions', EntityType='D', FieldLength=22, Help='The business partner is another organization in the system. So when performing transactions, the counter-document is created automatically. Example: You have BPartnerA linked to OrgA and BPartnerB linked to OrgB.  If you create a sales order for BPartnerB in OrgA a purchase order is created for BPartnerA in OrgB.  This allows to have explicit documents for Inter-Org transactions.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Linked Organization', ReadOnlyLogic='@AD_OrgBP_ID@!0', VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=10927
;

-- Mar 23, 2008 8:47:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Linked Organization', Description='The Business Partner is another Organization for explicit Inter-Org transactions', Help='The business partner is another organization in the system. So when performing transactions, the counter-document is created automatically. Example: You have BPartnerA linked to OrgA and BPartnerB linked to OrgB.  If you create a sales order for BPartnerB in OrgA a purchase order is created for BPartnerA in OrgB.  This allows to have explicit documents for Inter-Org transactions.' WHERE AD_Column_ID=10927 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PO_PaymentTerm_ID', Description='Payment rules for a purchase order', EntityType='D', Help='The PO Payment Term indicates the payment term that will be used when this purchase order becomes an invoice.', IsActive='Y', Name='PO Payment Term', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='PO Payment Term',Updated=TO_TIMESTAMP('2008-03-23 20:47:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1576
;

-- Mar 23, 2008 8:47:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1576
;

-- Mar 23, 2008 8:47:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='C_PaymentTerm', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:47:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=227
;

-- Mar 23, 2008 8:47:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=227
;

-- Mar 23, 2008 8:47:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 113, AD_Display = 2035, AD_Key = 2027, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 227
;

-- Mar 23, 2008 8:47:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1576, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=227, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PO_PaymentTerm_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Payment rules for a purchase order', EntityType='D', FieldLength=22, Help='The PO Payment Term indicates the payment term that will be used when this purchase order becomes an invoice.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='PO Payment Term', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5826
;

-- Mar 23, 2008 8:47:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='PO Payment Term', Description='Payment rules for a purchase order', Help='The PO Payment Term indicates the payment term that will be used when this purchase order becomes an invoice.' WHERE AD_Column_ID=5826 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ShelfLifeMinPct', Description='Minimum Shelf Life in percent based on Product Instance Guarantee Date', EntityType='D', Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"', IsActive='Y', Name='Min Shelf Life %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Min Shelf Life %',Updated=TO_TIMESTAMP('2008-03-23 20:47:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2240
;

-- Mar 23, 2008 8:47:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2240
;

-- Mar 23, 2008 8:47:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2240, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ShelfLifeMinPct', ColumnSQL=NULL, DefaultValue=NULL, Description='Minimum Shelf Life in percent based on Product Instance Guarantee Date', EntityType='D', FieldLength=22, Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Min Shelf Life %', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=10122
;

-- Mar 23, 2008 8:47:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Min Shelf Life %', Description='Minimum Shelf Life in percent based on Product Instance Guarantee Date', Help='Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"' WHERE AD_Column_ID=10122 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='FlatDiscount', Description='Flat discount percentage ', EntityType='D', Help=NULL, IsActive='Y', Name='Flat Discount %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Flat Discount',Updated=TO_TIMESTAMP('2008-03-23 20:47:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1712
;

-- Mar 23, 2008 8:47:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1712
;

-- Mar 23, 2008 8:47:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1712, AD_Process_ID=NULL, AD_Reference_ID=22, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='FlatDiscount', ColumnSQL=NULL, DefaultValue=NULL, Description='Flat discount percentage ', 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='Flat Discount %', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12406
;

-- Mar 23, 2008 8:47:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Flat Discount %', Description='Flat discount percentage ', Help=NULL WHERE AD_Column_ID=12406 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='TotalOpenBalance', Description='Total Open Balance Amount in primary Accounting Currency', EntityType='D', Help='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity.  If the Balance is below zero, we owe the Business Partner.  The amout is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', IsActive='Y', Name='Open Balance', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Open Balance',Updated=TO_TIMESTAMP('2008-03-23 20:47:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2562
;

-- Mar 23, 2008 8:47:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2562
;

-- Mar 23, 2008 8:47:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Number with 4 decimals', EntityType='D', Help=NULL, IsActive='Y', Name='Amount', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=12
;

-- Mar 23, 2008 8:47:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=12
;

-- Mar 23, 2008 8:47:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2562, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TotalOpenBalance', ColumnSQL=NULL, DefaultValue=NULL, Description='Total Open Balance Amount in primary Accounting Currency', EntityType='D', FieldLength=22, Help='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity.  If the Balance is below zero, we owe the Business Partner.  The amout is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Open Balance', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12533
;

-- Mar 23, 2008 8:47:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Open Balance', Description='Total Open Balance Amount in primary Accounting Currency', Help='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity.  If the Balance is below zero, we owe the Business Partner.  The amout is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).' WHERE AD_Column_ID=12533 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='M_DiscountSchema_ID', Description='Schema to calculate the trade discount percentage', EntityType='D', Help='After calculation of the (standard) price, the trade discount percentage is calculated and applied resulting in the final price.', IsActive='Y', Name='Discount Schema', PO_Description='Schema to calculate price lists', PO_Help=NULL, PO_Name='Price List Schema', PO_PrintName='Price List Schema', PrintName='Discount Schema',Updated=TO_TIMESTAMP('2008-03-23 20:47:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1714
;

-- Mar 23, 2008 8:47:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1714
;

-- Mar 23, 2008 8:47:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1714, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=325, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_DiscountSchema_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Schema to calculate the trade discount percentage', EntityType='D', FieldLength=22, Help='After calculation of the (standard) price, the trade discount percentage is calculated and applied resulting in the final price.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Discount Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6579
;

-- Mar 23, 2008 8:47:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Discount Schema', Description='Schema to calculate the trade discount percentage', Help='After calculation of the (standard) price, the trade discount percentage is calculated and applied resulting in the final price.' WHERE AD_Column_ID=6579 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='BPartner_Parent_ID', Description='Business Partner Parent', EntityType='D', Help='The parent (organization) of the Business Partner for reporting purposes.', IsActive='Y', Name='Partner Parent', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Parent',Updated=TO_TIMESTAMP('2008-03-23 20:47:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2031
;

-- Mar 23, 2008 8:47:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2031
;

-- Mar 23, 2008 8:47:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2031, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='BPartner_Parent_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Business Partner Parent', EntityType='D', FieldLength=22, Help='The parent (organization) of the Business Partner for reporting purposes.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Partner Parent', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8768
;

-- Mar 23, 2008 8:47:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Partner Parent', Description='Business Partner Parent', Help='The parent (organization) of the Business Partner for reporting purposes.' WHERE AD_Column_ID=8768 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2902
;

-- Mar 23, 2008 8:47:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', 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.' WHERE AD_Column_ID=2902 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='FreightCostRule', Description='Method for charging Freight', EntityType='D', Help='The Freight Cost Rule indicates the method used when charging for freight.', IsActive='Y', Name='Freight Cost Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Freight Cost Rule',Updated=TO_TIMESTAMP('2008-03-23 20:47:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1007
;

-- Mar 23, 2008 8:47:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1007
;

-- Mar 23, 2008 8:47:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Freight cost Rule list', EntityType='D', Help=NULL, IsActive='Y', Name='C_Order FreightCostRule', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:47:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=153
;

-- Mar 23, 2008 8:47:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=153
;

-- Mar 23, 2008 8:47:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1007, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=153, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='FreightCostRule', ColumnSQL=NULL, DefaultValue=NULL, Description='Method for charging Freight', EntityType='D', FieldLength=1, Help='The Freight Cost Rule indicates the method used when charging for freight.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Freight Cost Rule', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4432
;

-- Mar 23, 2008 8:47:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Freight Cost Rule', Description='Method for charging Freight', Help='The Freight Cost Rule indicates the method used when charging for freight.' WHERE AD_Column_ID=4432 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_BP_Group_ID', Description='Business Partner Group', EntityType='D', Help='The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.', IsActive='Y', Name='Business Partner Group', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner Group',Updated=TO_TIMESTAMP('2008-03-23 20:47:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1383
;

-- Mar 23, 2008 8:47:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1383
;

-- Mar 23, 2008 8:47:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1383, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BP_Group_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Business Partner Group', EntityType='D', FieldLength=22, Help='The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner Group', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4940
;

-- Mar 23, 2008 8:47:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner Group', Description='Business Partner Group', Help='The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.' WHERE AD_Column_ID=4940 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsVendor', Description='Indicates if this Business Partner is a Vendor', EntityType='D', Help='The Vendor checkbox indicates if this Business Partner is a Vendor.  If it is selected, additional fields will display which further identify this vendor.', IsActive='Y', Name='Vendor', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Vendor',Updated=TO_TIMESTAMP('2008-03-23 20:47:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=426
;

-- Mar 23, 2008 8:47:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=426
;

-- Mar 23, 2008 8:47:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=426, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsVendor', ColumnSQL=NULL, DefaultValue=NULL, Description='Indicates if this Business Partner is a Vendor', EntityType='D', FieldLength=1, Help='The Vendor checkbox indicates if this Business Partner is a Vendor.  If it is selected, additional fields will display which further identify this vendor.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Vendor', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2915
;

-- Mar 23, 2008 8:47:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Vendor', Description='Indicates if this Business Partner is a Vendor', Help='The Vendor checkbox indicates if this Business Partner is a Vendor.  If it is selected, additional fields will display which further identify this vendor.' WHERE AD_Column_ID=2915 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Dunning_ID', Description='Dunning Rules for overdue invoices', EntityType='D', Help='The Dunning indicates the rules and method of dunning for past due payments.', IsActive='Y', Name='Dunning', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Dunning',Updated=TO_TIMESTAMP('2008-03-23 20:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=838
;

-- Mar 23, 2008 8:47:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=838
;

-- Mar 23, 2008 8:47:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=838, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Dunning_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Dunning Rules for overdue invoices', EntityType='D', FieldLength=22, Help='The Dunning indicates the rules and method of dunning for past due payments.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Dunning', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3085
;

-- Mar 23, 2008 8:47:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Dunning', Description='Dunning Rules for overdue invoices', Help='The Dunning indicates the rules and method of dunning for past due payments.' WHERE AD_Column_ID=3085 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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('2008-03-23 20:47:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2903
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
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=2903 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PO_PriceList_ID', Description='Price List used by this Business Partner', EntityType='D', Help='Identifies the price list used by a Vendor for products purchased by this organization.', IsActive='Y', Name='Purchase Pricelist', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Purchase Pricelist',Updated=TO_TIMESTAMP('2008-03-23 20:47:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=480
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=480
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='M_PriceList', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:47:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=166
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=166
;

-- Mar 23, 2008 8:47:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 255, AD_Display = 2108, AD_Key = 2100, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 166
;

-- Mar 23, 2008 8:47:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=480, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=166, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PO_PriceList_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Price List used by this Business Partner', EntityType='D', FieldLength=22, Help='Identifies the price list used by a Vendor for products purchased by 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='Purchase Pricelist', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2931
;

-- Mar 23, 2008 8:47:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Purchase Pricelist', Description='Price List used by this Business Partner', Help='Identifies the price list used by a Vendor for products purchased by this organization.' WHERE AD_Column_ID=2931 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='TaxID', Description='Tax Identification', EntityType='D', Help='The Tax ID field identifies the legal Identification number of this Entity.', IsActive='Y', Name='Tax ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Tax ID',Updated=TO_TIMESTAMP('2008-03-23 20:47:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=590
;

-- Mar 23, 2008 8:47:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=590
;

-- Mar 23, 2008 8:47:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=590, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='TaxID', ColumnSQL=NULL, DefaultValue=NULL, Description='Tax Identification', EntityType='D', FieldLength=20, Help='The Tax ID field identifies the legal Identification number of this Entity.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Tax ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2909
;

-- Mar 23, 2008 8:47:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Tax ID', Description='Tax Identification', Help='The Tax ID field identifies the legal Identification number of this Entity.' WHERE AD_Column_ID=2909 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ReferenceNo', Description='Your customer or vendor number at the Business Partner''s site', EntityType='D', Help='The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.', IsActive='Y', Name='Reference No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Reference No',Updated=TO_TIMESTAMP('2008-03-23 20:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=540
;

-- Mar 23, 2008 8:47:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=540
;

-- Mar 23, 2008 8:47:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=540, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ReferenceNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Your customer or vendor number at the Business Partner''s site', EntityType='D', FieldLength=40, Help='The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Reference No', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2905
;

-- Mar 23, 2008 8:47:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Reference No', Description='Your customer or vendor number at the Business Partner''s site', Help='The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.' WHERE AD_Column_ID=2905 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AcqusitionCost', Description='The cost of gaining the prospect as a customer', EntityType='D', Help='The Acquisition Cost identifies the cost associated with making this prospect a customer.', IsActive='Y', Name='Acquisition Cost', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Acquisition Cost',Updated=TO_TIMESTAMP('2008-03-23 20:47:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=151
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=151
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Costs + Prices (minimum currency precision but if exists more)', EntityType='D', Help=NULL, IsActive='Y', Name='Costs+Prices', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:47:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=37
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=37
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=151, AD_Process_ID=NULL, AD_Reference_ID=37, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AcqusitionCost', ColumnSQL=NULL, DefaultValue=NULL, Description='The cost of gaining the prospect as a customer', EntityType='D', FieldLength=22, Help='The Acquisition Cost identifies the cost associated with making this prospect a customer.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Acquisition Cost', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2922
;

-- Mar 23, 2008 8:47:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Acquisition Cost', Description='The cost of gaining the prospect as a customer', Help='The Acquisition Cost identifies the cost associated with making this prospect a customer.' WHERE AD_Column_ID=2922 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SO_CreditLimit', Description='Total outstanding invoice amounts allowed', EntityType='D', Help='The Credit Limit indicates the total amount allowed ''on account'' in primary accounting currency.  If the Credit Limit is 0, no ckeck is performed.  Credit Management is based on the Total Open Amount, which includes Vendor activities.', IsActive='Y', Name='Credit Limit', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Credit Limit',Updated=TO_TIMESTAMP('2008-03-23 20:47:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=553
;

-- Mar 23, 2008 8:47:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=553
;

-- Mar 23, 2008 8:47:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=553, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SO_CreditLimit', ColumnSQL=NULL, DefaultValue=NULL, Description='Total outstanding invoice amounts allowed', EntityType='D', FieldLength=22, Help='The Credit Limit indicates the total amount allowed ''on account'' in primary accounting currency.  If the Credit Limit is 0, no ckeck is performed.  Credit Management is based on the Total Open Amount, which includes Vendor activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Credit Limit', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2920
;

-- Mar 23, 2008 8:47:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Credit Limit', Description='Total outstanding invoice amounts allowed', Help='The Credit Limit indicates the total amount allowed ''on account'' in primary accounting currency.  If the Credit Limit is 0, no ckeck is performed.  Credit Management is based on the Total Open Amount, which includes Vendor activities.' WHERE AD_Column_ID=2920 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PaymentRule', Description='How you pay the invoice', EntityType='D', Help='The Payment Rule indicates the method of invoice payment.', IsActive='Y', Name='Payment Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Payment Rule',Updated=TO_TIMESTAMP('2008-03-23 20:47:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1143
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1143
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='In & Out Payment Options', EntityType='D', Help=NULL, IsActive='Y', Name='_Payment Rule', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:47:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=195
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=195
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='Y', Name='Direct Deposit', Value='T',Updated=TO_TIMESTAMP('2008-03-23 20:47:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=334
;

-- Mar 23, 2008 8:47:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=334
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='N', Name='Cash', Value='B',Updated=TO_TIMESTAMP('2008-03-23 20:47:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=332
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=332
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='N', Name='Direct Debit', Value='D',Updated=TO_TIMESTAMP('2008-03-23 20:47:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=652
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=652
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='N', Name='Credit Card', Value='K',Updated=TO_TIMESTAMP('2008-03-23 20:47:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=333
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=333
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='N', Name='On Credit', Value='P',Updated=TO_TIMESTAMP('2008-03-23 20:47:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=337
;

-- Mar 23, 2008 8:47:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=337
;

-- Mar 23, 2008 8:47:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=195, Description=NULL, EntityType='D', IsActive='N', Name='Check', Value='S',Updated=TO_TIMESTAMP('2008-03-23 20:47:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=335
;

-- Mar 23, 2008 8:47:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=335
;

-- Mar 23, 2008 8:47:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1143, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=195, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PaymentRule', ColumnSQL=NULL, DefaultValue=NULL, Description='How you pay the invoice', EntityType='D', FieldLength=1, Help='The Payment Rule indicates the method of invoice payment.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Payment Rule', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:47:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3084
;

-- Mar 23, 2008 8:47:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Payment Rule', Description='How you pay the invoice', Help='The Payment Rule indicates the method of invoice payment.' WHERE AD_Column_ID=3084 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='DeliveryViaRule', Description='How the order will be delivered', EntityType='D', Help='The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.', IsActive='Y', Name='Delivery Via', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Delivery Via',Updated=TO_TIMESTAMP('2008-03-23 20:47:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=274
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=274
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Delivery via Rule list', EntityType='D', Help=NULL, IsActive='Y', Name='C_Order DeliveryViaRule', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:47:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=152
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=152
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=152, Description=NULL, EntityType='D', IsActive='Y', Name='Pickup', Value='P',Updated=TO_TIMESTAMP('2008-03-23 20:47:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=222
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=222
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=152, Description=NULL, EntityType='D', IsActive='Y', Name='Delivery', Value='D',Updated=TO_TIMESTAMP('2008-03-23 20:47:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=223
;

-- Mar 23, 2008 8:47:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=223
;

-- Mar 23, 2008 8:47:58 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=152, Description=NULL, EntityType='D', IsActive='Y', Name='Shipper', Value='S',Updated=TO_TIMESTAMP('2008-03-23 20:47:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=224
;

-- Mar 23, 2008 8:47:58 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=224
;

-- Mar 23, 2008 8:47:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=274, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=152, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DeliveryViaRule', ColumnSQL=NULL, DefaultValue=NULL, Description='How the order will be delivered', EntityType='D', FieldLength=1, Help='The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Delivery Via', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:47:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4433
;

-- Mar 23, 2008 8:47:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Delivery Via', Description='How the order will be delivered', Help='The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.' WHERE AD_Column_ID=4433 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=409, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsSalesRep', ColumnSQL=NULL, DefaultValue=NULL, Description='Indicates if  the business partner is a sales representative or company agent', EntityType='D', FieldLength=1, Help='The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an emplyee, but does not need to be.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Sales Representative', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2929
;

-- Mar 23, 2008 8:48:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Sales Representative', Description='Indicates if  the business partner is a sales representative or company agent', Help='The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an emplyee, but does not need to be.' WHERE AD_Column_ID=2929 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsSummary', Description='This is a summary entity', EntityType='D', Help='A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.', IsActive='Y', Name='Summary Level', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Summary Level',Updated=TO_TIMESTAMP('2008-03-23 20:48:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=416
;

-- Mar 23, 2008 8:48:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=416
;

-- Mar 23, 2008 8:48:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=416, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsSummary', ColumnSQL=NULL, DefaultValue=NULL, Description='This is a summary entity', EntityType='D', FieldLength=1, Help='A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Summary Level', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2911
;

-- Mar 23, 2008 8:48:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Summary Level', Description='This is a summary entity', Help='A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.' WHERE AD_Column_ID=2911 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PotentialLifeTimeValue', Description='Total Revenue expected', EntityType='D', Help='The Potential Life Time Value is the anticipated revenue in primary accounting currency to be generated by the Business Partner.', IsActive='Y', Name='Potential Life Time Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Potential Life Time Value',Updated=TO_TIMESTAMP('2008-03-23 20:48:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=515
;

-- Mar 23, 2008 8:48:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=515
;

-- Mar 23, 2008 8:48:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=515, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='PotentialLifeTimeValue', ColumnSQL=NULL, DefaultValue=NULL, Description='Total Revenue expected', EntityType='D', FieldLength=22, Help='The Potential Life Time Value is the anticipated revenue in primary accounting currency to be generated by the 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='Potential Life Time Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2923
;

-- Mar 23, 2008 8:48:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Potential Life Time Value', Description='Total Revenue expected', Help='The Potential Life Time Value is the anticipated revenue in primary accounting currency to be generated by the Business Partner.' WHERE AD_Column_ID=2923 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_PaymentTerm_ID', Description='The terms of Payment (timing, discount)', EntityType='D', Help='Payment Terms identify the method and timing of payment.', IsActive='Y', Name='Payment Term', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Payment Term',Updated=TO_TIMESTAMP('2008-03-23 20:48:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=204
;

-- Mar 23, 2008 8:48:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=204
;

-- Mar 23, 2008 8:48:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=204, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_PaymentTerm_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='The terms of Payment (timing, discount)', EntityType='D', FieldLength=22, Help='Payment Terms identify the method and timing of payment.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Payment Term', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2924
;

-- Mar 23, 2008 8:48:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Payment Term', Description='The terms of Payment (timing, discount)', Help='Payment Terms identify the method and timing of payment.' WHERE AD_Column_ID=2924 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsOneTime', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='One time transaction', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='One time transaction',Updated=TO_TIMESTAMP('2008-03-23 20:48:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=922
;

-- Mar 23, 2008 8:48:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=922
;

-- Mar 23, 2008 8:48:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=922, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsOneTime', 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='One time transaction', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3080
;

-- Mar 23, 2008 8:48:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='One time transaction', Description=NULL, Help=NULL WHERE AD_Column_ID=3080 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='URL', Description='Full URL address - e.g. http://www.adempiere.org', EntityType='D', Help='The URL defines an fully qualified web address like http://www.adempiere.org', IsActive='Y', Name='URL', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='URL',Updated=TO_TIMESTAMP('2008-03-23 20:48:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=983
;

-- Mar 23, 2008 8:48:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=983
;

-- Mar 23, 2008 8:48:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='URL', EntityType='D', Help=NULL, IsActive='Y', Name='URL', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:48:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=40
;

-- Mar 23, 2008 8:48:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=40
;

-- Mar 23, 2008 8:48:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=983, AD_Process_ID=NULL, AD_Reference_ID=40, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='URL', ColumnSQL=NULL, DefaultValue=NULL, Description='Full URL address - e.g. http://www.adempiere.org', EntityType='D', FieldLength=120, Help='The URL defines an fully qualified web address like http://www.adempiere.org', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='URL', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3081
;

-- Mar 23, 2008 8:48:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='URL', Description='Full URL address - e.g. http://www.adempiere.org', Help='The URL defines an fully qualified web address like http://www.adempiere.org' WHERE AD_Column_ID=3081 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_InvoiceSchedule_ID', Description='Schedule for generating Invoices', EntityType='D', Help='The Invoice Schedule identifies the frequency used when generating invoices.', IsActive='Y', Name='Invoice Schedule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Schedule',Updated=TO_TIMESTAMP('2008-03-23 20:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=560
;

-- Mar 23, 2008 8:48:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=560
;

-- Mar 23, 2008 8:48:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=560, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_InvoiceSchedule_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Schedule for generating Invoices', EntityType='D', FieldLength=22, Help='The Invoice Schedule identifies the frequency used when generating invoices.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Invoice Schedule', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2917
;

-- Mar 23, 2008 8:48:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Invoice Schedule', Description='Schedule for generating Invoices', Help='The Invoice Schedule identifies the frequency used when generating invoices.' WHERE AD_Column_ID=2917 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Greeting_ID', Description='Greeting to print on correspondence', EntityType='D', Help='The Greeting identifies the greeting to print on correspondence.', IsActive='Y', Name='Greeting', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Greeting',Updated=TO_TIMESTAMP('2008-03-23 20:48:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1159
;

-- Mar 23, 2008 8:48:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1159
;

-- Mar 23, 2008 8:48:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1159, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Greeting_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Greeting to print on correspondence', EntityType='D', FieldLength=22, Help='The Greeting identifies the greeting to print on correspondence.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Greeting', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4291
;

-- Mar 23, 2008 8:48:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Greeting', Description='Greeting to print on correspondence', Help='The Greeting identifies the greeting to print on correspondence.' WHERE AD_Column_ID=4291 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='POReference', Description='Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner', EntityType='D', Help='The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.', IsActive='Y', Name='Order Reference', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Reference',Updated=TO_TIMESTAMP('2008-03-23 20:48:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=952
;

-- Mar 23, 2008 8:48:09 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=952
;

-- Mar 23, 2008 8:48:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=952, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='POReference', ColumnSQL=NULL, DefaultValue=NULL, Description='Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner', EntityType='D', FieldLength=20, Help='The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Order Reference', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4215
;

-- Mar 23, 2008 8:48:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Order Reference', Description='Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner', Help='The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.' WHERE AD_Column_ID=4215 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='DeliveryRule', Description='Defines the timing of Delivery', EntityType='D', Help='The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.', IsActive='Y', Name='Delivery Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Delivery Rule',Updated=TO_TIMESTAMP('2008-03-23 20:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=555
;

-- Mar 23, 2008 8:48:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=555
;

-- Mar 23, 2008 8:48:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Delivery Rules list', EntityType='D', Help=NULL, IsActive='Y', Name='C_Order DeliveryRule', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:48:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=151
;

-- Mar 23, 2008 8:48:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=151
;

-- Mar 23, 2008 8:48:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=151, Description=NULL, EntityType='D', IsActive='Y', Name='Manual', Value='M',Updated=TO_TIMESTAMP('2008-03-23 20:48:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=791
;

-- Mar 23, 2008 8:48:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=791
;

-- Mar 23, 2008 8:48:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=151, Description=NULL, EntityType='D', IsActive='Y', Name='Force', Value='F',Updated=TO_TIMESTAMP('2008-03-23 20:48:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=678
;

-- Mar 23, 2008 8:48:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=678
;

-- Mar 23, 2008 8:48:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=555, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=151, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DeliveryRule', ColumnSQL=NULL, DefaultValue=NULL, Description='Defines the timing of Delivery', EntityType='D', FieldLength=1, Help='The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Delivery Rule', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4430
;

-- Mar 23, 2008 8:48:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Delivery Rule', Description='Defines the timing of Delivery', Help='The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.' WHERE AD_Column_ID=4430 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsDiscountPrinted', Description='Print Discount on Invoice and Order', EntityType='D', Help='The Discount Printed Checkbox indicates if the discount will be printed on the document.', IsActive='Y', Name='Discount Printed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Discount Printed',Updated=TO_TIMESTAMP('2008-03-23 20:48:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1239
;

-- Mar 23, 2008 8:48:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1239
;

-- Mar 23, 2008 8:48:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1239, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsDiscountPrinted', ColumnSQL=NULL, DefaultValue=NULL, Description='Print Discount on Invoice and Order', EntityType='D', FieldLength=1, Help='The Discount Printed Checkbox indicates if the discount will be printed on the document.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Discount Printed', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4301
;

-- Mar 23, 2008 8:48:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Discount Printed', Description='Print Discount on Invoice and Order', Help='The Discount Printed Checkbox indicates if the discount will be printed on the document.' WHERE AD_Column_ID=4301 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='FirstSale', Description='Date of First Sale', EntityType='D', Help='The First Sale Date identifies the date of the first sale to this Business Partner', IsActive='Y', Name='First Sale', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='First Sale',Updated=TO_TIMESTAMP('2008-03-23 20:48:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=305
;

-- Mar 23, 2008 8:48:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=305
;

-- Mar 23, 2008 8:48:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=305, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='FirstSale', ColumnSQL=NULL, DefaultValue=NULL, Description='Date of First Sale', EntityType='D', FieldLength=7, Help='The First Sale Date identifies the date of the first sale to this 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='First Sale', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2919
;

-- Mar 23, 2008 8:48:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='First Sale', Description='Date of First Sale', Help='The First Sale Date identifies the date of the first sale to this Business Partner' WHERE AD_Column_ID=2919 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsProspect', Description='Indicates this is a Prospect', EntityType='D', Help='The Prospect checkbox indicates an entity that is an active prospect.', IsActive='Y', Name='Prospect', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Prospect',Updated=TO_TIMESTAMP('2008-03-23 20:48:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=402
;

-- Mar 23, 2008 8:48:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=402
;

-- Mar 23, 2008 8:48:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=402, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsProspect', ColumnSQL=NULL, DefaultValue=NULL, Description='Indicates this is a Prospect', EntityType='D', FieldLength=1, Help='The Prospect checkbox indicates an entity that is an active prospect.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Prospect', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2918
;

-- Mar 23, 2008 8:48:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Prospect', Description='Indicates this is a Prospect', Help='The Prospect checkbox indicates an entity that is an active prospect.' WHERE AD_Column_ID=2918 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Sales Representative', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - SalesRep', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:48:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=190
;

-- Mar 23, 2008 8:48:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=190
;

-- Mar 23, 2008 8:48:18 PM CST
-- Human Resource & Payroll
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.IsSalesRep=''Y'')
' WHERE AD_Reference_ID = 190
;

-- Mar 23, 2008 8:48:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1063, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=190, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SalesRep_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Sales Representative or Company Agent', EntityType='D', FieldLength=22, Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Sales Representative', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4431
;

-- Mar 23, 2008 8:48:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Sales Representative', Description='Sales Representative or Company Agent', Help='The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.' WHERE AD_Column_ID=4431 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsCustomer', Description='Indicates if this Business Partner is a Customer', EntityType='D', Help='The Customer checkbox indicates if this Business Partner is a customer.  If it is select additional fields will display which further define this customer.', IsActive='Y', Name='Customer', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Customer',Updated=TO_TIMESTAMP('2008-03-23 20:48:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=364
;

-- Mar 23, 2008 8:48:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=364
;

-- Mar 23, 2008 8:48:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=364, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsCustomer', ColumnSQL=NULL, DefaultValue=NULL, Description='Indicates if this Business Partner is a Customer', EntityType='D', FieldLength=1, Help='The Customer checkbox indicates if this Business Partner is a customer.  If it is select additional fields will display which further define this customer.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Customer', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2916
;

-- Mar 23, 2008 8:48:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Customer', Description='Indicates if this Business Partner is a Customer', Help='The Customer checkbox indicates if this Business Partner is a customer.  If it is select additional fields will display which further define this customer.' WHERE AD_Column_ID=2916 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PaymentRulePO', Description='Purchase payment option', EntityType='D', Help='The Payment Rule indicates the method of purchase payment.', IsActive='Y', Name='Payment Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Payment Rule',Updated=TO_TIMESTAMP('2008-03-23 20:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=950
;

-- Mar 23, 2008 8:48:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=950
;

-- Mar 23, 2008 8:48:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Val_Rule SET Code='AD_Ref_List.Value <> ''B''', Description=NULL, EntityType='D', IsActive='Y', Name='All_Payment Rule - no Cash', Type='S',Updated=TO_TIMESTAMP('2008-03-23 20:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=161
;

-- Mar 23, 2008 8:48:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=950, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=195, AD_Table_ID=291, AD_Val_Rule_ID=161, Callout=NULL, ColumnName='PaymentRulePO', ColumnSQL=NULL, DefaultValue=NULL, Description='Purchase payment option', EntityType='D', FieldLength=1, Help='The Payment Rule indicates the method of purchase payment.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Payment Rule', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4021
;

-- Mar 23, 2008 8:48:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Payment Rule', Description='Purchase payment option', Help='The Payment Rule indicates the method of purchase payment.' WHERE AD_Column_ID=4021 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1111, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name2', ColumnSQL=NULL, DefaultValue=NULL, Description='Additional Name', 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='Name 2', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4216
;

-- Mar 23, 2008 8:48:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Name 2', Description='Additional Name', Help=NULL WHERE AD_Column_ID=4216 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_Language', Description='Language for this entity', EntityType='D', Help='The Language identifies the language to use for display and formatting', IsActive='Y', Name='Language', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Language',Updated=TO_TIMESTAMP('2008-03-23 20:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=109
;

-- Mar 23, 2008 8:48:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=109
;

-- Mar 23, 2008 8:48:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Language selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_Language System', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=327
;

-- Mar 23, 2008 8:48:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=327
;

-- Mar 23, 2008 8:48:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 111, AD_Display = 204, AD_Key = 203, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = '(AD_Language.IsSystemLanguage=''Y'' OR AD_Language.IsBaseLanguage=''Y'')' WHERE AD_Reference_ID = 327
;

-- Mar 23, 2008 8:48:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=109, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=327, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_Language', ColumnSQL=NULL, DefaultValue=NULL, Description='Language for this entity', EntityType='D', FieldLength=6, Help='The Language identifies the language to use for display and formatting', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Language', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2914
;

-- Mar 23, 2008 8:48:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Language', Description='Language for this entity', Help='The Language identifies the language to use for display and formatting' WHERE AD_Column_ID=2914 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SalesVolume', Description='Total Volume of Sales in Thousands of Currency', EntityType='D', Help='The Sales Volume indicates the total volume of sales for a Business Partner.', IsActive='Y', Name='Sales Volume in 1.000', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Sales Volume',Updated=TO_TIMESTAMP('2008-03-23 20:48:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=563
;

-- Mar 23, 2008 8:48:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=563
;

-- Mar 23, 2008 8:48:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=563, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SalesVolume', ColumnSQL=NULL, DefaultValue=NULL, Description='Total Volume of Sales in Thousands of Currency', EntityType='D', FieldLength=22, Help='The Sales Volume indicates the total volume of sales for 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='Sales Volume in 1.000', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2904
;

-- Mar 23, 2008 8:48:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Sales Volume in 1.000', Description='Total Volume of Sales in Thousands of Currency', Help='The Sales Volume indicates the total volume of sales for a Business Partner.' WHERE AD_Column_ID=2904 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='DocumentCopies', Description='Number of copies to be printed', EntityType='D', Help='The Document Copies indicates the number of copies of each document that will be generated.', IsActive='Y', Name='Document Copies', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Copies',Updated=TO_TIMESTAMP('2008-03-23 20:48:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=866
;

-- Mar 23, 2008 8:48:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=866
;

-- Mar 23, 2008 8:48:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=866, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DocumentCopies', ColumnSQL=NULL, DefaultValue=NULL, Description='Number of copies to be printed', EntityType='D', FieldLength=22, Help='The Document Copies indicates the number of copies of each document that will be generated.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Document Copies', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3086
;

-- Mar 23, 2008 8:48:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Document Copies', Description='Number of copies to be printed', Help='The Document Copies indicates the number of copies of each document that will be generated.' WHERE AD_Column_ID=3086 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='M_PriceList_ID', Description='Unique identifier of a Price List', EntityType='D', Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.', IsActive='Y', Name='Price List', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Price List',Updated=TO_TIMESTAMP('2008-03-23 20:48:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=449
;

-- Mar 23, 2008 8:48:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=449
;

-- Mar 23, 2008 8:48:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=449, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='M_PriceList_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Unique identifier of a Price List', EntityType='D', FieldLength=22, Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Price List', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2930
;

-- Mar 23, 2008 8:48:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Price List', Description='Unique identifier of a Price List', Help='Price Lists are used to determine the pricing, margin and cost of items purchased or sold.' WHERE AD_Column_ID=2930 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='DUNS', Description='Dun & Bradstreet Number', EntityType='D', Help='Used for EDI - For details see   www.dnb.com/dunsno/list.htm', IsActive='Y', Name='D-U-N-S', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='D-U-N-S',Updated=TO_TIMESTAMP('2008-03-23 20:48:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=260
;

-- Mar 23, 2008 8:48:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=260
;

-- Mar 23, 2008 8:48:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=260, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='DUNS', ColumnSQL=NULL, DefaultValue=NULL, Description='Dun & Bradstreet Number', EntityType='D', FieldLength=11, Help='Used for EDI - For details see   www.dnb.com/dunsno/list.htm', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='D-U-N-S', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2906
;

-- Mar 23, 2008 8:48:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='D-U-N-S', Description='Dun & Bradstreet Number', Help='Used for EDI - For details see   www.dnb.com/dunsno/list.htm' WHERE AD_Column_ID=2906 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsTaxExempt', Description='Business partner is exempt from tax', EntityType='D', Help='If a business partner is exempt from tax, the exempt tax rate is used. For this, you need to set up a tax rate with a 0% rate and indicate that this is your tax exempt rate.  This is required for tax reporting, so that you can track tax exempt transactions.', IsActive='Y', Name='Tax exempt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Tax exempt',Updated=TO_TIMESTAMP('2008-03-23 20:48:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=930
;

-- Mar 23, 2008 8:48:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=930
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=930, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsTaxExempt', ColumnSQL=NULL, DefaultValue=NULL, Description='Business partner is exempt from tax', EntityType='D', FieldLength=1, Help='If a business partner is exempt from tax, the exempt tax rate is used. For this, you need to set up a tax rate with a 0% rate and indicate that this is your tax exempt rate.  This is required for tax reporting, so that you can track tax exempt transactions.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Tax exempt', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3082
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Tax exempt', Description='Business partner is exempt from tax', Help='If a business partner is exempt from tax, the exempt tax rate is used. For this, you need to set up a tax rate with a 0% rate and indicate that this is your tax exempt rate.  This is required for tax reporting, so that you can track tax exempt transactions.' WHERE AD_Column_ID=3082 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ActualLifeTimeValue', Description='Actual Life Time Revenue', EntityType='D', Help='The Actual Life Time Value is the recorded revenue in primary accounting currency generated by the Business Partner.', IsActive='Y', Name='Actual Life Time Value', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Actual Life Time Value',Updated=TO_TIMESTAMP('2008-03-23 20:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=153
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=153
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=153, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ActualLifeTimeValue', ColumnSQL=NULL, DefaultValue=NULL, Description='Actual Life Time Revenue', EntityType='D', FieldLength=22, Help='The Actual Life Time Value is the recorded revenue in primary accounting currency generated by the 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='Actual Life Time Value', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2925
;

-- Mar 23, 2008 8:48:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Actual Life Time Value', Description='Actual Life Time Revenue', Help='The Actual Life Time Value is the recorded revenue in primary accounting currency generated by the Business Partner.' WHERE AD_Column_ID=2925 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ShareOfCustomer', Description='Share of Customer''s business as a percentage', EntityType='D', Help='The Share indicates the percentage of this Business Partner''s volume of the products supplied.', IsActive='Y', Name='Share', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Share',Updated=TO_TIMESTAMP('2008-03-23 20:48:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=569
;

-- Mar 23, 2008 8:48:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=569
;

-- Mar 23, 2008 8:48:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=569, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ShareOfCustomer', ColumnSQL=NULL, DefaultValue=NULL, Description='Share of Customer''s business as a percentage', EntityType='D', FieldLength=22, Help='The Share indicates the percentage of this Business Partner''s volume of the products supplied.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Share', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2926
;

-- Mar 23, 2008 8:48:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Share', Description='Share of Customer''s business as a percentage', Help='The Share indicates the percentage of this Business Partner''s volume of the products supplied.' WHERE AD_Column_ID=2926 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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_<TableName>", 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='Search Key', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2901
;

-- Mar 23, 2008 8:48:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', 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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).' WHERE AD_Column_ID=2901 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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('2008-03-23 20:48:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2896
;

-- Mar 23, 2008 8:48:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=2896 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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('2008-03-23 20:48:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2897
;

-- Mar 23, 2008 8:48:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=2897 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsEmployee', Description='Indicates if  this Business Partner is an employee', EntityType='D', Help='The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.', IsActive='Y', Name='Employee', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Employee',Updated=TO_TIMESTAMP('2008-03-23 20:48:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=373
;

-- Mar 23, 2008 8:48:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=373
;

-- Mar 23, 2008 8:48:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=373, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsEmployee', ColumnSQL=NULL, DefaultValue=NULL, Description='Indicates if  this Business Partner is an employee', EntityType='D', FieldLength=1, Help='The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Employee', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2927
;

-- Mar 23, 2008 8:48:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Employee', Description='Indicates if  this Business Partner is an employee', Help='The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.' WHERE AD_Column_ID=2927 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2894
;

-- Mar 23, 2008 8:48:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=2894 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='NAICS', Description='Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html', EntityType='D', Help='The NAICS/SIC identifies either of these codes that may be applicable to this Business Partner.', IsActive='Y', Name='NAICS/SIC', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='NAICS/SIC',Updated=TO_TIMESTAMP('2008-03-23 20:48:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=468
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=468
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=468, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NAICS', ColumnSQL=NULL, DefaultValue=NULL, Description='Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html', EntityType='D', FieldLength=6, Help='The NAICS/SIC identifies either of these codes that may be applicable to this 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='NAICS/SIC', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2910
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='NAICS/SIC', Description='Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html', Help='The NAICS/SIC identifies either of these codes that may be applicable to this Business Partner.' WHERE AD_Column_ID=2910 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='NumberEmployees', Description='Number of employees', EntityType='D', Help='Indicates the number of employees for this Business Partner.  This field displays only for Prospects.', IsActive='Y', Name='Employees', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Employees',Updated=TO_TIMESTAMP('2008-03-23 20:48:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=473
;

-- Mar 23, 2008 8:48:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=473
;

-- Mar 23, 2008 8:48:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=473, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NumberEmployees', ColumnSQL=NULL, DefaultValue=NULL, Description='Number of employees', EntityType='D', FieldLength=22, Help='Indicates the number of employees for this Business Partner.  This field displays only for Prospects.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Employees', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2907
;

-- Mar 23, 2008 8:48:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Employees', Description='Number of employees', Help='Indicates the number of employees for this Business Partner.  This field displays only for Prospects.' WHERE AD_Column_ID=2907 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2895
;

-- Mar 23, 2008 8:48:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=2895 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SO_Description', Description='Description to be used on orders', EntityType='D', Help='The Order Description identifies the standard description to use on orders for this Customer.', IsActive='Y', Name='Order Description', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Description',Updated=TO_TIMESTAMP('2008-03-23 20:48:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1244
;

-- Mar 23, 2008 8:48:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1244
;

-- Mar 23, 2008 8:48:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1244, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SO_Description', ColumnSQL=NULL, DefaultValue=NULL, Description='Description to be used on orders', EntityType='D', FieldLength=255, Help='The Order Description identifies the standard description to use on orders for this Customer.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Order Description', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4302
;

-- Mar 23, 2008 8:48:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Order Description', Description='Description to be used on orders', Help='The Order Description identifies the standard description to use on orders for this Customer.' WHERE AD_Column_ID=4302 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Rating', Description='Classification or Importance', EntityType='D', Help='The Rating is used to differentiate the importance', IsActive='Y', Name='Rating', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Rating',Updated=TO_TIMESTAMP('2008-03-23 20:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=962
;

-- Mar 23, 2008 8:48:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=962
;

-- Mar 23, 2008 8:48:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=962, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Rating', ColumnSQL=NULL, DefaultValue=NULL, Description='Classification or Importance', EntityType='D', FieldLength=1, Help='The Rating is used to differentiate the importance', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Rating', ReadOnlyLogic=NULL, VFormat='L', Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3083
;

-- Mar 23, 2008 8:48:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Rating', Description='Classification or Importance', Help='The Rating is used to differentiate the importance' WHERE AD_Column_ID=3083 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2893
;

-- Mar 23, 2008 8:48:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=2893 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='InvoiceRule', Description='Frequency and method of invoicing ', EntityType='D', Help='The Invoice Rule defines how a Business Partner is invoiced and the frequency of invoicing.', IsActive='Y', Name='Invoice Rule', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Rule',Updated=TO_TIMESTAMP('2008-03-23 20:48:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=559
;

-- Mar 23, 2008 8:48:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=559
;

-- Mar 23, 2008 8:48:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Invoicing Rules list', EntityType='D', Help=NULL, IsActive='Y', Name='C_Order InvoiceRule', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:48:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=150
;

-- Mar 23, 2008 8:48:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=150
;

-- Mar 23, 2008 8:48:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=150, Description='Invoice for every order', EntityType='D', IsActive='N', Name='After Order delivered', Value='O',Updated=TO_TIMESTAMP('2008-03-23 20:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=214
;

-- Mar 23, 2008 8:48:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=559, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=150, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='InvoiceRule', ColumnSQL=NULL, DefaultValue=NULL, Description='Frequency and method of invoicing ', EntityType='D', FieldLength=1, Help='The Invoice Rule defines how a Business Partner is invoiced and the frequency of invoicing.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Invoice Rule', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=4429
;

-- Mar 23, 2008 8:48:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Invoice Rule', Description='Frequency and method of invoicing ', Help='The Invoice Rule defines how a Business Partner is invoiced and the frequency of invoicing.' WHERE AD_Column_ID=4429 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=291, 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('2008-03-23 20:48:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2898
;

-- Mar 23, 2008 8:48:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=2898 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='SO_CreditUsed', Description='Current open balance', EntityType='D', Help='The Credit Used indicates the total amount of open or unpaid invoices in primary accounting currency for the Business Partner. Credit Management is based on the Total Open Amount, which includes Vendor activities.', IsActive='Y', Name='Credit Used', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Credit Used',Updated=TO_TIMESTAMP('2008-03-23 20:48:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=554
;

-- Mar 23, 2008 8:48:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=554
;

-- Mar 23, 2008 8:48:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=554, AD_Process_ID=NULL, AD_Reference_ID=12, AD_Reference_Value_ID=NULL, AD_Table_ID=291, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='SO_CreditUsed', ColumnSQL=NULL, DefaultValue=NULL, Description='Current open balance', EntityType='D', FieldLength=22, Help='The Credit Used indicates the total amount of open or unpaid invoices in primary accounting currency for the Business Partner. Credit Management is based on the Total Open Amount, which includes Vendor activities.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Credit Used', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:48:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2921
;

-- Mar 23, 2008 8:48:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Credit Used', Description='Current open balance', Help='The Credit Used indicates the total amount of open or unpaid invoices in primary accounting currency for the Business Partner. Credit Management is based on the Total Open Amount, which includes Vendor activities.' WHERE AD_Column_ID=2921 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=291, 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('2008-03-23 20:48:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2899
;

-- Mar 23, 2008 8:48:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=2899 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=291, 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('2008-03-23 20:48:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2900
;

-- Mar 23, 2008 8:48:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=2900 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:48:50 PM CST
-- Human Resource & Payroll
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,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy,WhereClause) VALUES (0,0,53104,291,53033,NULL,TO_TIMESTAMP('2008-03-23 20:48:48','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner','EE02','N','The Payroll Employee Window is used to define the Jobs into the Organizational Structure for a Company','Y','N','N','Y','N','Y','N','N','Business Partner','N',10,0,TO_TIMESTAMP('2008-03-23 20:48:48','YYYY-MM-DD HH24:MI:SS'),100,'IsEmployee = ''Y''')
;

-- Mar 23, 2008 8:48:50 PM CST
-- Human Resource & Payroll
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=53104 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:48:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,12533,54817,0,53104,TO_TIMESTAMP('2008-03-23 20:48:50','YYYY-MM-DD HH24:MI:SS'),100,'Total Open Balance Amount in primary Accounting Currency',26,'EE02','The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity.  If the Balance is below zero, we owe the Business Partner.  The amout is used for Credit Management.
Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).','Y','Y','N','N','N','Y','Y','Open Balance',0,0,TO_TIMESTAMP('2008-03-23 20:48:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54817 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4430,54818,0,53104,TO_TIMESTAMP('2008-03-23 20:48:51','YYYY-MM-DD HH24:MI:SS'),100,'Defines the timing of Delivery',14,'EE02','The Delivery Rule indicates when an order should be delivered. For example should the order be delivered when the entire order is complete, when a line is complete or as the products become available.','Y','Y','N','N','N','N','N','Delivery Rule',0,0,TO_TIMESTAMP('2008-03-23 20:48:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54818 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4432,54819,0,53104,TO_TIMESTAMP('2008-03-23 20:48:52','YYYY-MM-DD HH24:MI:SS'),100,'Method for charging Freight',14,'EE02','The Freight Cost Rule indicates the method used when charging for freight.','Y','Y','N','N','N','N','N','Freight Cost Rule',0,0,TO_TIMESTAMP('2008-03-23 20:48:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54819 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4433,54820,0,53104,TO_TIMESTAMP('2008-03-23 20:48:53','YYYY-MM-DD HH24:MI:SS'),100,'How the order will be delivered',14,'EE02','The Delivery Via indicates how the products should be delivered. For example, will the order be picked up or shipped.','Y','Y','N','N','N','N','N','Delivery Via',0,0,TO_TIMESTAMP('2008-03-23 20:48:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54820 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5826,54821,0,53104,TO_TIMESTAMP('2008-03-23 20:48:54','YYYY-MM-DD HH24:MI:SS'),100,'Payment rules for a purchase order',14,'EE02','The PO Payment Term indicates the payment term that will be used when this purchase order becomes an invoice.','Y','Y','N','N','N','N','N','PO Payment Term',0,0,TO_TIMESTAMP('2008-03-23 20:48:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54821 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,6579,54822,0,53104,TO_TIMESTAMP('2008-03-23 20:48:55','YYYY-MM-DD HH24:MI:SS'),100,'Schema to calculate the trade discount percentage',14,'EE02','After calculation of the (standard) price, the trade discount percentage is calculated and applied resulting in the final price.','Y','Y','N','N','N','N','N','Discount Schema',0,0,TO_TIMESTAMP('2008-03-23 20:48:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54822 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:57 PM CST
-- Human Resource & Payroll
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,6580,54823,0,53104,TO_TIMESTAMP('2008-03-23 20:48:56','YYYY-MM-DD HH24:MI:SS'),100,'Schema to calculate the purchase trade discount percentage',14,'EE02','Y','Y','N','N','N','N','N','PO Discount Schema',0,0,TO_TIMESTAMP('2008-03-23 20:48:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54823 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8167,54824,0,53104,TO_TIMESTAMP('2008-03-23 20:48:57','YYYY-MM-DD HH24:MI:SS'),100,'Enable sending Document EMail',1,'EE02','Send emails with document attached (e.g. Invoice, Delivery Note, etc.)','Y','Y','N','N','N','N','N','Send EMail',0,0,TO_TIMESTAMP('2008-03-23 20:48:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54824 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8768,54825,0,53104,TO_TIMESTAMP('2008-03-23 20:48:58','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Parent',14,'EE02','The parent (organization) of the Business Partner for reporting purposes.','Y','Y','N','N','N','N','N','Partner Parent',0,0,TO_TIMESTAMP('2008-03-23 20:48:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54825 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:48:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,9332,54826,0,53104,TO_TIMESTAMP('2008-03-23 20:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Print Format for printing Invoices',14,'EE02','You need to define a Print Format to print the document.','Y','Y','N','N','N','N','N','Invoice Print Format',0,0,TO_TIMESTAMP('2008-03-23 20:48:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:48:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54826 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,9862,54827,0,53104,TO_TIMESTAMP('2008-03-23 20:48:59','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Credit Status',14,'EE02','Credit Management is inactive if Credit Status is No Credit Check, Credit Stop or if the Credit Limit is 0.
If active, the status is set automatically set to Credit Hold, if the Total Open Balance (including Vendor activities)  is higher then the Credit Limit. It is set to Credit Watch, if above 90% of the Credit Limit and Credit OK otherwise.','Y','Y','N','N','N','N','N','Credit Status',0,0,TO_TIMESTAMP('2008-03-23 20:48:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54827 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,10122,54828,0,53104,TO_TIMESTAMP('2008-03-23 20:49:00','YYYY-MM-DD HH24:MI:SS'),100,'Minimum Shelf Life in percent based on Product Instance Guarantee Date',11,'EE02','Miminum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minum shelf life, unless you select "Show All"','Y','Y','N','N','N','N','N','Min Shelf Life %',0,0,TO_TIMESTAMP('2008-03-23 20:49:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54828 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:02 PM CST
-- Human Resource & Payroll
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,10927,54829,0,53104,TO_TIMESTAMP('2008-03-23 20:49:01','YYYY-MM-DD HH24:MI:SS'),100,'The Business Partner is another Organization for explicit Inter-Org transactions',23,'@IsEmployee@=N','EE02','The business partner is another organization in the system. So when performing transactions, the counter-document is created automatically. Example: You have BPartnerA linked to OrgA and BPartnerB linked to OrgB.  If you create a sales order for BPartnerB in OrgA a purchase order is created for BPartnerA in OrgB.  This allows to have explicit documents for Inter-Org transactions.','Y','Y','N','N','N','N','Y','Linked Organization',0,0,TO_TIMESTAMP('2008-03-23 20:49:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54829 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:03 PM CST
-- Human Resource & Payroll
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,12406,54830,0,53104,TO_TIMESTAMP('2008-03-23 20:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Flat discount percentage ',26,'EE02','Y','Y','N','N','N','N','N','Flat Discount %',0,0,TO_TIMESTAMP('2008-03-23 20:49:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54830 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2893,54831,0,53104,TO_TIMESTAMP('2008-03-23 20:49:03','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',14,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','N','N','N','N','N','Business Partner ',0,0,TO_TIMESTAMP('2008-03-23 20:49:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54831 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:05 PM CST
-- Human Resource & Payroll
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,2904,54832,0,53104,TO_TIMESTAMP('2008-03-23 20:49:04','YYYY-MM-DD HH24:MI:SS'),100,'Total Volume of Sales in Thousands of Currency',11,'@IsEmployee@=N','EE02','The Sales Volume indicates the total volume of sales for a Business Partner.','Y','Y','N','N','N','N','Y','Sales Volume in 1.000',0,0,TO_TIMESTAMP('2008-03-23 20:49:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54832 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2905,54833,0,53104,TO_TIMESTAMP('2008-03-23 20:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Your customer or vendor number at the Business Partner''s site',11,'EE02','The reference number can be printed on orders and invoices to allow your business partner to faster identify your records.','Y','Y','N','N','N','N','Y','Reference No',0,0,TO_TIMESTAMP('2008-03-23 20:49:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54833 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2906,54834,0,53104,TO_TIMESTAMP('2008-03-23 20:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Dun & Bradstreet Number',20,'EE02','Used for EDI - For details see   www.dnb.com/dunsno/list.htm','Y','Y','N','N','N','N','N','D-U-N-S',0,0,TO_TIMESTAMP('2008-03-23 20:49:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54834 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:08 PM CST
-- Human Resource & Payroll
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,2907,54835,0,53104,TO_TIMESTAMP('2008-03-23 20:49:06','YYYY-MM-DD HH24:MI:SS'),100,'Number of employees',11,'@IsEmployee@=N','EE02','Indicates the number of employees for this Business Partner.  This field displays only for Prospects.','Y','Y','N','N','N','N','Y','Employees',0,0,TO_TIMESTAMP('2008-03-23 20:49:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54835 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2910,54836,0,53104,TO_TIMESTAMP('2008-03-23 20:49:08','YYYY-MM-DD HH24:MI:SS'),100,'Standard Industry Code or its successor NAIC - http://www.osha.gov/oshstats/sicser.html',20,'EE02','The NAICS/SIC identifies either of these codes that may be applicable to this Business Partner.','Y','Y','N','N','N','N','N','NAICS/SIC',0,0,TO_TIMESTAMP('2008-03-23 20:49:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54836 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2911,54837,0,53104,TO_TIMESTAMP('2008-03-23 20:49:09','YYYY-MM-DD HH24:MI:SS'),100,'This is a summary entity',1,'EE02','A summary entity represents a branch in a tree rather than an end-node. Summary entities are used for reporting and do not have own values.','Y','Y','N','N','N','N','Y','Summary Level',0,0,TO_TIMESTAMP('2008-03-23 20:49:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54837 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2914,54838,0,53104,TO_TIMESTAMP('2008-03-23 20:49:09','YYYY-MM-DD HH24:MI:SS'),100,'Language for this Business Partner if Multi-Language enabled',14,'EE02','The Language identifies the language to use for display and formatting documents. It requires that on Client level Multi-Lingual documents are selected and that you have created/loaded the language.','Y','N','N','N','N','N','Y','Language',0,0,TO_TIMESTAMP('2008-03-23 20:49:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54838 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2915,54839,0,53104,TO_TIMESTAMP('2008-03-23 20:49:11','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this Business Partner is a Vendor',1,'EE02','The Vendor checkbox indicates if this Business Partner is a Vendor.  If it is selected, additional fields will display which further identify this vendor.','Y','Y','N','N','N','N','N','Vendor',0,0,TO_TIMESTAMP('2008-03-23 20:49:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54839 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2916,54840,0,53104,TO_TIMESTAMP('2008-03-23 20:49:12','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this Business Partner is a Customer',1,'EE02','The Customer checkbox indicates if this Business Partner is a customer.  If it is select additional fields will display which further define this customer.','Y','Y','N','N','N','N','N','Customer',0,0,TO_TIMESTAMP('2008-03-23 20:49:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54840 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2917,54841,0,53104,TO_TIMESTAMP('2008-03-23 20:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Schedule for generating Invoices',14,'EE02','The Invoice Schedule identifies the frequency used when generating invoices.','Y','Y','N','N','N','N','N','Invoice Schedule',0,0,TO_TIMESTAMP('2008-03-23 20:49:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54841 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:14 PM CST
-- Human Resource & Payroll
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,2918,54842,0,53104,TO_TIMESTAMP('2008-03-23 20:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Indicates this is a Prospect',1,'@IsEmployee@=N','EE02','The Prospect checkbox indicates an entity that is an active prospect.','Y','Y','N','N','N','N','N','Prospect',0,0,TO_TIMESTAMP('2008-03-23 20:49:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54842 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:15 PM CST
-- Human Resource & Payroll
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,2919,54843,0,53104,TO_TIMESTAMP('2008-03-23 20:49:14','YYYY-MM-DD HH24:MI:SS'),100,'Date of First Sale',14,'@IsEmployee@=N','EE02','The First Sale Date identifies the date of the first sale to this Business Partner','Y','Y','N','N','N','N','N','First Sale',0,0,TO_TIMESTAMP('2008-03-23 20:49:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54843 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2920,54844,0,53104,TO_TIMESTAMP('2008-03-23 20:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Total outstanding invoice amounts allowed',26,'EE02','The Credit Limit indicates the total amount allowed ''on account'' in primary accounting currency.  If the Credit Limit is 0, no ckeck is performed.  Credit Management is based on the Total Open Amount, which includes Vendor activities.','Y','Y','N','N','N','N','N','Credit Limit',0,0,TO_TIMESTAMP('2008-03-23 20:49:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54844 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2921,54845,0,53104,TO_TIMESTAMP('2008-03-23 20:49:16','YYYY-MM-DD HH24:MI:SS'),100,'Current open balance',26,'EE02','The Credit Used indicates the total amount of open or unpaid invoices in primary accounting currency for the Business Partner. Credit Management is based on the Total Open Amount, which includes Vendor activities.','Y','Y','N','N','N','N','N','Credit Used',0,0,TO_TIMESTAMP('2008-03-23 20:49:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54845 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:18 PM CST
-- Human Resource & Payroll
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,2922,54846,0,53104,TO_TIMESTAMP('2008-03-23 20:49:17','YYYY-MM-DD HH24:MI:SS'),100,'The cost of gaining the prospect as a customer',26,'@IsEmployee@=N','EE02','The Acquisition Cost identifies the cost associated with making this prospect a customer.','Y','Y','N','N','N','N','N','Acquisition Cost',0,0,TO_TIMESTAMP('2008-03-23 20:49:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54846 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:19 PM CST
-- Human Resource & Payroll
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,2923,54847,0,53104,TO_TIMESTAMP('2008-03-23 20:49:18','YYYY-MM-DD HH24:MI:SS'),100,'Total Revenue expected',26,'@IsEmployee@=N','EE02','The Potential Life Time Value is the anticipated revenue in primary accounting currency to be generated by the Business Partner.','Y','Y','N','N','N','N','N','Potential Life Time Value',0,0,TO_TIMESTAMP('2008-03-23 20:49:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54847 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2924,54848,0,53104,TO_TIMESTAMP('2008-03-23 20:49:19','YYYY-MM-DD HH24:MI:SS'),100,'The terms of Payment (timing, discount)',14,'EE02','Payment Terms identify the method and timing of payment.','Y','Y','N','N','N','N','N','Payment Term',0,0,TO_TIMESTAMP('2008-03-23 20:49:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54848 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:21 PM CST
-- Human Resource & Payroll
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,2925,54849,0,53104,TO_TIMESTAMP('2008-03-23 20:49:20','YYYY-MM-DD HH24:MI:SS'),100,'Actual Life Time Revenue',26,'@IsEmployee@=N','EE02','The Actual Life Time Value is the recorded revenue in primary accounting currency generated by the Business Partner.','Y','Y','N','N','N','Y','Y','Actual Life Time Value',0,0,TO_TIMESTAMP('2008-03-23 20:49:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54849 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:23 PM CST
-- Human Resource & Payroll
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,2926,54850,0,53104,TO_TIMESTAMP('2008-03-23 20:49:21','YYYY-MM-DD HH24:MI:SS'),100,'Share of Customer''s business as a percentage',11,'@IsEmployee@=N','EE02','The Share indicates the percentage of this Business Partner''s volume of the products supplied.','Y','Y','N','N','N','N','N','Share',0,0,TO_TIMESTAMP('2008-03-23 20:49:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54850 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2930,54851,0,53104,TO_TIMESTAMP('2008-03-23 20:49:23','YYYY-MM-DD HH24:MI:SS'),100,'Unique identifier of a Price List',14,'EE02','Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','Y','N','N','N','N','N','Price List',0,0,TO_TIMESTAMP('2008-03-23 20:49:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54851 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2931,54852,0,53104,TO_TIMESTAMP('2008-03-23 20:49:24','YYYY-MM-DD HH24:MI:SS'),100,'Price List used by this Business Partner',14,'EE02','Identifies the price list used by a Vendor for products purchased by this organization.','Y','Y','N','N','N','N','N','Purchase Pricelist',0,0,TO_TIMESTAMP('2008-03-23 20:49:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54852 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:26 PM CST
-- Human Resource & Payroll
INSERT INTO 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,3080,54853,0,53104,TO_TIMESTAMP('2008-03-23 20:49:25','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','N','N','N','N','Y','One time transaction',0,0,TO_TIMESTAMP('2008-03-23 20:49:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54853 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3082,54854,0,53104,TO_TIMESTAMP('2008-03-23 20:49:26','YYYY-MM-DD HH24:MI:SS'),100,'Business partner is exempt from tax',1,'EE02','If a business partner is exempt from tax, the exempt tax rate is used. For this, you need to set up a tax rate with a 0% rate and indicate that this is your tax exempt rate.  This is required for tax reporting, so that you can track tax exempt transactions.','Y','Y','N','N','N','N','Y','Tax exempt',0,0,TO_TIMESTAMP('2008-03-23 20:49:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54854 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3083,54855,0,53104,TO_TIMESTAMP('2008-03-23 20:49:27','YYYY-MM-DD HH24:MI:SS'),100,'Classification or Importance',11,'EE02','The Rating is used to differentiate the importance','Y','Y','N','N','N','N','Y','Rating',0,0,TO_TIMESTAMP('2008-03-23 20:49:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54855 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3084,54856,0,53104,TO_TIMESTAMP('2008-03-23 20:49:28','YYYY-MM-DD HH24:MI:SS'),100,'How you pay the invoice',14,'EE02','The Payment Rule indicates the method of invoice payment.','Y','Y','N','N','N','N','N','Payment Rule',0,0,TO_TIMESTAMP('2008-03-23 20:49:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54856 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3085,54857,0,53104,TO_TIMESTAMP('2008-03-23 20:49:29','YYYY-MM-DD HH24:MI:SS'),100,'Dunning Rules for overdue invoices',14,'EE02','The Dunning indicates the rules and method of dunning for past due payments.','Y','Y','N','N','N','N','N','Dunning',0,0,TO_TIMESTAMP('2008-03-23 20:49:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54857 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3086,54858,0,53104,TO_TIMESTAMP('2008-03-23 20:49:31','YYYY-MM-DD HH24:MI:SS'),100,'Number of copies to be printed',11,'EE02','The Document Copies indicates the number of copies of each document that will be generated.','Y','Y','N','N','N','N','N','Document Copies',0,0,TO_TIMESTAMP('2008-03-23 20:49:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54858 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4215,54859,0,53104,TO_TIMESTAMP('2008-03-23 20:49:38','YYYY-MM-DD HH24:MI:SS'),100,'Transaction Reference Number (Sales Order, Purchase Order) of your Business Partner',20,'EE02','The business partner order reference is the order reference for this specific transaction; Often Purchase Order numbers are given to print on Invoices for easier reference.  A standard number can be defined in the Business Partner (Customer) window.','Y','Y','N','N','N','N','N','Order Reference',0,0,TO_TIMESTAMP('2008-03-23 20:49:38','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54859 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4291,54860,0,53104,TO_TIMESTAMP('2008-03-23 20:49:46','YYYY-MM-DD HH24:MI:SS'),100,'Greeting to print on correspondence',14,'EE02','The Greeting identifies the greeting to print on correspondence.','Y','Y','N','N','N','N','N','Greeting',0,0,TO_TIMESTAMP('2008-03-23 20:49:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54860 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4301,54861,0,53104,TO_TIMESTAMP('2008-03-23 20:49:47','YYYY-MM-DD HH24:MI:SS'),100,'Print Discount on Invoice and Order',1,'EE02','The Discount Printed Checkbox indicates if the discount will be printed on the document.','Y','Y','N','N','N','N','N','Discount Printed',0,0,TO_TIMESTAMP('2008-03-23 20:49:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54861 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4302,54862,0,53104,TO_TIMESTAMP('2008-03-23 20:49:48','YYYY-MM-DD HH24:MI:SS'),100,'Description to be used on orders',60,'EE02','The Order Description identifies the standard description to use on orders for this Customer.','Y','Y','N','N','N','N','N','Order Description',0,0,TO_TIMESTAMP('2008-03-23 20:49:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54862 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4429,54863,0,53104,TO_TIMESTAMP('2008-03-23 20:49:48','YYYY-MM-DD HH24:MI:SS'),100,'Frequency and method of invoicing ',14,'EE02','The Invoice Rule defines how a Business Partner is invoiced and the frequency of invoicing.','Y','Y','N','N','N','N','N','Invoice Rule',0,0,TO_TIMESTAMP('2008-03-23 20:49:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54863 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2894,54864,0,53104,TO_TIMESTAMP('2008-03-23 20:49:50','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:49:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54864 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2895,54865,0,53104,TO_TIMESTAMP('2008-03-23 20:49:50','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:49:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54865 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2901,54866,0,53104,TO_TIMESTAMP('2008-03-23 20:49:51','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',11,'EE02','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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','Y','Y','N','N','N','N','Search Key',30,1,TO_TIMESTAMP('2008-03-23 20:49:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54866 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2927,54867,0,53104,TO_TIMESTAMP('2008-03-23 20:49:53','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  this Business Partner is an employee',1,'EE02','The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.','Y','Y','Y','N','N','N','Y','Employee',40,0,TO_TIMESTAMP('2008-03-23 20:49:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54867 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2902,54868,0,53104,TO_TIMESTAMP('2008-03-23 20:49:54','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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',50,0,TO_TIMESTAMP('2008-03-23 20:49:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54868 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:56 PM CST
-- Human Resource & Payroll
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,4216,54869,0,53104,TO_TIMESTAMP('2008-03-23 20:49:55','YYYY-MM-DD HH24:MI:SS'),100,'Additional Name',60,'EE02','Y','Y','Y','N','N','N','N','Name 2',60,0,TO_TIMESTAMP('2008-03-23 20:49:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54869 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2903,54870,0,53104,TO_TIMESTAMP('2008-03-23 20:49:56','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',60,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',70,0,TO_TIMESTAMP('2008-03-23 20:49:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54870 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:49:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2896,54871,0,53104,TO_TIMESTAMP('2008-03-23 20:49:57','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:49:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:49:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54871 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4940,54872,0,53104,TO_TIMESTAMP('2008-03-23 20:49:58','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group',14,'EE02','The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','Y','N','N','N','N','Business Partner Group',90,0,TO_TIMESTAMP('2008-03-23 20:49:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54872 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2909,54873,0,53104,TO_TIMESTAMP('2008-03-23 20:50:00','YYYY-MM-DD HH24:MI:SS'),100,'Tax Identification',20,'EE02','The Tax ID field identifies the legal Identification number of this Entity.','Y','Y','Y','N','N','N','N','Tax ID',100,0,TO_TIMESTAMP('2008-03-23 20:50:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54873 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,4021,54874,0,53104,TO_TIMESTAMP('2008-03-23 20:50:01','YYYY-MM-DD HH24:MI:SS'),100,'Purchase payment option',14,'EE02','The Payment Rule indicates the method of purchase payment.','Y','Y','Y','N','N','Y','Y','Payment Rule',110,0,TO_TIMESTAMP('2008-03-23 20:50:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54874 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2929,54875,0,53104,TO_TIMESTAMP('2008-03-23 20:50:03','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  the business partner is a sales representative or company agent',1,'EE02','The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an emplyee, but does not need to be.','Y','Y','Y','N','N','N','N','Sales Representative',120,0,TO_TIMESTAMP('2008-03-23 20:50:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54875 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:06 PM CST
-- Human Resource & Payroll
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,4431,54876,0,53104,TO_TIMESTAMP('2008-03-23 20:50:05','YYYY-MM-DD HH24:MI:SS'),100,'Sales Representative or Company Agent',14,'@IsSalesRep@ = ''Y''','EE02','The Sales Representative indicates the Sales Rep for this Region.  Any Sales Rep must be a valid internal user.','Y','Y','Y','N','N','N','Y','Sales Representative',130,0,TO_TIMESTAMP('2008-03-23 20:50:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54876 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3081,54877,0,53104,TO_TIMESTAMP('2008-03-23 20:50:06','YYYY-MM-DD HH24:MI:SS'),100,'Full URL address - e.g. http://www.adempiere.org',11,'EE02','The URL defines an fully qualified web address like http://www.adempiere.org','Y','Y','Y','N','N','N','N','URL',140,0,TO_TIMESTAMP('2008-03-23 20:50:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54877 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=123, AccessLevel='3', Description=NULL, EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='N', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='C_BP_Employee_Acct', ReplicationType='L', TableName='C_BP_Employee_Acct',Updated=TO_TIMESTAMP('2008-03-23 20:50:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=184
;

-- Mar 23, 2008 8:50:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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('2008-03-23 20:50:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2421
;

-- Mar 23, 2008 8:50:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=2421 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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('2008-03-23 20:50:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2422
;

-- Mar 23, 2008 8:50:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=2422 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:10 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:50:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=181
;

-- Mar 23, 2008 8:50:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=181
;

-- Mar 23, 2008 8:50:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=181, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Accounting Schema', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=1100
;

-- Mar 23, 2008 8:50:11 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Accounting Schema', Description='Rules for accounting', Help='An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar' WHERE AD_Column_ID=1100 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:50:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2757
;

-- Mar 23, 2008 8:50:12 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=2757 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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('2008-03-23 20:50:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2424
;

-- Mar 23, 2008 8:50:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=2424 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=184, 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('2008-03-23 20:50:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2425
;

-- Mar 23, 2008 8:50:13 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=2425 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='E_Expense_Acct', Description='Account for Employee Expenses', EntityType='D', Help='The Employee Expense Account identifies the account to use for recording expenses for this employee.', IsActive='Y', Name='Employee Expense', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Employee Expense',Updated=TO_TIMESTAMP('2008-03-23 20:50:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1019
;

-- Mar 23, 2008 8:50:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1019
;

-- Mar 23, 2008 8:50:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1019, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=184, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='E_Expense_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description='Account for Employee Expenses', EntityType='D', FieldLength=22, Help='The Employee Expense Account identifies the account to use for recording expenses for this employee.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Employee Expense', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3381
;

-- Mar 23, 2008 8:50:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Employee Expense', Description='Account for Employee Expenses', Help='The Employee Expense Account identifies the account to use for recording expenses for this employee.' WHERE AD_Column_ID=3381 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='E_Prepayment_Acct', Description='Account for Employee Expense Prepayments', EntityType='D', Help='The Employee Prepayment Account identifies the account to use for recording expense advances made to this employee.', IsActive='Y', Name='Employee Prepayment', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Employee Prepayment',Updated=TO_TIMESTAMP('2008-03-23 20:50:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1020
;

-- Mar 23, 2008 8:50:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1020
;

-- Mar 23, 2008 8:50:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1020, AD_Process_ID=NULL, AD_Reference_ID=25, AD_Reference_Value_ID=NULL, AD_Table_ID=184, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='E_Prepayment_Acct', ColumnSQL=NULL, DefaultValue=NULL, Description='Account for Employee Expense Prepayments', EntityType='D', FieldLength=22, Help='The Employee Prepayment Account identifies the account to use for recording expense advances made to this employee.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Employee Prepayment', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3382
;

-- Mar 23, 2008 8:50:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Employee Prepayment', Description='Account for Employee Expense Prepayments', Help='The Employee Prepayment Account identifies the account to use for recording expense advances made to this employee.' WHERE AD_Column_ID=3382 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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('2008-03-23 20:50:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2423
;

-- Mar 23, 2008 8:50:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=2423 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=184, 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('2008-03-23 20:50:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2426
;

-- Mar 23, 2008 8:50:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=2426 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=184, 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('2008-03-23 20:50:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2427
;

-- Mar 23, 2008 8:50:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=2427 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:20 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,2757,0,53105,184,53033,NULL,TO_TIMESTAMP('2008-03-23 20:50:19','YYYY-MM-DD HH24:MI:SS'),100,'Define Employee Accounting','EE02','N','The Employee Accounting Tab defines the default accounts to use when this business partner is referenced on a expense reimbursement.','Y','N','Y','N','N','Y','N','N','Employee Accounting','N',75,1,TO_TIMESTAMP('2008-03-23 20:50:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:20 PM CST
-- Human Resource & Payroll
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=53105 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:50:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2421,54878,0,53105,TO_TIMESTAMP('2008-03-23 20:50:20','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:50:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54878 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2422,54879,0,53105,TO_TIMESTAMP('2008-03-23 20:50:21','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:50:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54879 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2757,54880,0,53105,TO_TIMESTAMP('2008-03-23 20:50:22','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',14,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','Y','N','Business Partner ',30,0,TO_TIMESTAMP('2008-03-23 20:50:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54880 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,1100,54881,0,53105,TO_TIMESTAMP('2008-03-23 20:50:23','YYYY-MM-DD HH24:MI:SS'),100,'Rules for accounting',14,'EE02','An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','Y','Y','N','N','Y','N','Accounting Schema',40,1,TO_TIMESTAMP('2008-03-23 20:50:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54881 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2423,54882,0,53105,TO_TIMESTAMP('2008-03-23 20:50:24','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:50:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54882 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3381,54883,0,53105,TO_TIMESTAMP('2008-03-23 20:50:25','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Expenses',26,'EE02','The Employee Expense Account identifies the account to use for recording expenses for this employee.','Y','Y','Y','N','N','N','N','Employee Expense',60,0,TO_TIMESTAMP('2008-03-23 20:50:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54883 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3382,54884,0,53105,TO_TIMESTAMP('2008-03-23 20:50:28','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Expense Prepayments',26,'EE02','The Employee Prepayment Account identifies the account to use for recording expense advances made to this employee.','Y','Y','Y','N','N','N','N','Employee Prepayment',70,0,TO_TIMESTAMP('2008-03-23 20:50:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:50:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54884 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:50:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=123, AccessLevel='3', Description='Bank Account of the Business Partner', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Partner Bank Account', ReplicationType='L', TableName='C_BP_BankAccount',Updated=TO_TIMESTAMP('2008-03-23 20:50:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=298
;

-- Mar 23, 2008 8:50:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='RoutingNo', Description='Bank Routing Number', EntityType='D', Help='The Bank Routing Number (ABA Number) identifies a legal Bank.  It is used in routing checks and electronic transactions.', IsActive='Y', Name='Routing No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Routing No',Updated=TO_TIMESTAMP('2008-03-23 20:50:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=964
;

-- Mar 23, 2008 8:50:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=964
;

-- Mar 23, 2008 8:50:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=964, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='RoutingNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank Routing Number', EntityType='D', FieldLength=20, Help='The Bank Routing Number (ABA Number) identifies a legal Bank.  It is used in routing checks and electronic transactions.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Routing No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3104
;

-- Mar 23, 2008 8:50:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Routing No', Description='Bank Routing Number', Help='The Bank Routing Number (ABA Number) identifies a legal Bank.  It is used in routing checks and electronic transactions.' WHERE AD_Column_ID=3104 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Country', Description='Country', EntityType='D', Help='Account Country Name', IsActive='Y', Name='Account Country', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Country',Updated=TO_TIMESTAMP('2008-03-23 20:50:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1988
;

-- Mar 23, 2008 8:50:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1988
;

-- Mar 23, 2008 8:50:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1988, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Country', ColumnSQL=NULL, DefaultValue=NULL, Description='Country', EntityType='D', FieldLength=40, Help='Account Country Name', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Country', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8212
;

-- Mar 23, 2008 8:50:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account Country', Description='Country', Help='Account Country Name' WHERE AD_Column_ID=8212 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Name', Description='Name on Credit Card or Account holder', EntityType='D', Help='The Name of the Credit Card or Account holder.', IsActive='Y', Name='Account Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Account Name',Updated=TO_TIMESTAMP('2008-03-23 20:50:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1354
;

-- Mar 23, 2008 8:50:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1354
;

-- Mar 23, 2008 8:50:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1354, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Name', ColumnSQL=NULL, DefaultValue=NULL, Description='Name on Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The Name of the Credit Card or Account holder.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Name', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5232
;

-- Mar 23, 2008 8:50:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account Name', Description='Name on Credit Card or Account holder', Help='The Name of the Credit Card or Account holder.' WHERE AD_Column_ID=5232 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Bank_ID', Description='Bank', EntityType='D', Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', IsActive='Y', Name='Bank', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Bank',Updated=TO_TIMESTAMP('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=835
;

-- Mar 23, 2008 8:50:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=835
;

-- Mar 23, 2008 8:50:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=835, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Bank_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank', EntityType='D', FieldLength=22, Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank', ReadOnlyLogic=NULL, SeqNo=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3103
;

-- Mar 23, 2008 8:50:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Bank', Description='Bank', Help='The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.' WHERE AD_Column_ID=3103 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AccountNo', Description='Account Number', EntityType='D', Help='The Account Number indicates the Number assigned to this bank account. ', IsActive='Y', Name='Account No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Account No',Updated=TO_TIMESTAMP('2008-03-23 20:50:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=840
;

-- Mar 23, 2008 8:50:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=840
;

-- Mar 23, 2008 8:50:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=840, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AccountNo', ColumnSQL=NULL, DefaultValue=NULL, Description='Account Number', EntityType='D', FieldLength=20, Help='The Account Number indicates the Number assigned to this bank account. ', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='Y', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account No', ReadOnlyLogic=NULL, SeqNo=2, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3105
;

-- Mar 23, 2008 8:50:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account No', Description='Account Number', Help='The Account Number indicates the Number assigned to this bank account. ' WHERE AD_Column_ID=3105 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Ident_DL', Description='Payment Identification - Driver License', EntityType='D', Help='The Driver''s License being used as identification.', IsActive='Y', Name='Driver License', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Driver License',Updated=TO_TIMESTAMP('2008-03-23 20:50:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1352
;

-- Mar 23, 2008 8:50:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1352
;

-- Mar 23, 2008 8:50:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1352, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ident_DL', ColumnSQL=NULL, DefaultValue=NULL, Description='Payment Identification - Driver License', EntityType='D', FieldLength=20, Help='The Driver''s License being used as identification.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Driver License', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5230
;

-- Mar 23, 2008 8:50:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Driver License', Description='Payment Identification - Driver License', Help='The Driver''s License being used as identification.' WHERE AD_Column_ID=5230 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Ident_SSN', Description='Payment Identification - Social Security No', EntityType='D', Help='The Social Security number being used as identification.', IsActive='Y', Name='Social Security No', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Social Security No',Updated=TO_TIMESTAMP('2008-03-23 20:50:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1353
;

-- Mar 23, 2008 8:50:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1353
;

-- Mar 23, 2008 8:50:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1353, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Ident_SSN', ColumnSQL=NULL, DefaultValue=NULL, Description='Payment Identification - Social Security No', EntityType='D', FieldLength=20, Help='The Social Security number being used as identification.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Social Security No', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5231
;

-- Mar 23, 2008 8:50:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Social Security No', Description='Payment Identification - Social Security No', Help='The Social Security number being used as identification.' WHERE AD_Column_ID=5231 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:37 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1355
;

-- Mar 23, 2008 8:50:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1355
;

-- Mar 23, 2008 8:50:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1355, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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=40, 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=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5233
;

-- Mar 23, 2008 8:50:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account State', Description='State of the Credit Card or Account holder', Help='The State of the Credit Card or Account holder' WHERE AD_Column_ID=5233 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Street', Description='Street address of the Credit Card or Account holder', EntityType='D', Help='The Street Address of the Credit Card or Account holder.', IsActive='Y', Name='Account Street', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Street',Updated=TO_TIMESTAMP('2008-03-23 20:50:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1356
;

-- Mar 23, 2008 8:50:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1356
;

-- Mar 23, 2008 8:50:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1356, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Street', ColumnSQL=NULL, DefaultValue=NULL, Description='Street address of the Credit Card or Account holder', EntityType='D', FieldLength=60, Help='The Street Address 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 Street', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5234
;

-- Mar 23, 2008 8:50:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account Street', Description='Street address of the Credit Card or Account holder', Help='The Street Address of the Credit Card or Account holder.' WHERE AD_Column_ID=5234 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_Zip', Description='Zip Code of the Credit Card or Account Holder', EntityType='D', Help='The Zip Code of the Credit Card or Account Holder.', IsActive='Y', Name='Account Zip/Postal', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Zip ',Updated=TO_TIMESTAMP('2008-03-23 20:50:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1357
;

-- Mar 23, 2008 8:50:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1357
;

-- Mar 23, 2008 8:50:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1357, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_Zip', ColumnSQL=NULL, DefaultValue=NULL, Description='Zip Code of the Credit Card or Account Holder', EntityType='D', FieldLength=20, Help='The Zip Code 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 Zip/Postal', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5235
;

-- Mar 23, 2008 8:50:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account Zip/Postal', Description='Zip Code of the Credit Card or Account Holder', Help='The Zip Code of the Credit Card or Account Holder.' WHERE AD_Column_ID=5235 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='BPBankAcctUse', Description='Business Partner Bank Account usage', EntityType='D', Help='Determines how the bank account is used.', IsActive='Y', Name='Account Usage', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Account Usage',Updated=TO_TIMESTAMP('2008-03-23 20:50:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=3086
;

-- Mar 23, 2008 8:50:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=3086
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='C_BPartner BPBankAcctUse', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:50:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=393
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=393
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=393, Description=NULL, EntityType='D', IsActive='Y', Name='None', Value='N',Updated=TO_TIMESTAMP('2008-03-23 20:50:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=920
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=920
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=393, Description=NULL, EntityType='D', IsActive='Y', Name='Both', Value='B',Updated=TO_TIMESTAMP('2008-03-23 20:50:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=921
;

-- Mar 23, 2008 8:50:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=921
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=393, Description=NULL, EntityType='D', IsActive='Y', Name='Direct Debit', Value='D',Updated=TO_TIMESTAMP('2008-03-23 20:50:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=922
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=922
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=393, Description=NULL, EntityType='D', IsActive='Y', Name='Direct Deposit', Value='T',Updated=TO_TIMESTAMP('2008-03-23 20:50:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=923
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=923
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=3086, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=393, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='BPBankAcctUse', ColumnSQL=NULL, DefaultValue='B', Description='Business Partner Bank Account usage', EntityType='D', FieldLength=1, Help='Determines how the bank account is used.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Account Usage', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:50:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15918
;

-- Mar 23, 2008 8:50:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account Usage', Description='Business Partner Bank Account usage', Help='Determines how the bank account is used.' WHERE AD_Column_ID=15918 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='BankAccountType', Description='Bank Account Type', EntityType='D', Help='The Bank Account Type field indicates the type of account (savings, checking etc) this account  is defined as.', IsActive='Y', Name='Bank Account Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Account type',Updated=TO_TIMESTAMP('2008-03-23 20:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1461
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1461
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='C_Bank Account Type', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=216
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=216
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=216, Description=NULL, EntityType='D', IsActive='Y', Name='Checking', Value='C',Updated=TO_TIMESTAMP('2008-03-23 20:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=409
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=409
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=216, Description=NULL, EntityType='D', IsActive='Y', Name='Savings', Value='S',Updated=TO_TIMESTAMP('2008-03-23 20:50:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=410
;

-- Mar 23, 2008 8:50:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=410
;

-- Mar 23, 2008 8:50:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1461, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=216, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='BankAccountType', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank Account Type', EntityType='D', FieldLength=1, Help='The Bank Account Type field indicates the type of account (savings, checking etc) this account  is defined as.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Bank Account Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5236
;

-- Mar 23, 2008 8:50:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Bank Account Type', Description='Bank Account Type', Help='The Bank Account Type field indicates the type of account (savings, checking etc) this account  is defined as.' WHERE AD_Column_ID=5236 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_BP_BankAccount_ID', Description='Bank Account of the Business Partner', EntityType='D', Help='The Partner Bank Account identifies the bank account to be used for this Business Partner', IsActive='Y', Name='Partner Bank Account', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Bank Account',Updated=TO_TIMESTAMP('2008-03-23 20:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=837
;

-- Mar 23, 2008 8:50:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=837
;

-- Mar 23, 2008 8:50:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=837, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_BP_BankAccount_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Bank Account of the Business Partner', EntityType='D', FieldLength=22, Help='The Partner Bank Account identifies the bank account to be used for this Business Partner', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Partner Bank Account', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3094
;

-- Mar 23, 2008 8:50:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Partner Bank Account', Description='Bank Account of the Business Partner', Help='The Partner Bank Account identifies the bank account to be used for this Business Partner' WHERE AD_Column_ID=3094 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:47 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:50:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=230
;

-- Mar 23, 2008 8:50:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3102
;

-- Mar 23, 2008 8:50:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=3102 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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('2008-03-23 20:50:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3097
;

-- Mar 23, 2008 8:50:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=3097 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=298, 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('2008-03-23 20:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3100
;

-- Mar 23, 2008 8:50:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=3100 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='CreditCardExpMM', Description='Expiry Month', EntityType='D', Help='The Expiry Month indicates the expiry month for this credit card.', IsActive='Y', Name='Exp. Month', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Exp. Month',Updated=TO_TIMESTAMP('2008-03-23 20:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1084
;

-- Mar 23, 2008 8:50:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1084
;

-- Mar 23, 2008 8:50:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1084, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreditCardExpMM', ColumnSQL=NULL, DefaultValue=NULL, Description='Expiry Month', EntityType='D', FieldLength=22, Help='The Expiry Month indicates the expiry month for this credit card.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Exp. Month', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5237
;

-- Mar 23, 2008 8:50:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Exp. Month', Description='Expiry Month', Help='The Expiry Month indicates the expiry month for this credit card.' WHERE AD_Column_ID=5237 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='CreditCardExpYY', Description='Expiry Year', EntityType='D', Help='The Expiry Year indicates the expiry year for this credit card.', IsActive='Y', Name='Exp. Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Exp. Year',Updated=TO_TIMESTAMP('2008-03-23 20:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1085
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1085
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1085, AD_Process_ID=NULL, AD_Reference_ID=11, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreditCardExpYY', ColumnSQL=NULL, DefaultValue='2000', Description='Expiry Year', EntityType='D', FieldLength=22, Help='The Expiry Year indicates the expiry year for this credit card.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Exp. Year', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5238
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Exp. Year', Description='Expiry Year', Help='The Expiry Year indicates the expiry year for this credit card.' WHERE AD_Column_ID=5238 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='CreditCardNumber', Description='Credit Card Number ', EntityType='D', Help='The Credit Card number indicates the number on the credit card, without blanks or spaces.', IsActive='Y', Name='Number', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Number',Updated=TO_TIMESTAMP('2008-03-23 20:50:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=249
;

-- Mar 23, 2008 8:50:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=249
;

-- Mar 23, 2008 8:50:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=249, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreditCardNumber', ColumnSQL=NULL, DefaultValue=NULL, Description='Credit Card Number ', EntityType='D', FieldLength=20, Help='The Credit Card number indicates the number on the credit card, without blanks or spaces.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Number', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5239
;

-- Mar 23, 2008 8:50:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Number', Description='Credit Card Number ', Help='The Credit Card number indicates the number on the credit card, without blanks or spaces.' WHERE AD_Column_ID=5239 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='CreditCardType', Description='Credit Card (Visa, MC, AmEx)', EntityType='D', Help='The Credit Card drop down list box is used for selecting the type of Credit Card presented for payment.', IsActive='Y', Name='Credit Card', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Credit Card',Updated=TO_TIMESTAMP('2008-03-23 20:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1012
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1012
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='C_Payment Credit Card Type list', EntityType='D', Help=NULL, IsActive='Y', Name='C_Payment CreditCard Type', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=149
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=149
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='Y', Name='Amex', Value='A',Updated=TO_TIMESTAMP('2008-03-23 20:50:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=210
;

-- Mar 23, 2008 8:50:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=210
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='Y', Name='MasterCard', Value='M',Updated=TO_TIMESTAMP('2008-03-23 20:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=211
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=211
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='Y', Name='Visa', Value='V',Updated=TO_TIMESTAMP('2008-03-23 20:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=212
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=212
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='N', Name='ATM', Value='C',Updated=TO_TIMESTAMP('2008-03-23 20:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=213
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=213
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='Y', Name='Diners', Value='D',Updated=TO_TIMESTAMP('2008-03-23 20:50:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=417
;

-- Mar 23, 2008 8:50:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=417
;

-- Mar 23, 2008 8:50:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=149, Description=NULL, EntityType='D', IsActive='Y', Name='Discover', Value='N',Updated=TO_TIMESTAMP('2008-03-23 20:50:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=418
;

-- Mar 23, 2008 8:50:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=418
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1012, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=149, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreditCardType', ColumnSQL=NULL, DefaultValue=NULL, Description='Credit Card (Visa, MC, AmEx)', EntityType='D', FieldLength=1, Help='The Credit Card drop down list box is used for selecting the type of Credit Card presented for payment.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Credit Card', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5240
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Credit Card', Description='Credit Card (Visa, MC, AmEx)', Help='The Credit Card drop down list box is used for selecting the type of Credit Card presented for payment.' WHERE AD_Column_ID=5240 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='CreditCardVV', Description='Credit Card Verification code on credit card', EntityType='D', Help='The Credit Card Verification indicates the verification code on the credit card (AMEX 4 digits on front; MC,Visa 3 digits back)', IsActive='Y', Name='Verification Code', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Verification',Updated=TO_TIMESTAMP('2008-03-23 20:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1393
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1393
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1393, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='CreditCardVV', ColumnSQL=NULL, DefaultValue=NULL, Description='Credit Card Verification code on credit card', EntityType='D', FieldLength=4, Help='The Credit Card Verification indicates the verification code on the credit card (AMEX 4 digits on front; MC,Visa 3 digits back)', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Verification Code', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5223
;

-- Mar 23, 2008 8:50:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Verification Code', Description='Credit Card Verification code on credit card', Help='The Credit Card Verification indicates the verification code on the credit card (AMEX 4 digits on front; MC,Visa 3 digits back)' WHERE AD_Column_ID=5223 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsACH', Description='Automatic Clearing House', EntityType='D', Help='The ACH checkbox indicates if this Bank Account accepts ACH transactions.', IsActive='Y', Name='ACH', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ACH',Updated=TO_TIMESTAMP('2008-03-23 20:50:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1473
;

-- Mar 23, 2008 8:50:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1473
;

-- Mar 23, 2008 8:50:58 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1473, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsACH', ColumnSQL=NULL, DefaultValue=NULL, Description='Automatic Clearing House', EntityType='D', FieldLength=1, Help='The ACH checkbox indicates if this Bank Account accepts ACH transactions.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='ACH', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:50:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5225
;

-- Mar 23, 2008 8:50:58 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='ACH', Description='Automatic Clearing House', Help='The ACH checkbox indicates if this Bank Account accepts ACH transactions.' WHERE AD_Column_ID=5225 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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('2008-03-23 20:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3099
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=3099 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='R_AvsAddr', Description='This address has been verified', EntityType='D', Help='The Address Verified indicates if the address has been verified by the Credit Card Company.', IsActive='Y', Name='Address verified', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Address verified',Updated=TO_TIMESTAMP('2008-03-23 20:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1423
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1423
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='C_Payment AVS', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:50:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=213
;

-- Mar 23, 2008 8:50:59 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=213
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=213, Description=NULL, EntityType='D', IsActive='Y', Name='Match', Value='Y',Updated=TO_TIMESTAMP('2008-03-23 20:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=397
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=397
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=213, Description=NULL, EntityType='D', IsActive='Y', Name='No Match', Value='N',Updated=TO_TIMESTAMP('2008-03-23 20:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=398
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=398
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=213, Description=NULL, EntityType='D', IsActive='Y', Name='Unavailable', Value='X',Updated=TO_TIMESTAMP('2008-03-23 20:51:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=399
;

-- Mar 23, 2008 8:51:00 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=399
;

-- Mar 23, 2008 8:51:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1423, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=213, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='R_AvsAddr', ColumnSQL=NULL, DefaultValue=NULL, Description='This address has been verified', EntityType='D', FieldLength=1, Help='The Address Verified indicates if the address has been verified by the Credit Card Company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Address verified', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5226
;

-- Mar 23, 2008 8:51:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Address verified', Description='This address has been verified', Help='The Address Verified indicates if the address has been verified by the Credit Card Company.' WHERE AD_Column_ID=5226 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='R_AvsZip', Description='The Zip Code has been verified', EntityType='D', Help='The Zip Verified indicates if the zip code has been verified by the Credit Card Company.', IsActive='Y', Name='Zip verified', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Zip verified',Updated=TO_TIMESTAMP('2008-03-23 20:51:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1424
;

-- Mar 23, 2008 8:51:01 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1424
;

-- Mar 23, 2008 8:51:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1424, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=213, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='R_AvsZip', ColumnSQL=NULL, DefaultValue=NULL, Description='The Zip Code has been verified', EntityType='D', FieldLength=1, Help='The Zip Verified indicates if the zip code has been verified by the Credit Card Company.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Zip verified', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5227
;

-- Mar 23, 2008 8:51:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Zip verified', Description='The Zip Code has been verified', Help='The Zip Verified indicates if the zip code has been verified by the Credit Card Company.' WHERE AD_Column_ID=5227 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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('2008-03-23 20:51:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3098
;

-- Mar 23, 2008 8:51:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=3098 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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('2008-03-23 20:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3095
;

-- Mar 23, 2008 8:51:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=3095 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=298, 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('2008-03-23 20:51:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3101
;

-- Mar 23, 2008 8:51:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=3101 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=298, 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('2008-03-23 20:51:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3096
;

-- Mar 23, 2008 8:51:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=3096 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=123, Callout=NULL, ColumnName='AD_User_ID', ColumnSQL=NULL, DefaultValue='-1', 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('2008-03-23 20:51:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5224
;

-- Mar 23, 2008 8:51:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=5224 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_City', Description='City or the Credit Card or Account Holder', EntityType='D', Help='The Account City indicates the City of the Credit Card or Account holder', IsActive='Y', Name='Account City', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='City',Updated=TO_TIMESTAMP('2008-03-23 20:51:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1350
;

-- Mar 23, 2008 8:51:06 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1350
;

-- Mar 23, 2008 8:51:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1350, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_City', ColumnSQL=NULL, DefaultValue=NULL, Description='City or the Credit Card or Account Holder', EntityType='D', FieldLength=60, Help='The Account City indicates the City 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 City', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5228
;

-- Mar 23, 2008 8:51:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account City', Description='City or the Credit Card or Account Holder', Help='The Account City indicates the City of the Credit Card or Account holder' WHERE AD_Column_ID=5228 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='A_EMail', Description='Email Address', EntityType='D', Help='The EMail Address indicates the EMail address off the Credit Card or Account holder.', IsActive='Y', Name='Account EMail', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail',Updated=TO_TIMESTAMP('2008-03-23 20:51:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1351
;

-- Mar 23, 2008 8:51:07 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1351
;

-- Mar 23, 2008 8:51:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1351, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=298, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='A_EMail', ColumnSQL=NULL, DefaultValue=NULL, Description='Email Address', EntityType='D', FieldLength=60, Help='The EMail Address indicates the EMail address off 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 EMail', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5229
;

-- Mar 23, 2008 8:51:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Account EMail', Description='Email Address', Help='The EMail Address indicates the EMail address off the Credit Card or Account holder.' WHERE AD_Column_ID=5229 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:09 PM CST
-- Human Resource & Payroll
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,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53106,298,53033,NULL,TO_TIMESTAMP('2008-03-23 20:51:08','YYYY-MM-DD HH24:MI:SS'),100,'Define Bank Account','EE02','N','The Define Bank Account Tab defines the banking information for this business partner.  This data is used for processing payments and remittances.','Y','N','N','Y','N','Y','N','N','Bank Account','N',80,1,TO_TIMESTAMP('2008-03-23 20:51:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:09 PM CST
-- Human Resource & Payroll
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=53106 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:51:10 PM CST
-- Human Resource & Payroll
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,15918,54885,0,53106,TO_TIMESTAMP('2008-03-23 20:51:09','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Bank Account usage',1,'@IsACH@=Y','EE02','Determines how the bank account is used.','Y','Y','N','N','N','N','Y','Account Usage',0,0,TO_TIMESTAMP('2008-03-23 20:51:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54885 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5234,54886,0,53106,TO_TIMESTAMP('2008-03-23 20:51:10','YYYY-MM-DD HH24:MI:SS'),100,'Street address of the Credit Card or Account holder',20,'EE02','The Street Address of the Credit Card or Account holder.','Y','Y','N','N','N','N','Y','Account Street',0,0,TO_TIMESTAMP('2008-03-23 20:51:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54886 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5235,54887,0,53106,TO_TIMESTAMP('2008-03-23 20:51:10','YYYY-MM-DD HH24:MI:SS'),100,'Zip Code of the Credit Card or Account Holder',20,'EE02','The Zip Code of the Credit Card or Account Holder.','Y','Y','N','N','N','N','Y','Account Zip/Postal',0,0,TO_TIMESTAMP('2008-03-23 20:51:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54887 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:12 PM CST
-- Human Resource & Payroll
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,5237,54888,0,53106,TO_TIMESTAMP('2008-03-23 20:51:11','YYYY-MM-DD HH24:MI:SS'),100,'Expiry Month',11,'@IsACH@=N','EE02','The Expiry Month indicates the expiry month for this credit card.','Y','Y','N','N','N','N','N','Exp. Month',0,0,TO_TIMESTAMP('2008-03-23 20:51:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54888 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:13 PM CST
-- Human Resource & Payroll
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,5238,54889,0,53106,TO_TIMESTAMP('2008-03-23 20:51:12','YYYY-MM-DD HH24:MI:SS'),100,'Expiry Year',11,'@IsACH@=N','EE02','The Expiry Year indicates the expiry year for this credit card.','Y','Y','N','N','N','N','Y','Exp. Year',0,0,TO_TIMESTAMP('2008-03-23 20:51:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54889 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:14 PM CST
-- Human Resource & Payroll
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,5239,54890,0,53106,TO_TIMESTAMP('2008-03-23 20:51:13','YYYY-MM-DD HH24:MI:SS'),100,'Credit Card Number ',20,'@IsACH@=N','EE02','The Credit Card number indicates the number on the credit card, without blanks or spaces.','Y','Y','N','N','N','N','N','Number',0,0,TO_TIMESTAMP('2008-03-23 20:51:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54890 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:15 PM CST
-- Human Resource & Payroll
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,5240,54891,0,53106,TO_TIMESTAMP('2008-03-23 20:51:14','YYYY-MM-DD HH24:MI:SS'),100,'Credit Card (Visa, MC, AmEx)',14,'@IsACH@=N','EE02','The Credit Card drop down list box is used for selecting the type of Credit Card presented for payment.','Y','Y','N','N','N','N','N','Credit Card',0,0,TO_TIMESTAMP('2008-03-23 20:51:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54891 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8212,54892,0,53106,TO_TIMESTAMP('2008-03-23 20:51:15','YYYY-MM-DD HH24:MI:SS'),100,'Country',20,'EE02','Account Country Name','Y','Y','N','N','N','N','Y','Account Country',0,0,TO_TIMESTAMP('2008-03-23 20:51:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54892 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3094,54893,0,53106,TO_TIMESTAMP('2008-03-23 20:51:16','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account of the Business Partner',14,'EE02','The Partner Bank Account identifies the bank account to be used for this Business Partner','Y','Y','N','N','N','N','N','Partner Bank Account',0,0,TO_TIMESTAMP('2008-03-23 20:51:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54893 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:18 PM CST
-- Human Resource & Payroll
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,3104,54894,0,53106,TO_TIMESTAMP('2008-03-23 20:51:16','YYYY-MM-DD HH24:MI:SS'),100,'Bank Routing Number',20,'@IsACH@=Y & @C_Bank_ID@=0','EE02','The Bank Routing Number (ABA Number) identifies a legal Bank.  It is used in routing checks and electronic transactions.','Y','Y','N','N','N','N','Y','Routing No',0,0,TO_TIMESTAMP('2008-03-23 20:51:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54894 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:18 PM CST
-- Human Resource & Payroll
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,3105,54895,0,53106,TO_TIMESTAMP('2008-03-23 20:51:18','YYYY-MM-DD HH24:MI:SS'),100,'Account Number',20,'@IsACH@=Y','EE02','The Account Number indicates the Number assigned to this bank account. ','Y','Y','N','N','N','N','N','Account No',0,0,TO_TIMESTAMP('2008-03-23 20:51:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54895 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:19 PM CST
-- Human Resource & Payroll
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,5223,54896,0,53106,TO_TIMESTAMP('2008-03-23 20:51:19','YYYY-MM-DD HH24:MI:SS'),100,'Credit Card Verification code on credit card',5,'@IsACH@=N','EE02','The Credit Card Verification indicates the verification code on the credit card (AMEX 4 digits on front; MC,Visa 3 digits back)','Y','Y','N','N','N','N','Y','Verification Code',0,0,TO_TIMESTAMP('2008-03-23 20:51:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54896 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5225,54897,0,53106,TO_TIMESTAMP('2008-03-23 20:51:19','YYYY-MM-DD HH24:MI:SS'),100,'Automatic Clearing House',1,'EE02','The ACH checkbox indicates if this Bank Account accepts ACH transactions.','Y','Y','N','N','N','N','N','ACH',0,0,TO_TIMESTAMP('2008-03-23 20:51:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54897 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5226,54898,0,53106,TO_TIMESTAMP('2008-03-23 20:51:20','YYYY-MM-DD HH24:MI:SS'),100,'This address has been verified',14,'EE02','The Address Verified indicates if the address has been verified by the Credit Card Company.','Y','Y','N','N','N','N','N','Address verified',0,0,TO_TIMESTAMP('2008-03-23 20:51:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54898 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5227,54899,0,53106,TO_TIMESTAMP('2008-03-23 20:51:21','YYYY-MM-DD HH24:MI:SS'),100,'The Zip Code has been verified',14,'EE02','The Zip Verified indicates if the zip code has been verified by the Credit Card Company.','Y','Y','N','N','N','Y','Y','Zip verified',0,0,TO_TIMESTAMP('2008-03-23 20:51:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54899 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5228,54900,0,53106,TO_TIMESTAMP('2008-03-23 20:51:22','YYYY-MM-DD HH24:MI:SS'),100,'City or the Credit Card or Account Holder',20,'EE02','The Account City indicates the City of the Credit Card or Account holder','Y','Y','N','N','N','N','N','Account City',0,0,TO_TIMESTAMP('2008-03-23 20:51:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54900 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5229,54901,0,53106,TO_TIMESTAMP('2008-03-23 20:51:23','YYYY-MM-DD HH24:MI:SS'),100,'Email Address',20,'EE02','The EMail Address indicates the EMail address off the Credit Card or Account holder.','Y','Y','N','N','N','N','N','Account EMail',0,0,TO_TIMESTAMP('2008-03-23 20:51:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54901 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5230,54902,0,53106,TO_TIMESTAMP('2008-03-23 20:51:24','YYYY-MM-DD HH24:MI:SS'),100,'Payment Identification - Driver License',20,'EE02','The Driver''s License being used as identification.','Y','Y','N','N','N','N','N','Driver License',0,0,TO_TIMESTAMP('2008-03-23 20:51:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54902 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5231,54903,0,53106,TO_TIMESTAMP('2008-03-23 20:51:25','YYYY-MM-DD HH24:MI:SS'),100,'Payment Identification - Social Security No',20,'EE02','The Social Security number being used as identification.','Y','Y','N','N','N','N','Y','Social Security No',0,0,TO_TIMESTAMP('2008-03-23 20:51:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54903 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5233,54904,0,53106,TO_TIMESTAMP('2008-03-23 20:51:26','YYYY-MM-DD HH24:MI:SS'),100,'State of the Credit Card or Account holder',20,'EE02','The State of the Credit Card or Account holder','Y','Y','N','N','N','N','N','Account State',0,0,TO_TIMESTAMP('2008-03-23 20:51:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54904 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3095,54905,0,53106,TO_TIMESTAMP('2008-03-23 20:51:26','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:51:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54905 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3096,54906,0,53106,TO_TIMESTAMP('2008-03-23 20:51:27','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:51:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54906 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3102,54907,0,53106,TO_TIMESTAMP('2008-03-23 20:51:28','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',14,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','Y','N','Business Partner ',30,0,TO_TIMESTAMP('2008-03-23 20:51:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54907 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5224,54908,0,53106,TO_TIMESTAMP('2008-03-23 20:51:29','YYYY-MM-DD HH24:MI:SS'),100,'User within the system - Internal or Business Partner Contact',14,'EE02','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','N','User/Contact',40,0,TO_TIMESTAMP('2008-03-23 20:51:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54908 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3099,54909,0,53106,TO_TIMESTAMP('2008-03-23 20:51:31','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:51:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54909 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:33 PM CST
-- Human Resource & Payroll
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,3103,104,54910,0,53106,TO_TIMESTAMP('2008-03-23 20:51:32','YYYY-MM-DD HH24:MI:SS'),100,'Bank',14,'EE02','The Bank is a unique identifier of a Bank for this Organization or for a Business Partner with whom this Organization transacts.','Y','Y','Y','N','N','N','N','Bank',60,1,TO_TIMESTAMP('2008-03-23 20:51:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54910 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5236,54911,0,53106,TO_TIMESTAMP('2008-03-23 20:51:33','YYYY-MM-DD HH24:MI:SS'),100,'Bank Account Type',14,'EE02','The Bank Account Type field indicates the type of account (savings, checking etc) this account  is defined as.','Y','Y','Y','N','N','N','Y','Bank Account Type',70,0,TO_TIMESTAMP('2008-03-23 20:51:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54911 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5232,54912,0,53106,TO_TIMESTAMP('2008-03-23 20:51:34','YYYY-MM-DD HH24:MI:SS'),100,'Name on Credit Card or Account holder',20,'EE02','The Name of the Credit Card or Account holder.','Y','Y','Y','N','N','N','N','Account Name',80,0,TO_TIMESTAMP('2008-03-23 20:51:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54912 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=123, AccessLevel='3', Description='Identifies the (ship to) address for this Business Partner', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='N', IsSecurityEnabled='N', IsView='N', Name='Partner Location', ReplicationType='L', TableName='C_BPartner_Location',Updated=TO_TIMESTAMP('2008-03-23 20:51:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=293
;

-- Mar 23, 2008 8:51:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Name', ColumnSQL=NULL, DefaultValue='.', 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=1, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2960
;

-- Mar 23, 2008 8:51:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', 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.' WHERE AD_Column_ID=2960 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2952
;

-- Mar 23, 2008 8:51:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=2952 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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='Y', IsParent='Y', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Business Partner ', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2958
;

-- Mar 23, 2008 8:51:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=2958 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Partner Location', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3434
;

-- Mar 23, 2008 8:51:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Partner Location', Description='Identifies the (ship to) address for this Business Partner', Help='The Partner address indicates the location of a Business Partner' WHERE AD_Column_ID=3434 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:40 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=202
;

-- Mar 23, 2008 8:51:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=202
;

-- Mar 23, 2008 8:51:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Location/Address', EntityType='D', Help=NULL, IsActive='Y', Name='Location (Address)', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:51:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=21
;

-- Mar 23, 2008 8:51:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=21
;

-- Mar 23, 2008 8:51:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=202, AD_Process_ID=NULL, AD_Reference_ID=21, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout='org.adempiere.model.CalloutBPartnerLocation.formatPhone', 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='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2959
;

-- Mar 23, 2008 8:51:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Address', Description='Location or Address', Help='The Location / Address field defines the location of an entity.' WHERE AD_Column_ID=2959 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_SalesRegion_ID', Description='Sales coverage region', EntityType='D', Help='The Sales Region indicates a specific area of sales coverage.', IsActive='Y', Name='Sales Region', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Sales Region',Updated=TO_TIMESTAMP('2008-03-23 20:51:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=210
;

-- Mar 23, 2008 8:51:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=210
;

-- Mar 23, 2008 8:51:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=210, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_SalesRegion_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Sales coverage region', EntityType='D', FieldLength=22, Help='The Sales Region indicates a specific area of sales coverage.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Sales Region', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2968
;

-- Mar 23, 2008 8:51:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Sales Region', Description='Sales coverage region', Help='The Sales Region indicates a specific area of sales coverage.' WHERE AD_Column_ID=2968 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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('2008-03-23 20:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2954
;

-- Mar 23, 2008 8:51:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=2954 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=293, 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('2008-03-23 20:51:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2955
;

-- Mar 23, 2008 8:51:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=2955 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Fax', Description='Facsimile number', EntityType='D', Help='The Fax identifies a facsimile number for this Business Partner or  Location', IsActive='Y', Name='Fax', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Fax',Updated=TO_TIMESTAMP('2008-03-23 20:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=301
;

-- Mar 23, 2008 8:51:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=301
;

-- Mar 23, 2008 8:51:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=301, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Fax', ColumnSQL=NULL, DefaultValue=NULL, Description='Facsimile number', EntityType='D', FieldLength=40, Help='The Fax identifies a facsimile number for this Business Partner or  Location', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Fax', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2966
;

-- Mar 23, 2008 8:51:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Fax', Description='Facsimile number', Help='The Fax identifies a facsimile number for this Business Partner or  Location' WHERE AD_Column_ID=2966 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ISDN', Description='ISDN or modem line', EntityType='D', Help='The ISDN identifies a ISDN or Modem line number.', IsActive='Y', Name='ISDN', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='ISDN',Updated=TO_TIMESTAMP('2008-03-23 20:51:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=327
;

-- Mar 23, 2008 8:51:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=327
;

-- Mar 23, 2008 8:51:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=327, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ISDN', ColumnSQL=NULL, DefaultValue=NULL, Description='ISDN or modem line', EntityType='D', FieldLength=40, Help='The ISDN identifies a ISDN or Modem line number.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='ISDN', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2967
;

-- Mar 23, 2008 8:51:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='ISDN', Description='ISDN or modem line', Help='The ISDN identifies a ISDN or Modem line number.' WHERE AD_Column_ID=2967 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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('2008-03-23 20:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2953
;

-- Mar 23, 2008 8:51:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=2953 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsBillTo', Description='Business Partner Invoice/Bill Address', EntityType='D', Help='If the Invoice Address is selected, the location is used to send invoices to a customer or receive invoices from a vendor.', IsActive='Y', Name='Invoice Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Invoice Address',Updated=TO_TIMESTAMP('2008-03-23 20:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=916
;

-- Mar 23, 2008 8:51:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=916
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=916, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsBillTo', ColumnSQL=NULL, DefaultValue='Y', Description='Business Partner Invoice/Bill Address', EntityType='D', FieldLength=1, Help='If the Invoice Address is selected, the location is used to send invoices to a customer or receive invoices from a vendor.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Invoice Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3090
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Invoice Address', Description='Business Partner Invoice/Bill Address', Help='If the Invoice Address is selected, the location is used to send invoices to a customer or receive invoices from a vendor.' WHERE AD_Column_ID=3090 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsPayFrom', Description='Business Partner pays from that address and we''ll send dunning letters there', EntityType='D', Help='If the Pay-From Address is selected, this location is the address the Business Partner pays from and where dunning letters will be sent to.', IsActive='Y', Name='Pay-From Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Pay-From Address',Updated=TO_TIMESTAMP('2008-03-23 20:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=925
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=925
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=925, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsPayFrom', ColumnSQL=NULL, DefaultValue='Y', Description='Business Partner pays from that address and we''ll send dunning letters there', EntityType='D', FieldLength=1, Help='If the Pay-From Address is selected, this location is the address the Business Partner pays from and where dunning letters will be sent to.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Pay-From Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3092
;

-- Mar 23, 2008 8:51:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Pay-From Address', Description='Business Partner pays from that address and we''ll send dunning letters there', Help='If the Pay-From Address is selected, this location is the address the Business Partner pays from and where dunning letters will be sent to.' WHERE AD_Column_ID=3092 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsRemitTo', Description='Business Partner payment address', EntityType='D', Help='If the Remit-To Address is selected, the location is used to send payments to the vendor.', IsActive='Y', Name='Remit-To Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Remit-To Address',Updated=TO_TIMESTAMP('2008-03-23 20:51:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=927
;

-- Mar 23, 2008 8:51:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=927
;

-- Mar 23, 2008 8:51:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=927, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsRemitTo', ColumnSQL=NULL, DefaultValue='Y', Description='Business Partner payment address', EntityType='D', FieldLength=1, Help='If the Remit-To Address is selected, the location is used to send payments to the vendor.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Remit-To Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3093
;

-- Mar 23, 2008 8:51:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Remit-To Address', Description='Business Partner payment address', Help='If the Remit-To Address is selected, the location is used to send payments to the vendor.' WHERE AD_Column_ID=3093 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsShipTo', Description='Business Partner Shipment Address', EntityType='D', Help='If the Ship Address is selected, the location is used to ship goods to a customer or receive goods from a vendor.', IsActive='Y', Name='Ship Address', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Ship address',Updated=TO_TIMESTAMP('2008-03-23 20:51:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=929
;

-- Mar 23, 2008 8:51:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=929
;

-- Mar 23, 2008 8:51:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=929, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsShipTo', ColumnSQL=NULL, DefaultValue='Y', Description='Business Partner Shipment Address', EntityType='D', FieldLength=1, Help='If the Ship Address is selected, the location is used to ship goods to a customer or receive goods from a vendor.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Ship Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:51:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=3091
;

-- Mar 23, 2008 8:51:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Ship Address', Description='Business Partner Shipment Address', Help='If the Ship Address is selected, the location is used to ship goods to a customer or receive goods from a vendor.' WHERE AD_Column_ID=3091 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Phone', Description='Identifies a telephone number', EntityType='D', Help='The Phone field identifies a telephone number', IsActive='Y', Name='Phone', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Phone',Updated=TO_TIMESTAMP('2008-03-23 20:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=505
;

-- Mar 23, 2008 8:51:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=505
;

-- Mar 23, 2008 8:51:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=505, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Phone', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a telephone number', EntityType='D', FieldLength=40, Help='The Phone field identifies a telephone number', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Phone', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2964
;

-- Mar 23, 2008 8:51:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Phone', Description='Identifies a telephone number', Help='The Phone field identifies a telephone number' WHERE AD_Column_ID=2964 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Phone2', Description='Identifies an alternate telephone number.', EntityType='D', Help='The 2nd Phone field identifies an alternate telephone number.', IsActive='Y', Name='2nd Phone', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='2nd Phone',Updated=TO_TIMESTAMP('2008-03-23 20:51:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=506
;

-- Mar 23, 2008 8:51:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=506
;

-- Mar 23, 2008 8:51:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=506, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=293, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Phone2', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies an alternate telephone number.', EntityType='D', FieldLength=40, Help='The 2nd Phone field identifies an alternate telephone number.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='2nd Phone', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2965
;

-- Mar 23, 2008 8:51:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='2nd Phone', Description='Identifies an alternate telephone number.', Help='The 2nd Phone field identifies an alternate telephone number.' WHERE AD_Column_ID=2965 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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('2008-03-23 20:51:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2956
;

-- Mar 23, 2008 8:51:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=2956 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=293, 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=0,Updated=TO_TIMESTAMP('2008-03-23 20:51:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2951
;

-- Mar 23, 2008 8:51:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=2951 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=293, 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('2008-03-23 20:51:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=2957
;

-- Mar 23, 2008 8:51:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=2957 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:51:57 PM CST
-- Human Resource & Payroll
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,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53107,293,53033,NULL,TO_TIMESTAMP('2008-03-23 20:51:56','YYYY-MM-DD HH24:MI:SS'),100,'Define Location','EE02','N','The Location Tab defines the physical location of a business partner.  A business partner may have multiple location records.','Y','N','N','Y','N','Y','N','N','Location','N',90,1,TO_TIMESTAMP('2008-03-23 20:51:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:57 PM CST
-- Human Resource & Payroll
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=53107 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:51:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2967,54913,0,53107,TO_TIMESTAMP('2008-03-23 20:51:57','YYYY-MM-DD HH24:MI:SS'),100,'ISDN or modem line',20,'EE02','The ISDN identifies a ISDN or Modem line number.','Y','Y','N','N','N','N','Y','ISDN',0,0,TO_TIMESTAMP('2008-03-23 20:51:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54913 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:51:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3434,54914,0,53107,TO_TIMESTAMP('2008-03-23 20:51:58','YYYY-MM-DD HH24:MI:SS'),100,'Identifies the (ship to) address for this Business Partner',14,'EE02','The Partner address indicates the location of a Business Partner','Y','Y','N','N','N','N','N','Partner Location',0,0,TO_TIMESTAMP('2008-03-23 20:51:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:51:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54914 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3093,54915,0,53107,TO_TIMESTAMP('2008-03-23 20:51:59','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner payment address',1,'EE02','If the Remit-To Address is selected, the location is used to send payments to the vendor.','Y','Y','N','N','N','N','Y','Remit-To Address',0,0,TO_TIMESTAMP('2008-03-23 20:51:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54915 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3092,54916,0,53107,TO_TIMESTAMP('2008-03-23 20:52:00','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner pays from that address and we''ll send dunning letters there',1,'EE02','If the Pay-From Address is selected, this location is the address the Business Partner pays from and where dunning letters will be sent to.','Y','Y','N','N','N','N','N','Pay-From Address',0,0,TO_TIMESTAMP('2008-03-23 20:52:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54916 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3091,54917,0,53107,TO_TIMESTAMP('2008-03-23 20:52:02','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Shipment Address',1,'EE02','If the Ship Address is selected, the location is used to ship goods to a customer or receive goods from a vendor.','Y','Y','N','N','N','N','N','Ship Address',0,0,TO_TIMESTAMP('2008-03-23 20:52:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54917 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,3090,54918,0,53107,TO_TIMESTAMP('2008-03-23 20:52:03','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Invoice/Bill Address',1,'EE02','If the Invoice Address is selected, the location is used to send invoices to a customer or receive invoices from a vendor.','Y','Y','N','N','N','N','Y','Invoice Address',0,0,TO_TIMESTAMP('2008-03-23 20:52:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54918 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2968,54919,0,53107,TO_TIMESTAMP('2008-03-23 20:52:04','YYYY-MM-DD HH24:MI:SS'),100,'Sales coverage region',14,'EE02','The Sales Region indicates a specific area of sales coverage.','Y','Y','N','N','N','N','N','Sales Region',0,0,TO_TIMESTAMP('2008-03-23 20:52:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54919 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2951,54920,0,53107,TO_TIMESTAMP('2008-03-23 20:52:05','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:52:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54920 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2952,54921,0,53107,TO_TIMESTAMP('2008-03-23 20:52:06','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:52:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54921 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2958,54922,0,53107,TO_TIMESTAMP('2008-03-23 20:52:07','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',14,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','Y','N','Business Partner ',30,0,TO_TIMESTAMP('2008-03-23 20:52:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54922 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2960,54923,0,53107,TO_TIMESTAMP('2008-03-23 20:52:08','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',11,'EE02','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,1,TO_TIMESTAMP('2008-03-23 20:52:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54923 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2953,54924,0,53107,TO_TIMESTAMP('2008-03-23 20:52:09','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:52:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54924 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2959,54925,0,53107,TO_TIMESTAMP('2008-03-23 20:52:10','YYYY-MM-DD HH24:MI:SS'),100,'Location or Address',26,'EE02','The Location / Address field defines the location of an entity.','Y','Y','Y','N','N','N','N','Address',60,0,TO_TIMESTAMP('2008-03-23 20:52:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54925 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2964,54926,0,53107,TO_TIMESTAMP('2008-03-23 20:52:11','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a telephone number',20,'EE02','The Phone field identifies a telephone number','Y','Y','Y','N','N','N','N','Phone',70,0,TO_TIMESTAMP('2008-03-23 20:52:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54926 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2965,54927,0,53107,TO_TIMESTAMP('2008-03-23 20:52:12','YYYY-MM-DD HH24:MI:SS'),100,'Identifies an alternate telephone number.',20,'EE02','The 2nd Phone field identifies an alternate telephone number.','Y','Y','Y','N','N','N','Y','2nd Phone',80,0,TO_TIMESTAMP('2008-03-23 20:52:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54927 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,2966,54928,0,53107,TO_TIMESTAMP('2008-03-23 20:52:13','YYYY-MM-DD HH24:MI:SS'),100,'Facsimile number',20,'EE02','The Fax identifies a facsimile number for this Business Partner or  Location','Y','Y','Y','N','N','N','N','Fax',90,0,TO_TIMESTAMP('2008-03-23 20:52:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54928 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Table SET AD_Window_ID=108, AccessLevel='7', Description='User within the system - Internal or Business Partner Contact', EntityType='D', Help=NULL, ImportTable=NULL, IsActive='Y', IsChangeLog='N', IsDeleteable='Y', IsHighVolume='Y', IsSecurityEnabled='N', IsView='N', Name='User/Contact', ReplicationType='L', TableName='AD_User',Updated=TO_TIMESTAMP('2008-03-23 20:52:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=114
;

-- Mar 23, 2008 8:52:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Comments', Description='Comments or additional information', EntityType='D', Help='The Comments field allows for free form entry of additional information.', IsActive='Y', Name='Comments', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Comments',Updated=TO_TIMESTAMP('2008-03-23 20:52:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=230
;

-- Mar 23, 2008 8:52:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=230
;

-- Mar 23, 2008 8:52:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Character String up to 2000 characters', EntityType='D', Help=NULL, IsActive='Y', Name='Text', ValidationType='D',Updated=TO_TIMESTAMP('2008-03-23 20:52:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=14
;

-- Mar 23, 2008 8:52:14 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=14
;

-- Mar 23, 2008 8:52:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=230, AD_Process_ID=NULL, AD_Reference_ID=14, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Comments', ColumnSQL=NULL, DefaultValue=NULL, Description='Comments or additional information', EntityType='D', FieldLength=2000, Help='The Comments field allows for free form entry of additional information.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Comments', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8752
;

-- Mar 23, 2008 8:52:15 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Comments', Description='Comments or additional information', Help='The Comments field allows for free form entry of additional information.' WHERE AD_Column_ID=8752 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Birthday', Description='Birthday or Anniversary day', EntityType='D', Help='Birthday or Anniversary day', IsActive='Y', Name='Birthday', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Birthday',Updated=TO_TIMESTAMP('2008-03-23 20:52:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1891
;

-- Mar 23, 2008 8:52:16 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1891
;

-- Mar 23, 2008 8:52:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1891, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Birthday', ColumnSQL=NULL, DefaultValue=NULL, Description='Birthday or Anniversary day', EntityType='D', FieldLength=7, Help='Birthday or Anniversary day', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Birthday', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8745
;

-- Mar 23, 2008 8:52:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Birthday', Description='Birthday or Anniversary day', Help='Birthday or Anniversary day' WHERE AD_Column_ID=8745 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=187, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Business Partner ', ReadOnlyLogic='@C_BPartner_ID@!0', VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5844
;

-- Mar 23, 2008 8:52:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Business Partner ', Description='Identifies a Business Partner', Help='A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson' WHERE AD_Column_ID=5844 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='LDAPUser', Description='User Name used for authorization via LDAP (directory) services', EntityType='D', Help='Optional LDAP system user name for the user. If not defined, the normal Name of the user is used. This allows to use the internal (LDAP) user id (e.g. jjanke) and the normal display name (e.g. Jorg Janke).  The LDAP User Name can also be used without LDAP enables (see system window).  This would allow to sign in as jjanke and use the display name of Jorg Janke.', IsActive='Y', Name='LDAP User Name', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='LDAP User',Updated=TO_TIMESTAMP('2008-03-23 20:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2546
;

-- Mar 23, 2008 8:52:18 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2546
;

-- Mar 23, 2008 8:52:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2546, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LDAPUser', ColumnSQL=NULL, DefaultValue=NULL, Description='User Name used for authorization via LDAP (directory) services', EntityType='D', FieldLength=60, Help='Optional LDAP system user name for the user. If not defined, the normal Name of the user is used. This allows to use the internal (LDAP) user id (e.g. jjanke) and the normal display name (e.g. Jorg Janke).  The LDAP User Name can also be used without LDAP enables (see system window).  This would allow to sign in as jjanke and use the display name of Jorg Janke.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='LDAP User Name', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12401
;

-- Mar 23, 2008 8:52:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='LDAP User Name', Description='User Name used for authorization via LDAP (directory) services', Help='Optional LDAP system user name for the user. If not defined, the normal Name of the user is used. This allows to use the internal (LDAP) user id (e.g. jjanke) and the normal display name (e.g. Jorg Janke).  The LDAP User Name can also be used without LDAP enables (see system window).  This would allow to sign in as jjanke and use the display name of Jorg Janke.' WHERE AD_Column_ID=12401 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='LastContact', Description='Date this individual was last contacted', EntityType='D', Help='The Last Contact indicates the date that this Business Partner Contact was last contacted.', IsActive='Y', Name='Last Contact', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Contact',Updated=TO_TIMESTAMP('2008-03-23 20:52:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=429
;

-- Mar 23, 2008 8:52:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=429
;

-- Mar 23, 2008 8:52:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=429, AD_Process_ID=NULL, AD_Reference_ID=15, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastContact', ColumnSQL=NULL, DefaultValue=NULL, Description='Date this individual was last contacted', EntityType='D', FieldLength=7, Help='The Last Contact indicates the date that this Business Partner Contact was last contacted.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8750
;

-- Mar 23, 2008 8:52:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Last Contact', Description='Date this individual was last contacted', Help='The Last Contact indicates the date that this Business Partner Contact was last contacted.' WHERE AD_Column_ID=8750 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='LastResult', Description='Result of last contact', EntityType='D', Help='The Last Result identifies the result of the last contact made.', IsActive='Y', Name='Last Result', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Last Result',Updated=TO_TIMESTAMP('2008-03-23 20:52:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=431
;

-- Mar 23, 2008 8:52:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=431
;

-- Mar 23, 2008 8:52:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=431, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='LastResult', ColumnSQL=NULL, DefaultValue=NULL, Description='Result of last contact', EntityType='D', FieldLength=255, Help='The Last Result identifies the result of the last contact made.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Last Result', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8749
;

-- Mar 23, 2008 8:52:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Last Result', Description='Result of last contact', Help='The Last Result identifies the result of the last contact made.' WHERE AD_Column_ID=8749 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='EMailVerify', Description='Verification information of EMail Address', EntityType='D', Help='The field contains additional information how the EMail Address has been verified', IsActive='Y', Name='Verification Info', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Verify Info',Updated=TO_TIMESTAMP('2008-03-23 20:52:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2190
;

-- Mar 23, 2008 8:52:21 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2190
;

-- Mar 23, 2008 8:52:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2190, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMailVerify', ColumnSQL=NULL, DefaultValue=NULL, Description='Verification information of EMail Address', EntityType='D', FieldLength=40, Help='The field contains additional information how the EMail Address has been verified', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='Verification Info', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=9884
;

-- Mar 23, 2008 8:52:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Verification Info', Description='Verification information of EMail Address', Help='The field contains additional information how the EMail Address has been verified' WHERE AD_Column_ID=9884 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=301, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Fax', ColumnSQL=NULL, DefaultValue=NULL, Description='Facsimile number', EntityType='D', FieldLength=40, Help='The Fax identifies a facsimile number for this Business Partner or  Location', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Fax', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8748
;

-- Mar 23, 2008 8:52:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Fax', Description='Facsimile number', Help='The Fax identifies a facsimile number for this Business Partner or  Location' WHERE AD_Column_ID=8748 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:24 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:52:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=131
;

-- Mar 23, 2008 8:52:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=189, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=131, 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=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8746
;

-- Mar 23, 2008 8:52:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Partner Location', Description='Identifies the (ship to) address for this Business Partner', Help='The Partner address indicates the location of a Business Partner' WHERE AD_Column_ID=8746 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1159, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='C_Greeting_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Greeting to print on correspondence', EntityType='D', FieldLength=22, Help='The Greeting identifies the greeting to print on correspondence.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Greeting', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8743
;

-- Mar 23, 2008 8:52:25 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Greeting', Description='Greeting to print on correspondence', Help='The Greeting identifies the greeting to print on correspondence.' WHERE AD_Column_ID=8743 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=505, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Phone', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies a telephone number', EntityType='D', FieldLength=40, Help='The Phone field identifies a telephone number', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Phone', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8747
;

-- Mar 23, 2008 8:52:26 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Phone', Description='Identifies a telephone number', Help='The Phone field identifies a telephone number' WHERE AD_Column_ID=8747 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=506, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Phone2', ColumnSQL=NULL, DefaultValue=NULL, Description='Identifies an alternate telephone number.', EntityType='D', FieldLength=40, Help='The 2nd Phone field identifies an alternate telephone number.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='2nd Phone', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8744
;

-- Mar 23, 2008 8:52:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='2nd Phone', Description='Identifies an alternate telephone number.', Help='The 2nd Phone field identifies an alternate telephone number.' WHERE AD_Column_ID=8744 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:28 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:52:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=524
;

-- Mar 23, 2008 8:52:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524
;

-- Mar 23, 2008 8:52:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=524, AD_Process_ID=NULL, AD_Reference_ID=28, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6314
;

-- Mar 23, 2008 8:52:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Process Now', Description=NULL, Help=NULL WHERE AD_Column_ID=6314 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_OrgTrx_ID', Description='Performing or initiating organization', EntityType='D', Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.', IsActive='Y', Name='Trx Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Trx Organization',Updated=TO_TIMESTAMP('2008-03-23 20:52:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=112
;

-- Mar 23, 2008 8:52:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=112
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=130
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=130
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
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
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=112, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=130, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='AD_OrgTrx_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Performing or initiating organization', EntityType='D', FieldLength=22, Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Trx Organization', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8976
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Trx Organization', Description='Performing or initiating organization', Help='The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.' WHERE AD_Column_ID=8976 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Title', Description='Name this entity is referred to as', EntityType='D', Help='The Title indicates the name that an entity is referred to as.', IsActive='Y', Name='Title', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Title',Updated=TO_TIMESTAMP('2008-03-23 20:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=982
;

-- Mar 23, 2008 8:52:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=982
;

-- Mar 23, 2008 8:52:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=982, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Title', ColumnSQL=NULL, DefaultValue=NULL, Description='Name this entity is referred to as', EntityType='D', FieldLength=40, Help='The Title indicates the name that an entity is referred to as.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Title', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8751
;

-- Mar 23, 2008 8:52:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Title', Description='Name this entity is referred to as', Help='The Title indicates the name that an entity is referred to as.' WHERE AD_Column_ID=8751 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='EMailUser', Description='User Name (ID) in the Mail System', EntityType='D', Help='The user name in the mail system is usually the string before the @ of your email address.  Required if the mail server requires authentification to send emails.', IsActive='Y', Name='EMail User ID', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail User',Updated=TO_TIMESTAMP('2008-03-23 20:52:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1896
;

-- Mar 23, 2008 8:52:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1896
;

-- Mar 23, 2008 8:52:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1896, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMailUser', ColumnSQL=NULL, DefaultValue=NULL, Description='User Name (ID) in the Mail System', EntityType='D', FieldLength=60, Help='The user name in the mail system is usually the string before the @ of your email address.  Required if the mail server requires authentification to send emails.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='EMail User ID', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7793
;

-- Mar 23, 2008 8:52:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='EMail User ID', Description='User Name (ID) in the Mail System', Help='The user name in the mail system is usually the string before the @ of your email address.  Required if the mail server requires authentification to send emails.' WHERE AD_Column_ID=7793 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='EMailUserPW', Description='Password of your email user id', EntityType='D', Help='Required if the mail server requires authentification to send emails.', IsActive='Y', Name='EMail User Password', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail Password',Updated=TO_TIMESTAMP('2008-03-23 20:52:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1897
;

-- Mar 23, 2008 8:52:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1897
;

-- Mar 23, 2008 8:52:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1897, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMailUserPW', ColumnSQL=NULL, DefaultValue=NULL, Description='Password of your email user id', EntityType='D', FieldLength=20, Help='Required if the mail server requires authentification to send emails.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='EMail User Password', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7794
;

-- Mar 23, 2008 8:52:33 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='EMail User Password', Description='Password of your email user id', Help='Required if the mail server requires authentification to send emails.' WHERE AD_Column_ID=7794 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=469, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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=1, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=213
;

-- Mar 23, 2008 8:52:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', 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.' WHERE AD_Column_ID=213 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='UserPIN', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='UserPIN', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='UserPIN',Updated=TO_TIMESTAMP('2008-03-23 20:52:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=52023
;

-- Mar 23, 2008 8:52:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=52023
;

-- Mar 23, 2008 8:52:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=52023, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='UserPIN', ColumnSQL=NULL, DefaultValue=NULL, Description=NULL, 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='UserPIN', ReadOnlyLogic=NULL, SeqNo=10, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=52066
;

-- Mar 23, 2008 8:52:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='UserPIN', Description=NULL, Help=NULL WHERE AD_Column_ID=52066 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=620, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Search Key', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15975
;

-- Mar 23, 2008 8:52:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Search Key', Description='Search key for the record in the format required - must be unique', 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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).' WHERE AD_Column_ID=15975 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=113, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=148, 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('2008-03-23 20:52:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=423
;

-- Mar 23, 2008 8:52:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Organization', Description='Organizational entity within client', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.' WHERE AD_Column_ID=423 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=138, AD_Process_ID=NULL, AD_Reference_ID=13, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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='Y', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='N', Name='User/Contact', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212
;

-- Mar 23, 2008 8:52:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='User/Contact', Description='User within the system - Internal or Business Partner Contact', Help='The User identifies a unique user in the system. This could be an internal user or a business partner contact' WHERE AD_Column_ID=212 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Job_ID', Description='Job Position', EntityType='D', Help=NULL, IsActive='Y', Name='Position', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Position',Updated=TO_TIMESTAMP('2008-03-23 20:52:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2761
;

-- Mar 23, 2008 8:52:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2761
;

-- Mar 23, 2008 8:52:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Val_Rule SET Code='C_Job.IsEmployee=(SELECT IsEmployee FROM C_BPartner WHERE C_BPartner_ID=@C_BPartner_ID@)', Description=NULL, EntityType='D', IsActive='Y', Name='C_Job BPartner.IsEmployee', Type='S',Updated=TO_TIMESTAMP('2008-03-23 20:52:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=243
;

-- Mar 23, 2008 8:52:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2761, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=243, Callout=NULL, ColumnName='C_Job_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Job Position', 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='Position', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14396
;

-- Mar 23, 2008 8:52:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Position', Description='Job Position', Help=NULL WHERE AD_Column_ID=14396 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ConnectionProfile', Description='How a Java Client connects to the server(s)', EntityType='D', Help='Depending on the connection profile, different protocols are used and tasks are performed on the server rather then the client. Usually the user can select different profiles, unless it is enforced by the User or Role definition. The User level profile overwrites the Role based profile.', IsActive='Y', Name='Connection Profile', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Connection Profile',Updated=TO_TIMESTAMP('2008-03-23 20:52:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2880
;

-- Mar 23, 2008 8:52:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2880
;

-- Mar 23, 2008 8:52:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AD_User ConnectionProfile', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:52:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=364
;

-- Mar 23, 2008 8:52:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=364
;

-- Mar 23, 2008 8:52:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=364, Description=NULL, EntityType='D', IsActive='Y', Name='LAN', Value='L',Updated=TO_TIMESTAMP('2008-03-23 20:52:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=802
;

-- Mar 23, 2008 8:52:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=802
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=364, Description=NULL, EntityType='D', IsActive='Y', Name='Terminal Server', Value='T',Updated=TO_TIMESTAMP('2008-03-23 20:52:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=803
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=803
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=364, Description=NULL, EntityType='D', IsActive='Y', Name='VPN', Value='V',Updated=TO_TIMESTAMP('2008-03-23 20:52:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=804
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=804
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=364, Description=NULL, EntityType='D', IsActive='Y', Name='WAN', Value='W',Updated=TO_TIMESTAMP('2008-03-23 20:52:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=805
;

-- Mar 23, 2008 8:52:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=805
;

-- Mar 23, 2008 8:52:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2880, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=364, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='ConnectionProfile', ColumnSQL=NULL, DefaultValue=NULL, Description='How a Java Client connects to the server(s)', EntityType='D', FieldLength=1, Help='Depending on the connection profile, different protocols are used and tasks are performed on the server rather then the client. Usually the user can select different profiles, unless it is enforced by the User or Role definition. The User level profile overwrites the Role based profile.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Connection Profile', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14619
;

-- Mar 23, 2008 8:52:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Connection Profile', Description='How a Java Client connects to the server(s)', Help='Depending on the connection profile, different protocols are used and tasks are performed on the server rather then the client. Usually the user can select different profiles, unless it is enforced by the User or Role definition. The User level profile overwrites the Role based profile.' WHERE AD_Column_ID=14619 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=245, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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('2008-03-23 20:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=623
;

-- Mar 23, 2008 8:52:44 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created', Description='Date this record was created', Help='The Created field indicates the date that this record was created.' WHERE AD_Column_ID=623 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=246, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=114, 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('2008-03-23 20:52:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=624
;

-- Mar 23, 2008 8:52:45 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Created By', Description='User who created this records', Help='The Created By field indicates the user who created this record.' WHERE AD_Column_ID=624 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=275, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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('2008-03-23 20:52:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214
;

-- Mar 23, 2008 8:52:46 PM CST
-- Human Resource & Payroll
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=214 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:46 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:52:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=881
;

-- Mar 23, 2008 8:52:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=881
;

-- Mar 23, 2008 8:52:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=881, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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='Y', Name='EMail Address', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5396
;

-- Mar 23, 2008 8:52:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='EMail Address', Description='Electronic Mail Address', 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.' WHERE AD_Column_ID=5396 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='EMailVerifyDate', Description='Date Email was verified', EntityType='D', Help=NULL, IsActive='Y', Name='EMail Verify', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='EMail Verify',Updated=TO_TIMESTAMP('2008-03-23 20:52:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2726
;

-- Mar 23, 2008 8:52:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2726
;

-- Mar 23, 2008 8:52:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2726, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='EMailVerifyDate', ColumnSQL=NULL, DefaultValue=NULL, Description='Date Email was verified', 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='EMail Verify', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13600
;

-- Mar 23, 2008 8:52:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='EMail Verify', Description='Date Email was verified', Help=NULL WHERE AD_Column_ID=13600 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=348, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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('2008-03-23 20:52:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=622
;

-- Mar 23, 2008 8:52:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Active', Description='The record is active in the system', 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.' WHERE AD_Column_ID=622 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsFullBPAccess', Description='The user/concat has full access to Business Partner information and resources', EntityType='D', Help='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', IsActive='Y', Name='Full BP Access', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Full BP Access',Updated=TO_TIMESTAMP('2008-03-23 20:52:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2835
;

-- Mar 23, 2008 8:52:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2835
;

-- Mar 23, 2008 8:52:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2835, AD_Process_ID=NULL, AD_Reference_ID=20, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='IsFullBPAccess', ColumnSQL=NULL, DefaultValue='Y', Description='The user/concat has full access to Business Partner information and resources', EntityType='D', FieldLength=1, Help='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Full BP Access', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14336
;

-- Mar 23, 2008 8:52:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Full BP Access', Description='The user/concat has full access to Business Partner information and resources', Help='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the user has no access rights unless, you explicitly grant it in tab "BP Access"' WHERE AD_Column_ID=14336 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='NotificationType', Description='Type of Notifications', EntityType='D', Help='Emails or Notification sent out for Request Updates, etc.', IsActive='Y', Name='Notification Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Notification Type',Updated=TO_TIMESTAMP('2008-03-23 20:52:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2755
;

-- Mar 23, 2008 8:52:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2755
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='AD_User NotificationType', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:52:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=344
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=344
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=344, Description=NULL, EntityType='D', IsActive='Y', Name='None', Value='X',Updated=TO_TIMESTAMP('2008-03-23 20:52:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=734
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=734
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=344, Description=NULL, EntityType='D', IsActive='Y', Name='EMail+Notice', Value='B',Updated=TO_TIMESTAMP('2008-03-23 20:52:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=735
;

-- Mar 23, 2008 8:52:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=735
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=344, Description=NULL, EntityType='D', IsActive='Y', Name='EMail', Value='E',Updated=TO_TIMESTAMP('2008-03-23 20:52:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=732
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=732
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=344, Description=NULL, EntityType='D', IsActive='Y', Name='Notice', Value='N',Updated=TO_TIMESTAMP('2008-03-23 20:52:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=733
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=733
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=2755, AD_Process_ID=NULL, AD_Reference_ID=17, AD_Reference_Value_ID=344, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='NotificationType', ColumnSQL=NULL, DefaultValue='E', Description='Type of Notifications', EntityType='D', FieldLength=1, Help='Emails or Notification sent out for Request Updates, etc.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='Y', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Notification Type', ReadOnlyLogic=NULL, VFormat=NULL, Version=0,Updated=TO_TIMESTAMP('2008-03-23 20:52:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=13773
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Notification Type', Description='Type of Notifications', Help='Emails or Notification sent out for Request Updates, etc.' WHERE AD_Column_ID=13773 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Password', Description='Password of any length (case sensitive)', EntityType='D', Help='The Password for this User.  Passwords are required to identify authorized users.  For Adempiere Users, you can change the password via the Process "Reset Password".', IsActive='Y', Name='Password', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Password',Updated=TO_TIMESTAMP('2008-03-23 20:52:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=498
;

-- Mar 23, 2008 8:52:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=498
;

-- Mar 23, 2008 8:52:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=498, AD_Process_ID=NULL, AD_Reference_ID=10, AD_Reference_Value_ID=NULL, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Password', ColumnSQL=NULL, DefaultValue=NULL, Description='Password of any length (case sensitive)', EntityType='D', FieldLength=40, Help='The Password for this User.  Passwords are required to identify authorized users.  For Adempiere Users, you can change the password via the Process "Reset Password".', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Password', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=417
;

-- Mar 23, 2008 8:52:53 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Password', Description='Password of any length (case sensitive)', Help='The Password for this User.  Passwords are required to identify authorized users.  For Adempiere Users, you can change the password via the Process "Reset Password".' WHERE AD_Column_ID=417 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Supervisor_ID', Description='Supervisor for this user/organization - used for escalation and approval', EntityType='D', Help='The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.', IsActive='Y', Name='Supervisor', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Supervisor',Updated=TO_TIMESTAMP('2008-03-23 20:52:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1522
;

-- Mar 23, 2008 8:52:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1522
;

-- Mar 23, 2008 8:52:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=1522, AD_Process_ID=NULL, AD_Reference_ID=30, AD_Reference_Value_ID=110, AD_Table_ID=114, AD_Val_Rule_ID=NULL, Callout=NULL, ColumnName='Supervisor_ID', ColumnSQL=NULL, DefaultValue=NULL, Description='Supervisor for this user/organization - used for escalation and approval', EntityType='D', FieldLength=22, Help='The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.', InfoFactoryClass=NULL, IsActive='Y', IsAlwaysUpdateable='N', IsIdentifier='N', IsKey='N', IsMandatory='N', IsParent='N', IsSelectionColumn='N', IsSyncDatabase='Y', IsTranslated='N', IsUpdateable='Y', Name='Supervisor', ReadOnlyLogic=NULL, VFormat=NULL, Version=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5397
;

-- Mar 23, 2008 8:52:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Supervisor', Description='Supervisor for this user/organization - used for escalation and approval', Help='The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.' WHERE AD_Column_ID=5397 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=607, AD_Process_ID=NULL, AD_Reference_ID=16, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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('2008-03-23 20:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=625
;

-- Mar 23, 2008 8:52:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated', Description='Date this record was updated', Help='The Updated field indicates the date that this record was updated.' WHERE AD_Column_ID=625 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=608, AD_Process_ID=NULL, AD_Reference_ID=18, AD_Reference_Value_ID=110, AD_Table_ID=114, 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('2008-03-23 20:52:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=626
;

-- Mar 23, 2008 8:52:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Updated By', Description='User who updated this records', Help='The Updated By field indicates the user who updated this record.' WHERE AD_Column_ID=626 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Column SET AD_Element_ID=102, AD_Process_ID=NULL, AD_Reference_ID=19, AD_Reference_Value_ID=NULL, AD_Table_ID=114, 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=1,Updated=TO_TIMESTAMP('2008-03-23 20:52:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=422
;

-- Mar 23, 2008 8:52:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Field SET Name='Client', Description='Client/Tenant for this installation.', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.' WHERE AD_Column_ID=422 AND IsCentrallyMaintained='Y'
;

-- Mar 23, 2008 8:52:58 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,5844,0,53108,114,53033,NULL,TO_TIMESTAMP('2008-03-23 20:52:57','YYYY-MM-DD HH24:MI:SS'),100,'Maintain User within the system - Internal or Business Partner Contact','EE02','N','The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','N','N','Y','N','Y','N','N','Contact (User)','N',100,1,TO_TIMESTAMP('2008-03-23 20:52:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:58 PM CST
-- Human Resource & Payroll
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=53108 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:52:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,212,54929,0,53108,TO_TIMESTAMP('2008-03-23 20:52:58','YYYY-MM-DD HH24:MI:SS'),100,'User within the system - Internal or Business Partner Contact',14,'EE02','The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','Y','N','N','N','N','N','User/Contact',0,0,TO_TIMESTAMP('2008-03-23 20:52:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54929 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:52:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8746,54930,0,53108,TO_TIMESTAMP('2008-03-23 20:52:58','YYYY-MM-DD HH24:MI:SS'),100,'Identifies the (ship to) address for this Business Partner',14,'EE02','The Partner address indicates the location of a Business Partner','Y','Y','N','N','N','N','Y','Partner Location',0,0,TO_TIMESTAMP('2008-03-23 20:52:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:52:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54930 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8749,54931,0,53108,TO_TIMESTAMP('2008-03-23 20:52:59','YYYY-MM-DD HH24:MI:SS'),100,'Result of last contact',60,'EE02','The Last Result identifies the result of the last contact made.','Y','Y','N','N','N','Y','N','Last Result',0,0,TO_TIMESTAMP('2008-03-23 20:52:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54931 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8750,54932,0,53108,TO_TIMESTAMP('2008-03-23 20:53:01','YYYY-MM-DD HH24:MI:SS'),100,'Date this individual was last contacted',14,'EE02','The Last Contact indicates the date that this Business Partner Contact was last contacted.','Y','Y','N','N','N','Y','N','Last Contact',0,0,TO_TIMESTAMP('2008-03-23 20:53:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54932 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8751,54933,0,53108,TO_TIMESTAMP('2008-03-23 20:53:02','YYYY-MM-DD HH24:MI:SS'),100,'Name this entity is referred to as',20,'EE02','The Title indicates the name that an entity is referred to as.','Y','Y','N','N','N','N','N','Title',0,0,TO_TIMESTAMP('2008-03-23 20:53:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54933 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8976,54934,0,53108,TO_TIMESTAMP('2008-03-23 20:53:03','YYYY-MM-DD HH24:MI:SS'),100,'Performing or initiating organization',14,'EE02','The organization which performs or initiates this transaction (for another organization).  The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.','Y','Y','N','N','N','N','N','Trx Organization',0,0,TO_TIMESTAMP('2008-03-23 20:53:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54934 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,9884,54935,0,53108,TO_TIMESTAMP('2008-03-23 20:53:04','YYYY-MM-DD HH24:MI:SS'),100,'Verification information of EMail Address',20,'EE02','The field contains additional information how the EMail Address has been verified','Y','Y','N','N','N','Y','Y','Verification Info',0,0,TO_TIMESTAMP('2008-03-23 20:53:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54935 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,12401,54936,0,53108,TO_TIMESTAMP('2008-03-23 20:53:05','YYYY-MM-DD HH24:MI:SS'),100,'User Name used for authorization via LDAP (directory) services',1,'EE02','Optional LDAP system user name for the user. If not defined, the normal Name of the user is used. This allows to use the internal (LDAP) user id (e.g. jjanke) and the normal display name (e.g. Jorg Janke).  The LDAP User Name can also be used without LDAP enables (see system window).  This would allow to sign in as jjanke and use the display name of Jorg Janke.','Y','Y','N','N','N','N','N','LDAP User Name',0,0,TO_TIMESTAMP('2008-03-23 20:53:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54936 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:08 PM CST
-- Human Resource & Payroll
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,13600,54937,0,53108,TO_TIMESTAMP('2008-03-23 20:53:07','YYYY-MM-DD HH24:MI:SS'),100,'Date Email was verified',20,'EE02','Y','Y','N','N','N','Y','N','EMail Verify',0,0,TO_TIMESTAMP('2008-03-23 20:53:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54937 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,13773,54938,0,53108,TO_TIMESTAMP('2008-03-23 20:53:08','YYYY-MM-DD HH24:MI:SS'),100,'Type of Notifications',14,'EE02','Emails or Notification sent out for Request Updates, etc.','Y','Y','N','N','N','N','Y','Notification Type',0,0,TO_TIMESTAMP('2008-03-23 20:53:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54938 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,14336,54939,0,53108,TO_TIMESTAMP('2008-03-23 20:53:09','YYYY-MM-DD HH24:MI:SS'),100,'The user/concat has full access to Business Partner information and resources',1,'EE02','If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselet it, the user has no access rights unless, you explicitly grant it in tab "BP Access"','Y','Y','N','N','N','N','Y','Full BP Access',0,0,TO_TIMESTAMP('2008-03-23 20:53:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54939 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:11 PM CST
-- Human Resource & Payroll
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,14396,54940,0,53108,TO_TIMESTAMP('2008-03-23 20:53:10','YYYY-MM-DD HH24:MI:SS'),100,'Job Position',1,'EE02','Y','Y','N','N','N','N','N','Position',0,0,TO_TIMESTAMP('2008-03-23 20:53:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54940 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,417,54941,0,53108,TO_TIMESTAMP('2008-03-23 20:53:11','YYYY-MM-DD HH24:MI:SS'),100,'Password of any length (case sensitive)',20,'EE02','The Password for this User.  Passwords are required to identify authorized users.  For Adempiere Users, you can change the password via the Process "Reset Password".','Y','Y','N','N','N','N','Y','Password',0,0,TO_TIMESTAMP('2008-03-23 20:53:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54941 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5396,54942,0,53108,TO_TIMESTAMP('2008-03-23 20:53:12','YYYY-MM-DD HH24:MI:SS'),100,'Electronic Mail Address',20,'EE02','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.','Y','Y','N','N','N','N','N','EMail Address',0,0,TO_TIMESTAMP('2008-03-23 20:53:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54942 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5397,54943,0,53108,TO_TIMESTAMP('2008-03-23 20:53:13','YYYY-MM-DD HH24:MI:SS'),100,'Supervisor for this user/organization - used for escalation and approval',26,'EE02','The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.','Y','Y','N','N','N','N','N','Supervisor',0,0,TO_TIMESTAMP('2008-03-23 20:53:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54943 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:15 PM CST
-- Human Resource & Payroll
INSERT INTO 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,6314,54944,0,53108,TO_TIMESTAMP('2008-03-23 20:53:14','YYYY-MM-DD HH24:MI:SS'),100,23,'EE02','Y','Y','N','N','N','N','N','Process Now',0,0,TO_TIMESTAMP('2008-03-23 20:53:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54944 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7793,54945,0,53108,TO_TIMESTAMP('2008-03-23 20:53:15','YYYY-MM-DD HH24:MI:SS'),100,'User Name (ID) in the Mail System',20,'EE02','The user name in the mail system is usually the string before the @ of your email address.  Required if the mail server requires authentification to send emails.','Y','Y','N','N','N','N','N','EMail User ID',0,0,TO_TIMESTAMP('2008-03-23 20:53:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54945 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,7794,54946,0,53108,TO_TIMESTAMP('2008-03-23 20:53:16','YYYY-MM-DD HH24:MI:SS'),100,'Password of your email user id',20,'EE02','Required if the mail server requires authentification to send emails.','Y','Y','N','N','N','N','N','EMail User Password',0,0,TO_TIMESTAMP('2008-03-23 20:53:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54946 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8743,54947,0,53108,TO_TIMESTAMP('2008-03-23 20:53:16','YYYY-MM-DD HH24:MI:SS'),100,'Greeting to print on correspondence',14,'EE02','The Greeting identifies the greeting to print on correspondence.','Y','Y','N','N','N','N','N','Greeting',0,0,TO_TIMESTAMP('2008-03-23 20:53:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54947 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,422,54948,0,53108,TO_TIMESTAMP('2008-03-23 20:53:17','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',14,'EE02','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('2008-03-23 20:53:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54948 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,423,54949,0,53108,TO_TIMESTAMP('2008-03-23 20:53:19','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',14,'EE02','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('2008-03-23 20:53:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54949 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,5844,54950,0,53108,TO_TIMESTAMP('2008-03-23 20:53:19','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',26,'EE02','A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','Y','N','Business Partner ',30,0,TO_TIMESTAMP('2008-03-23 20:53:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54950 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,213,54951,0,53108,TO_TIMESTAMP('2008-03-23 20:53:20','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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,1,TO_TIMESTAMP('2008-03-23 20:53:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54951 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,214,54952,0,53108,TO_TIMESTAMP('2008-03-23 20:53:22','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',60,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:53:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54952 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8752,54953,0,53108,TO_TIMESTAMP('2008-03-23 20:53:23','YYYY-MM-DD HH24:MI:SS'),100,'Comments or additional information',60,'EE02','The Comments field allows for free form entry of additional information.','Y','Y','Y','N','N','N','N','Comments',60,0,TO_TIMESTAMP('2008-03-23 20:53:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54953 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,622,54954,0,53108,TO_TIMESTAMP('2008-03-23 20:53:24','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',70,0,TO_TIMESTAMP('2008-03-23 20:53:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54954 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8745,54955,0,53108,TO_TIMESTAMP('2008-03-23 20:53:25','YYYY-MM-DD HH24:MI:SS'),100,'Birthday or Anniversary day',14,'EE02','Birthday or Anniversary day','Y','Y','Y','N','N','N','Y','Birthday',80,0,TO_TIMESTAMP('2008-03-23 20:53:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54955 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8747,54956,0,53108,TO_TIMESTAMP('2008-03-23 20:53:26','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a telephone number',20,'EE02','The Phone field identifies a telephone number','Y','Y','Y','N','N','N','N','Phone',90,0,TO_TIMESTAMP('2008-03-23 20:53:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54956 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8744,54957,0,53108,TO_TIMESTAMP('2008-03-23 20:53:27','YYYY-MM-DD HH24:MI:SS'),100,'Identifies an alternate telephone number.',20,'EE02','The 2nd Phone field identifies an alternate telephone number.','Y','Y','Y','N','N','N','Y','2nd Phone',100,0,TO_TIMESTAMP('2008-03-23 20:53:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54957 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,8748,54958,0,53108,TO_TIMESTAMP('2008-03-23 20:53:28','YYYY-MM-DD HH24:MI:SS'),100,'Facsimile number',20,'EE02','The Fax identifies a facsimile number for this Business Partner or  Location','Y','Y','Y','N','N','N','N','Fax',110,0,TO_TIMESTAMP('2008-03-23 20:53:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54958 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53034,TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Department','EE02','The Payroll Departament Window is used to define the Organizational Structure for company','Y','N','N','Y','Payroll Department','N',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
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=53034 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53034,TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53034,TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53034,TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53034,TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:31 PM CST
-- Human Resource & Payroll
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,53088,53034,'3',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Department','L','HR_Department',TO_TIMESTAMP('2008-03-23 20:53:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:31 PM CST
-- Human Resource & Payroll
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=53088 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:53:31 PM CST
-- Human Resource & Payroll
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,53107,TO_TIMESTAMP('2008-03-23 20:53:31','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Department',1,'Y','N','Y','Y','HR_Department','N',1000000,TO_TIMESTAMP('2008-03-23 20:53:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:33 PM CST
-- Human Resource & Payroll
INSERT 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,54787,469,0,10,53088,'Name',TO_TIMESTAMP('2008-03-23 20:53:31','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 20:53:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54787 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:33 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Department (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 8:53:34 PM CST
-- Human Resource & Payroll
INSERT 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,54788,113,0,19,53088,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:53:33','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:53:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54788 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:35 PM CST
-- Human Resource & Payroll
INSERT 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,54789,245,0,16,53088,'Created',TO_TIMESTAMP('2008-03-23 20:53:34','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:53:34','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54789 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:53:36 PM CST
-- Human Resource & Payroll
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,54790,246,0,18,110,53088,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:53:35','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:53:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54790 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:37 PM CST
-- Human Resource & Payroll
INSERT 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,54791,275,0,10,53088,'Description',TO_TIMESTAMP('2008-03-23 20:53:36','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:53:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54791 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:37 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:53:38 PM CST
-- Human Resource & Payroll
INSERT 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,54792,53390,0,13,53088,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:53:37','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Department',TO_TIMESTAMP('2008-03-23 20:53:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54792 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN HR_Department_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD CONSTRAINT HR_Department_Key PRIMARY KEY (HR_Department_ID)
;

-- Mar 23, 2008 8:53:39 PM CST
-- Human Resource & Payroll
INSERT 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,54793,348,0,20,53088,'IsActive',TO_TIMESTAMP('2008-03-23 20:53:38','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:53:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54793 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:53:40 PM CST
-- Human Resource & Payroll
INSERT 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,54794,607,0,16,53088,'Updated',TO_TIMESTAMP('2008-03-23 20:53:39','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:53:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54794 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:40 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:53:41 PM CST
-- Human Resource & Payroll
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,54795,608,0,18,110,53088,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:53:40','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:53:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54795 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:41 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:41 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54796,102,0,19,53088,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:53:41','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:53:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54796 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:42 PM CST
-- Human Resource & Payroll
INSERT 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,54797,620,0,10,53088,'Value',TO_TIMESTAMP('2008-03-23 20:53:42','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 20:53:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54797 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:43 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Department ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 8:53:44 PM CST
-- Human Resource & Payroll
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,53109,53088,53034,NULL,TO_TIMESTAMP('2008-03-23 20:53:43','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','N','Y','N','Y','N','N','Department','N',10,0,TO_TIMESTAMP('2008-03-23 20:53:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:44 PM CST
-- Human Resource & Payroll
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=53109 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:53:45 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54792,54959,0,53109,TO_TIMESTAMP('2008-03-23 20:53:44','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Department',0,0,TO_TIMESTAMP('2008-03-23 20:53:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54959 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54796,54960,0,53109,TO_TIMESTAMP('2008-03-23 20:53:45','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:53:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54960 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54788,54961,0,53109,TO_TIMESTAMP('2008-03-23 20:53:46','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:53:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54961 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54797,54962,0,53109,TO_TIMESTAMP('2008-03-23 20:53:46','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 20:53:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54962 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54787,54963,0,53109,TO_TIMESTAMP('2008-03-23 20:53:47','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:53:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54963 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54791,54964,0,53109,TO_TIMESTAMP('2008-03-23 20:53:49','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:53:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54964 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54793,54965,0,53109,TO_TIMESTAMP('2008-03-23 20:53:51','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:53:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54965 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:53:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Preference (AD_Client_ID,AD_Org_ID,AD_Preference_ID,AD_Window_ID,Attribute,Created,CreatedBy,IsActive,Updated,UpdatedBy,Value) VALUES (0,0,50003,53034,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:53:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:52','YYYY-MM-DD HH24:MI:SS'),100,'0')
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53035,TO_TIMESTAMP('2008-03-23 20:53:52','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Job','EE02','The Payroll Employee Window is used to define the Jobs into the Organizational Structure for a Company','Y','N','N','Y','Payroll Job','N',TO_TIMESTAMP('2008-03-23 20:53:52','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
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=53035 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53035,TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53035,TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53035,TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53035,TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:54 PM CST
-- Human Resource & Payroll
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,53089,53035,'3',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Job','L','HR_Job',TO_TIMESTAMP('2008-03-23 20:53:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:54 PM CST
-- Human Resource & Payroll
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=53089 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:53:54 PM CST
-- Human Resource & Payroll
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,53108,TO_TIMESTAMP('2008-03-23 20:53:54','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Job',1,'Y','N','Y','Y','HR_Job','N',1000000,TO_TIMESTAMP('2008-03-23 20:53:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:53:55 PM CST
-- Human Resource & Payroll
INSERT 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,54798,469,0,10,53089,'Name',TO_TIMESTAMP('2008-03-23 20:53:54','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 20:53:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54798 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:55 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Job (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 8:53:56 PM CST
-- Human Resource & Payroll
INSERT 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,54799,113,0,19,53089,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:53:55','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:53:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54799 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:56 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:57 PM CST
-- Human Resource & Payroll
INSERT 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,54800,245,0,16,53089,'Created',TO_TIMESTAMP('2008-03-23 20:53:56','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:53:56','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54800 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:57 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:53:58 PM CST
-- Human Resource & Payroll
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,54801,246,0,18,110,53089,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:53:57','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:53:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54801 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:53:59 PM CST
-- Human Resource & Payroll
INSERT 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,54802,275,0,10,53089,'Description',TO_TIMESTAMP('2008-03-23 20:53:58','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:53:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:53:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54802 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:53:59 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:54:01 PM CST
-- Human Resource & Payroll
INSERT 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,54803,53390,0,19,53089,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:53:59','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 20:53:59','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54803 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:01 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN HR_Department_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:02 PM CST
-- Human Resource & Payroll
INSERT 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,54804,53392,0,13,53089,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:54:01','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Job',TO_TIMESTAMP('2008-03-23 20:54:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54804 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN HR_Job_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD CONSTRAINT HR_Job_Key PRIMARY KEY (HR_Job_ID)
;

-- Mar 23, 2008 8:54:03 PM CST
-- Human Resource & Payroll
INSERT 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,54805,348,0,20,53089,'IsActive',TO_TIMESTAMP('2008-03-23 20:54:02','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:54:02','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54805 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:03 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:54:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsParent', Description='This column is a link to the parent table (e.g. header from lines) - incl. Association key columns', EntityType='D', Help='The Parent checkbox indicates if this column is a link to the parent table.', IsActive='Y', Name='Parent link column', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Parent link column',Updated=TO_TIMESTAMP('2008-03-23 20:54:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=395
;

-- Mar 23, 2008 8:54:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=395
;

-- Mar 23, 2008 8:54:05 PM CST
-- Human Resource & Payroll
INSERT 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,54806,395,0,20,53089,'IsParent',TO_TIMESTAMP('2008-03-23 20:54:04','YYYY-MM-DD HH24:MI:SS'),100,'This column is a link to the parent table (e.g. header from lines) - incl. Association key columns','EE02',1,'The Parent checkbox indicates if this column is a link to the parent table.','Y','N','N','N','N','N','N','N','Y','N','Y','Parent link column',TO_TIMESTAMP('2008-03-23 20:54:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54806 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:05 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN IsParent CHAR(1) CHECK (IsParent IN ('Y','N'))
;

-- Mar 23, 2008 8:54:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53401,0,'JobCant',TO_TIMESTAMP('2008-03-23 20:54:05','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Job Cant','Job Cant',TO_TIMESTAMP('2008-03-23 20:54:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:06 PM CST
-- Human Resource & Payroll
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=53401 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:54:07 PM CST
-- Human Resource & Payroll
INSERT 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,54807,53401,0,11,53089,'JobCant',TO_TIMESTAMP('2008-03-23 20:54:06','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Job Cant',TO_TIMESTAMP('2008-03-23 20:54:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54807 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN JobCant NUMERIC(10)
;

-- Mar 23, 2008 8:54:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53402,0,'Next_Job_ID',TO_TIMESTAMP('2008-03-23 20:54:07','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Next Job','Next Job',TO_TIMESTAMP('2008-03-23 20:54:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:08 PM CST
-- Human Resource & Payroll
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=53402 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:54:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53244,TO_TIMESTAMP('2008-03-23 20:54:08','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR Job',TO_TIMESTAMP('2008-03-23 20:54:08','YYYY-MM-DD HH24:MI:SS'),100,'T')
;

-- Mar 23, 2008 8:54:09 PM CST
-- Human Resource & Payroll
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=53244 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

-- Mar 23, 2008 8:54:09 PM CST
-- Human Resource & Payroll
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, 53244, 53089, 54798, 54804, 'EE02', 'N', '', '')
;

-- Mar 23, 2008 8:54:09 PM CST
-- Human Resource & Payroll
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,54808,53402,0,18,53244,53089,'Next_Job_ID',TO_TIMESTAMP('2008-03-23 20:54:09','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Next Job',TO_TIMESTAMP('2008-03-23 20:54:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54808 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Next_Job_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Employee or SalesRep', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User - Internal', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:54:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=286
;

-- Mar 23, 2008 8:54:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=286
;

-- Mar 23, 2008 8:54:10 PM CST
-- Human Resource & Payroll
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
;

-- Mar 23, 2008 8:54:11 PM CST
-- Human Resource & Payroll
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,54809,1522,0,18,286,53089,'Supervisor_ID',TO_TIMESTAMP('2008-03-23 20:54:10','YYYY-MM-DD HH24:MI:SS'),100,'Supervisor for this user/organization - used for escalation and approval','EE02',10,'The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.','Y','N','N','N','N','N','N','N','Y','N','Y','Supervisor',TO_TIMESTAMP('2008-03-23 20:54:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54809 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Supervisor_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:12 PM CST
-- Human Resource & Payroll
INSERT 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,54810,607,0,16,53089,'Updated',TO_TIMESTAMP('2008-03-23 20:54:11','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:54:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54810 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:54:13 PM CST
-- Human Resource & Payroll
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,54811,608,0,18,110,53089,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:54:12','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:54:12','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54811 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:13 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:17 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54812,102,0,19,53089,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:54:13','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:54:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54812 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:17 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:18 PM CST
-- Human Resource & Payroll
INSERT 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,54813,620,0,10,53089,'Value',TO_TIMESTAMP('2008-03-23 20:54:17','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 20:54:17','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54813 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:18 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Job ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 8:54:19 PM CST
-- Human Resource & Payroll
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,53110,53089,53035,NULL,TO_TIMESTAMP('2008-03-23 20:54:18','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Job','EE02','N','Y','N','N','Y','N','Y','N','N','Job','N',10,0,TO_TIMESTAMP('2008-03-23 20:54:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:19 PM CST
-- Human Resource & Payroll
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=53110 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:54:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54809,54966,0,53110,TO_TIMESTAMP('2008-03-23 20:54:19','YYYY-MM-DD HH24:MI:SS'),100,'Supervisor for this user/organization - used for escalation and approval',10,'EE02','The Supervisor indicates who will be used for forwarding and escalating issues for this user - or for approvals.','Y','Y','N','N','N','N','Y','Supervisor',0,0,TO_TIMESTAMP('2008-03-23 20:54:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54966 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54804,54967,0,53110,TO_TIMESTAMP('2008-03-23 20:54:20','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Job',0,0,TO_TIMESTAMP('2008-03-23 20:54:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54967 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:22 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54808,54968,0,53110,TO_TIMESTAMP('2008-03-23 20:54:21','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','Y','Next Job',0,0,TO_TIMESTAMP('2008-03-23 20:54:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54968 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:23 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54807,54969,0,53110,TO_TIMESTAMP('2008-03-23 20:54:22','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Job Cant',0,0,TO_TIMESTAMP('2008-03-23 20:54:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54969 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54806,54970,0,53110,TO_TIMESTAMP('2008-03-23 20:54:23','YYYY-MM-DD HH24:MI:SS'),100,'This column is a link to the parent table (e.g. header from lines) - incl. Association key columns',1,'EE02','The Parent checkbox indicates if this column is a link to the parent table.','Y','Y','N','N','N','N','N','Parent link column',0,0,TO_TIMESTAMP('2008-03-23 20:54:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54970 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54812,54971,0,53110,TO_TIMESTAMP('2008-03-23 20:54:24','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:54:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54971 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54799,54972,0,53110,TO_TIMESTAMP('2008-03-23 20:54:25','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:54:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54972 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54813,54973,0,53110,TO_TIMESTAMP('2008-03-23 20:54:26','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 20:54:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54973 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54798,54974,0,53110,TO_TIMESTAMP('2008-03-23 20:54:27','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:54:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54974 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54802,54975,0,53110,TO_TIMESTAMP('2008-03-23 20:54:28','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:54:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54975 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54805,54976,0,53110,TO_TIMESTAMP('2008-03-23 20:54:29','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:54:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54976 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:30 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54803,54977,0,53110,TO_TIMESTAMP('2008-03-23 20:54:30','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Department',70,0,TO_TIMESTAMP('2008-03-23 20:54:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54977 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:54:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Preference (AD_Client_ID,AD_Org_ID,AD_Preference_ID,AD_Window_ID,Attribute,Created,CreatedBy,IsActive,Updated,UpdatedBy,Value) VALUES (0,0,50004,53035,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:54:30','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:54:30','YYYY-MM-DD HH24:MI:SS'),100,'0')
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53036,TO_TIMESTAMP('2008-03-23 20:54:31','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept Catalog','EE02','The Payroll  Concept Catalog Window is used to define the concepts for a payroll ie ( salaries, wages, bonuses, and deductions.)','Y','N','N','Y','Payroll Concept Catalog','N',TO_TIMESTAMP('2008-03-23 20:54:31','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
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=53036 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53036,TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53036,TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53036,TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53036,TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:33 PM CST
-- Human Resource & Payroll
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,53090,53036,'3',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Concept Catalog','L','HR_Concept',TO_TIMESTAMP('2008-03-23 20:54:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:33 PM CST
-- Human Resource & Payroll
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=53090 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:54:34 PM CST
-- Human Resource & Payroll
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,53109,TO_TIMESTAMP('2008-03-23 20:54:33','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Concept',1,'Y','N','Y','Y','HR_Concept','N',1000000,TO_TIMESTAMP('2008-03-23 20:54:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AccountSign', Description='Indicates the Natural Sign of the Account as a Debit or Credit', EntityType='D', Help='Indicates if the expected balance for this account should be a Debit or a Credit. If set to Natural, the account sign for an asset or expense account is Debit Sign (i.e. negative if a credit balance).', IsActive='Y', Name='Account Sign', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Sign',Updated=TO_TIMESTAMP('2008-03-23 20:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=146
;

-- Mar 23, 2008 8:54:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=146
;

-- Mar 23, 2008 8:54:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Account Sign list', EntityType='D', Help=NULL, IsActive='Y', Name='C_ElementValue Account Sign', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:54:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=118
;

-- Mar 23, 2008 8:54:34 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=118
;

-- Mar 23, 2008 8:54:36 PM CST
-- Human Resource & Payroll
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,54814,146,0,17,118,53090,'AccountSign',TO_TIMESTAMP('2008-03-23 20:54:35','YYYY-MM-DD HH24:MI:SS'),100,'Indicates the Natural Sign of the Account as a Debit or Credit','EE02',1,'Indicates if the expected balance for this account should be a Debit or a Credit. If set to Natural, the account sign for an asset or expense account is Debit Sign (i.e. negative if a credit balance).','Y','N','N','N','N','N','N','N','Y','N','Y','Account Sign',TO_TIMESTAMP('2008-03-23 20:54:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54814 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:36 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Concept (AccountSign CHAR(1))
;

-- Mar 23, 2008 8:54:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsReadWrite', Description='Field is read / write', EntityType='D', Help='The Read Write indicates that this field may be read and updated.', IsActive='Y', Name='Read Write', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Read Write',Updated=TO_TIMESTAMP('2008-03-23 20:54:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=406
;

-- Mar 23, 2008 8:54:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=406
;

-- Mar 23, 2008 8:54:38 PM CST
-- Human Resource & Payroll
INSERT 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,54815,406,0,20,53090,'IsReadWrite',TO_TIMESTAMP('2008-03-23 20:54:37','YYYY-MM-DD HH24:MI:SS'),100,'Field is read / write','EE02',1,'The Read Write indicates that this field may be read and updated.','Y','N','N','N','N','N','N','N','Y','N','Y','Read Write',TO_TIMESTAMP('2008-03-23 20:54:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54815 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsReadWrite CHAR(1) CHECK (IsReadWrite IN ('Y','N'))
;

-- Mar 23, 2008 8:54:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsReceipt', Description='This is a sales transaction (receipt)', EntityType='D', Help=NULL, IsActive='Y', Name='Receipt', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Receipt',Updated=TO_TIMESTAMP('2008-03-23 20:54:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1634
;

-- Mar 23, 2008 8:54:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1634
;

-- Mar 23, 2008 8:54:39 PM CST
-- Human Resource & Payroll
INSERT 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,54816,1634,0,20,53090,'IsReceipt',TO_TIMESTAMP('2008-03-23 20:54:38','YYYY-MM-DD HH24:MI:SS'),100,'This is a sales transaction (receipt)','EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Receipt',TO_TIMESTAMP('2008-03-23 20:54:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54816 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsReceipt CHAR(1) CHECK (IsReceipt IN ('Y','N'))
;

-- Mar 23, 2008 8:54:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsPaid', Description='The document is paid', EntityType='D', Help=NULL, IsActive='Y', Name='Paid', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Paid',Updated=TO_TIMESTAMP('2008-03-23 20:54:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1402
;

-- Mar 23, 2008 8:54:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1402
;

-- Mar 23, 2008 8:54:41 PM CST
-- Human Resource & Payroll
INSERT 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,54817,1402,0,20,53090,'IsPaid',TO_TIMESTAMP('2008-03-23 20:54:40','YYYY-MM-DD HH24:MI:SS'),100,'The document is paid','EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Paid',TO_TIMESTAMP('2008-03-23 20:54:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54817 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:41 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsPaid CHAR(1) CHECK (IsPaid IN ('Y','N'))
;

-- Mar 23, 2008 8:54:45 PM CST
-- Human Resource & Payroll
INSERT 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,54818,620,0,10,53090,'Value',TO_TIMESTAMP('2008-03-23 20:54:41','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','Y','N','N','N','N','Y','N','Y','Search Key',1,TO_TIMESTAMP('2008-03-23 20:54:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54818 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 8:54:46 PM CST
-- Human Resource & Payroll
INSERT 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,54819,469,0,10,53090,'Name',TO_TIMESTAMP('2008-03-23 20:54:45','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',2,TO_TIMESTAMP('2008-03-23 20:54:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54819 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Name VARCHAR(60) NOT NULL
;

-- Mar 23, 2008 8:54:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53403,0,'HR_Concept_Category_ID',TO_TIMESTAMP('2008-03-23 20:54:46','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Concept Category','Payroll Concept Category',TO_TIMESTAMP('2008-03-23 20:54:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:54:47 PM CST
-- Human Resource & Payroll
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=53403 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:54:47 PM CST
-- Human Resource & Payroll
INSERT 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,54820,53403,0,19,53090,'HR_Concept_Category_ID',TO_TIMESTAMP('2008-03-23 20:54:47','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll Concept Category',TO_TIMESTAMP('2008-03-23 20:54:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54820 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN HR_Concept_Category_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:48 PM CST
-- Human Resource & Payroll
INSERT 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,54821,53398,0,13,53090,'HR_Concept_ID',TO_TIMESTAMP('2008-03-23 20:54:48','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Concept',TO_TIMESTAMP('2008-03-23 20:54:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54821 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN HR_Concept_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD CONSTRAINT HR_Concept_Key PRIMARY KEY (HR_Concept_ID)
;

-- Mar 23, 2008 8:54:49 PM CST
-- Human Resource & Payroll
INSERT 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,54822,53390,0,19,53090,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:54:48','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 20:54:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54822 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:49 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN HR_Department_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:50 PM CST
-- Human Resource & Payroll
INSERT 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,54823,53392,0,19,53090,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:54:49','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Job',TO_TIMESTAMP('2008-03-23 20:54:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54823 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN HR_Job_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:51 PM CST
-- Human Resource & Payroll
INSERT 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,54824,53393,0,19,53090,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:54:50','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 20:54:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54824 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN HR_Payroll_ID NUMERIC(10)
;

-- Mar 23, 2008 8:54:52 PM CST
-- Human Resource & Payroll
INSERT 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,54825,348,0,20,53090,'IsActive',TO_TIMESTAMP('2008-03-23 20:54:52','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:54:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54825 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:54:53 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54826,102,0,19,53090,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:54:53','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:54:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54826 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:54:54 PM CST
-- Human Resource & Payroll
INSERT 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,54827,373,0,20,53090,'IsEmployee',TO_TIMESTAMP('2008-03-23 20:54:53','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  this Business Partner is an employee','EE02',1,'The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.','Y','N','N','N','N','N','N','N','Y','N','Y','Employee',TO_TIMESTAMP('2008-03-23 20:54:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54827 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsEmployee CHAR(1) CHECK (IsEmployee IN ('Y','N'))
;

-- Mar 23, 2008 8:54:55 PM CST
-- Human Resource & Payroll
INSERT 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,54828,399,0,20,53090,'IsPrinted',TO_TIMESTAMP('2008-03-23 20:54:54','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed','EE02',1,'The Printed checkbox indicates if this document or line will included when printing.','Y','N','N','N','N','N','N','N','Y','N','Y','Printed',TO_TIMESTAMP('2008-03-23 20:54:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54828 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsPrinted CHAR(1) CHECK (IsPrinted IN ('Y','N'))
;

-- Mar 23, 2008 8:54:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsRegistered', Description='The application is registered.', EntityType='D', Help=NULL, IsActive='Y', Name='Registered', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Registered',Updated=TO_TIMESTAMP('2008-03-23 20:54:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2211
;

-- Mar 23, 2008 8:54:56 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2211
;

-- Mar 23, 2008 8:54:56 PM CST
-- Human Resource & Payroll
INSERT 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,54829,2211,0,20,53090,'IsRegistered',TO_TIMESTAMP('2008-03-23 20:54:56','YYYY-MM-DD HH24:MI:SS'),100,'The application is registered.','EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Registered',TO_TIMESTAMP('2008-03-23 20:54:56','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:54:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54829 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:54:56 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsRegistered CHAR(1) CHECK (IsRegistered IN ('Y','N'))
;

-- Mar 23, 2008 8:54:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Type', Description='Type of Validation (SQL, Java Script, Java Language)', EntityType='D', Help='The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.', IsActive='Y', Name='Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Type',Updated=TO_TIMESTAMP('2008-03-23 20:54:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=600
;

-- Mar 23, 2008 8:54:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=600
;

-- Mar 23, 2008 8:54:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53245,TO_TIMESTAMP('2008-03-23 20:54:57','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR Type',TO_TIMESTAMP('2008-03-23 20:54:57','YYYY-MM-DD HH24:MI:SS'),100,'L')
;

-- Mar 23, 2008 8:54:58 PM CST
-- Human Resource & Payroll
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=53245 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

-- Mar 23, 2008 8:54:58 PM CST
-- Human Resource & Payroll
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,53347,53245,TO_TIMESTAMP('2008-03-23 20:54:58','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Concept',TO_TIMESTAMP('2008-03-23 20:54:58','YYYY-MM-DD HH24:MI:SS'),100,'C')
;

-- Mar 23, 2008 8:54:58 PM CST
-- Human Resource & Payroll
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=53347 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:54:59 PM CST
-- Human Resource & Payroll
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,53348,53245,TO_TIMESTAMP('2008-03-23 20:54:58','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Rule Engine',TO_TIMESTAMP('2008-03-23 20:54:58','YYYY-MM-DD HH24:MI:SS'),100,'E')
;

-- Mar 23, 2008 8:54:59 PM CST
-- Human Resource & Payroll
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=53348 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:55:00 PM CST
-- Human Resource & Payroll
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,53349,53245,TO_TIMESTAMP('2008-03-23 20:54:59','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Information',TO_TIMESTAMP('2008-03-23 20:54:59','YYYY-MM-DD HH24:MI:SS'),100,'I')
;

-- Mar 23, 2008 8:55:00 PM CST
-- Human Resource & Payroll
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=53349 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:55:03 PM CST
-- Human Resource & Payroll
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,53350,53245,TO_TIMESTAMP('2008-03-23 20:55:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Reference',TO_TIMESTAMP('2008-03-23 20:55:00','YYYY-MM-DD HH24:MI:SS'),100,'R')
;

-- Mar 23, 2008 8:55:03 PM CST
-- Human Resource & Payroll
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=53350 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:55:03 PM CST
-- Human Resource & Payroll
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,54830,600,0,17,53245,53090,'Type',TO_TIMESTAMP('2008-03-23 20:55:03','YYYY-MM-DD HH24:MI:SS'),100,'Type of Validation (SQL, Java Script, Java Language)','EE02',1,'The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.','Y','N','N','N','N','Y','N','N','Y','N','Y','Type',TO_TIMESTAMP('2008-03-23 20:55:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54830 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Type CHAR(1) NOT NULL
;

-- Mar 23, 2008 8:55:05 PM CST
-- Human Resource & Payroll
INSERT 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,54831,607,0,16,53090,'Updated',TO_TIMESTAMP('2008-03-23 20:55:04','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:55:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54831 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:05 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:55:05 PM CST
-- Human Resource & Payroll
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,54832,608,0,18,110,53090,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:55:05','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:55:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54832 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:07 PM CST
-- Human Resource & Payroll
INSERT 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,54833,617,0,16,53090,'ValidFrom',TO_TIMESTAMP('2008-03-23 20:55:06','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 20:55:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54833 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN ValidFrom TIMESTAMP
;

-- Mar 23, 2008 8:55:07 PM CST
-- Human Resource & Payroll
INSERT 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,54834,618,0,16,53090,'ValidTo',TO_TIMESTAMP('2008-03-23 20:55:07','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)','EE02',29,'The Valid To date indicates the last day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid to',TO_TIMESTAMP('2008-03-23 20:55:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54834 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN ValidTo TIMESTAMP
;

-- Mar 23, 2008 8:55:08 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:55:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1103
;

-- Mar 23, 2008 8:55:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1103
;

-- Mar 23, 2008 8:55:09 PM CST
-- Human Resource & Payroll
INSERT 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,54835,1103,0,20,53090,'IsDefault',TO_TIMESTAMP('2008-03-23 20:55:08','YYYY-MM-DD HH24:MI:SS'),100,'Default value','EE02',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','N','N','N','N','N','N','N','Y','N','Y','Default',TO_TIMESTAMP('2008-03-23 20:55:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54835 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN IsDefault CHAR(1) CHECK (IsDefault IN ('Y','N'))
;

-- Mar 23, 2008 8:55:10 PM CST
-- Human Resource & Payroll
INSERT 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,54836,113,0,19,53090,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:55:09','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:55:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54836 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:11 PM CST
-- Human Resource & Payroll
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,54837,1606,0,17,53243,53090,'ColumnType',TO_TIMESTAMP('2008-03-23 20:55:11','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','Y','N','N','Y','N','Y','Column Type',TO_TIMESTAMP('2008-03-23 20:55:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54837 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN ColumnType CHAR(1) NOT NULL
;

-- Mar 23, 2008 8:55:12 PM CST
-- Human Resource & Payroll
INSERT 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,54838,245,0,16,53090,'Created',TO_TIMESTAMP('2008-03-23 20:55:11','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:55:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54838 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:55:13 PM CST
-- Human Resource & Payroll
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,54839,246,0,18,110,53090,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:55:12','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:55:12','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54839 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:13 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:14 PM CST
-- Human Resource & Payroll
INSERT 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,54840,275,0,10,53090,'Description',TO_TIMESTAMP('2008-03-23 20:55:13','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:55:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54840 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:55:15 PM CST
-- Human Resource & Payroll
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,53111,53090,53036,NULL,TO_TIMESTAMP('2008-03-23 20:55:15','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept','EE02','N','Y','N','N','Y','N','Y','N','N','Concept','N',10,0,TO_TIMESTAMP('2008-03-23 20:55:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:15 PM CST
-- Human Resource & Payroll
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=53111 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:55:16 PM CST
-- Human Resource & Payroll
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,54816,54978,0,53111,TO_TIMESTAMP('2008-03-23 20:55:16','YYYY-MM-DD HH24:MI:SS'),100,'This is a sales transaction (receipt)',1,'EE02','Y','Y','N','N','N','N','N','Receipt',0,0,TO_TIMESTAMP('2008-03-23 20:55:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54978 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54833,54979,0,53111,TO_TIMESTAMP('2008-03-23 20:55:16','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','N','N','N','N','N','Valid from',0,0,TO_TIMESTAMP('2008-03-23 20:55:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54979 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54834,54980,0,53111,TO_TIMESTAMP('2008-03-23 20:55:17','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','N','N','N','N','N','Valid to',0,0,TO_TIMESTAMP('2008-03-23 20:55:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54980 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54821,54981,0,53111,TO_TIMESTAMP('2008-03-23 20:55:18','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Concept',0,0,TO_TIMESTAMP('2008-03-23 20:55:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54981 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54822,54982,0,53111,TO_TIMESTAMP('2008-03-23 20:55:21','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Department',0,0,TO_TIMESTAMP('2008-03-23 20:55:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54982 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:23 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54823,54983,0,53111,TO_TIMESTAMP('2008-03-23 20:55:22','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Job',0,0,TO_TIMESTAMP('2008-03-23 20:55:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54983 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:23 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54824,54984,0,53111,TO_TIMESTAMP('2008-03-23 20:55:23','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll',0,0,TO_TIMESTAMP('2008-03-23 20:55:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54984 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54826,54985,0,53111,TO_TIMESTAMP('2008-03-23 20:55:24','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:55:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54985 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54836,54986,0,53111,TO_TIMESTAMP('2008-03-23 20:55:25','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:55:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54986 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54818,54987,0,53111,TO_TIMESTAMP('2008-03-23 20:55:25','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 20:55:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54987 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54819,54988,0,53111,TO_TIMESTAMP('2008-03-23 20:55:26','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:55:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54988 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54840,54989,0,53111,TO_TIMESTAMP('2008-03-23 20:55:27','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:55:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54989 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54825,54990,0,53111,TO_TIMESTAMP('2008-03-23 20:55:28','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:55:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54990 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:30 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54820,54991,0,53111,TO_TIMESTAMP('2008-03-23 20:55:29','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll Concept Category',70,0,TO_TIMESTAMP('2008-03-23 20:55:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54991 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54830,54992,0,53111,TO_TIMESTAMP('2008-03-23 20:55:30','YYYY-MM-DD HH24:MI:SS'),100,'Type of Validation (SQL, Java Script, Java Language)',1,'EE02','The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.','Y','Y','Y','N','N','N','N','Type',80,0,TO_TIMESTAMP('2008-03-23 20:55:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54992 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54814,54993,0,53111,TO_TIMESTAMP('2008-03-23 20:55:31','YYYY-MM-DD HH24:MI:SS'),100,'Indicates the Natural Sign of the Account as a Debit or Credit',1,'EE02','Indicates if the expected balance for this account should be a Debit or a Credit. If set to Natural, the account sign for an asset or expense account is Debit Sign (i.e. negative if a credit balance).','Y','Y','Y','N','N','N','Y','Account Sign',90,0,TO_TIMESTAMP('2008-03-23 20:55:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54993 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:34 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54837,54994,0,53111,TO_TIMESTAMP('2008-03-23 20:55:33','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','N','N','Column Type',100,0,TO_TIMESTAMP('2008-03-23 20:55:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54994 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54827,54995,0,53111,TO_TIMESTAMP('2008-03-23 20:55:34','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  this Business Partner is an employee',1,'EE02','The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.','Y','Y','Y','N','N','N','N','Employee',110,0,TO_TIMESTAMP('2008-03-23 20:55:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54995 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54828,54996,0,53111,TO_TIMESTAMP('2008-03-23 20:55:35','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed',1,'EE02','The Printed checkbox indicates if this document or line will included when printing.','Y','Y','Y','N','N','N','Y','Printed',120,0,TO_TIMESTAMP('2008-03-23 20:55:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54996 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:40 PM CST
-- Human Resource & Payroll
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,54835,54997,0,53111,TO_TIMESTAMP('2008-03-23 20:55:38','YYYY-MM-DD HH24:MI:SS'),100,'Default value',1,'@Type@! ''E''','EE02','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','N','Default',130,0,TO_TIMESTAMP('2008-03-23 20:55:38','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54997 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:41 PM CST
-- Human Resource & Payroll
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,54829,54998,0,53111,TO_TIMESTAMP('2008-03-23 20:55:40','YYYY-MM-DD HH24:MI:SS'),100,'The application is registered.',1,'@Type@! ''E''','EE02','Y','Y','Y','N','N','N','Y','Registered',140,0,TO_TIMESTAMP('2008-03-23 20:55:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54998 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:42 PM CST
-- Human Resource & Payroll
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,54817,54999,0,53111,TO_TIMESTAMP('2008-03-23 20:55:41','YYYY-MM-DD HH24:MI:SS'),100,'The document is paid',1,'EE02','Y','Y','Y','N','N','N','N','Paid',150,0,TO_TIMESTAMP('2008-03-23 20:55:41','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=54999 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54815,55000,0,53111,TO_TIMESTAMP('2008-03-23 20:55:42','YYYY-MM-DD HH24:MI:SS'),100,'Field is read / write',1,'EE02','The Read Write indicates that this field may be read and updated.','Y','Y','Y','N','N','N','Y','Read Write',160,0,TO_TIMESTAMP('2008-03-23 20:55:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55000 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:55:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53091,'3',TO_TIMESTAMP('2008-03-23 20:55:42','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','HR_Concept_Acct_ID','L','HR_Concept_Acct',TO_TIMESTAMP('2008-03-23 20:55:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:43 PM CST
-- Human Resource & Payroll
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=53091 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:55:44 PM CST
-- Human Resource & Payroll
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,53110,TO_TIMESTAMP('2008-03-23 20:55:43','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Concept_Acct',1,'Y','N','Y','Y','HR_Concept_Acct','N',1000000,TO_TIMESTAMP('2008-03-23 20:55:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:45 PM CST
-- Human Resource & Payroll
INSERT 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,54841,1383,0,19,53091,'C_BP_Group_ID',TO_TIMESTAMP('2008-03-23 20:55:44','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group','D',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner Group',TO_TIMESTAMP('2008-03-23 20:55:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54841 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:45 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Concept_Acct (C_BP_Group_ID NUMERIC(10))
;

-- Mar 23, 2008 8:55:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsBalancing', Description='All transactions within an element value must balance (e.g. cost centers)', EntityType='D', Help='The Balancing checkbox indicates the this element must balance in each journal transaction.  For example, if cost centers have been defined as an element which is balance then the debits and credits for each unique cost center must net to 0.00.  This is commonly used to define parts of an organization which report as their own entity.  Balancing is not an option for the Account element.', IsActive='Y', Name='Balancing', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Balancing',Updated=TO_TIMESTAMP('2008-03-23 20:55:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=355
;

-- Mar 23, 2008 8:55:46 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=355
;

-- Mar 23, 2008 8:55:48 PM CST
-- Human Resource & Payroll
INSERT 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,54842,355,0,20,53091,'IsBalancing',TO_TIMESTAMP('2008-03-23 20:55:46','YYYY-MM-DD HH24:MI:SS'),100,'All transactions within an element value must balance (e.g. cost centers)','EE02',1,'The Balancing checkbox indicates the this element must balance in each journal transaction.  For example, if cost centers have been defined as an element which is balance then the debits and credits for each unique cost center must net to 0.00.  This is commonly used to define parts of an organization which report as their own entity.  Balancing is not an option for the Account element.','Y','N','N','N','N','N','N','N','Y','N','Y','Balancing',TO_TIMESTAMP('2008-03-23 20:55:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54842 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN IsBalancing CHAR(1) CHECK (IsBalancing IN ('Y','N'))
;

-- Mar 23, 2008 8:55:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='User1_ID', Description='User defined list element #1', EntityType='D', Help='The user defined element displays the optional elements that have been defined for this account combination.', IsActive='Y', Name='User List 1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='User 1',Updated=TO_TIMESTAMP('2008-03-23 20:55:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=613
;

-- Mar 23, 2008 8:55:48 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=613
;

-- Mar 23, 2008 8:55:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='User1 selection based on Client', EntityType='D', Help=NULL, IsActive='Y', Name='Account_ID - User1', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:55:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=134
;

-- Mar 23, 2008 8:55:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=134
;

-- Mar 23, 2008 8:55:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 188, AD_Display = 1135, AD_Key = 1125, isValueDisplayed = 'Y', OrderByClause = 'C_ElementValue.Value', EntityType ='D', WhereClause = 'C_ElementValue.IsActive=''Y'' AND C_ElementValue.IsSummary=''N'' 
AND C_ElementValue.C_Element_ID IN (SELECT C_Element_ID FROM C_AcctSchema_Element ase WHERE ase.ElementType=''U1'' AND ase.AD_Client_ID=@AD_Client_ID@)' WHERE AD_Reference_ID = 134
;

-- Mar 23, 2008 8:55:50 PM CST
-- Human Resource & Payroll
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,54843,613,0,18,134,53091,'User1_ID',TO_TIMESTAMP('2008-03-23 20:55:49','YYYY-MM-DD HH24:MI:SS'),100,'@User1_ID@','User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','N','N','N','N','N','N','Y','N','Y','User List 1',TO_TIMESTAMP('2008-03-23 20:55:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54843 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN User1_ID NUMERIC(10) DEFAULT NULL 
;

-- Mar 23, 2008 8:55:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='User2_ID', Description='User defined list element #2', EntityType='D', Help='The user defined element displays the optional elements that have been defined for this account combination.', IsActive='Y', Name='User List 2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='User 2',Updated=TO_TIMESTAMP('2008-03-23 20:55:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=614
;

-- Mar 23, 2008 8:55:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=614
;

-- Mar 23, 2008 8:55:51 PM CST
-- Human Resource & Payroll
INSERT 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,54844,614,0,25,53091,'User2_ID',TO_TIMESTAMP('2008-03-23 20:55:50','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #2','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','Y','N','Y','User List 2',TO_TIMESTAMP('2008-03-23 20:55:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54844 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN User2_ID NUMERIC(10)
;

-- Mar 23, 2008 8:55:52 PM CST
-- Human Resource & Payroll
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,54845,246,0,18,110,53091,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:55:51','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:55:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54845 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53404,0,'HR_Concept_Acct_ID',TO_TIMESTAMP('2008-03-23 20:55:52','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR_Concept_Acct_ID','HR_Concept_Acct_ID',TO_TIMESTAMP('2008-03-23 20:55:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:52 PM CST
-- Human Resource & Payroll
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=53404 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:55:53 PM CST
-- Human Resource & Payroll
INSERT 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,54846,53404,0,13,53091,'HR_Concept_Acct_ID',TO_TIMESTAMP('2008-03-23 20:55:52','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','HR_Concept_Acct_ID',TO_TIMESTAMP('2008-03-23 20:55:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54846 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN HR_Concept_Acct_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD CONSTRAINT HR_Concept_Acct_Key PRIMARY KEY (HR_Concept_Acct_ID)
;

-- Mar 23, 2008 8:55:55 PM CST
-- Human Resource & Payroll
INSERT 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,54847,53398,0,19,53091,'HR_Concept_ID',TO_TIMESTAMP('2008-03-23 20:55:54','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Concept',TO_TIMESTAMP('2008-03-23 20:55:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54847 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN HR_Concept_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:56 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54848,102,0,19,53091,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:55:55','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:55:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54848 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:56 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53405,0,'HR_Revenue_Acct',TO_TIMESTAMP('2008-03-23 20:55:56','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR_Revenue_Acct','HR_Revenue_Acct',TO_TIMESTAMP('2008-03-23 20:55:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:55:57 PM CST
-- Human Resource & Payroll
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=53405 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:55:57 PM CST
-- Human Resource & Payroll
INSERT 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,54849,53405,0,25,53091,'HR_Revenue_Acct',TO_TIMESTAMP('2008-03-23 20:55:57','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','HR_Revenue_Acct',TO_TIMESTAMP('2008-03-23 20:55:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54849 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN HR_Revenue_Acct NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:55:58 PM CST
-- Human Resource & Payroll
INSERT 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,54850,348,0,20,53091,'IsActive',TO_TIMESTAMP('2008-03-23 20:55:58','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:55:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54850 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:55:59 PM CST
-- Human Resource & Payroll
INSERT 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,54851,607,0,16,53091,'Updated',TO_TIMESTAMP('2008-03-23 20:55:58','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:55:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:55:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54851 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:55:59 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:56:00 PM CST
-- Human Resource & Payroll
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,54852,608,0,18,110,53091,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:55:59','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:55:59','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54852 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:00 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:56:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53406,0,'HR_Expense_Acct',TO_TIMESTAMP('2008-03-23 20:56:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR_Expense_Acct','HR_Expense_Acct',TO_TIMESTAMP('2008-03-23 20:56:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:01 PM CST
-- Human Resource & Payroll
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=53406 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:56:02 PM CST
-- Human Resource & Payroll
INSERT 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,54853,53406,0,25,53091,'HR_Expense_Acct',TO_TIMESTAMP('2008-03-23 20:56:01','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','HR_Expense_Acct',TO_TIMESTAMP('2008-03-23 20:56:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54853 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN HR_Expense_Acct NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:56:03 PM CST
-- Human Resource & Payroll
INSERT 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,54854,113,0,19,53091,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:56:02','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:56:02','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54854 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:03 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:56:04 PM CST
-- Human Resource & Payroll
INSERT 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,54855,181,0,19,53091,'C_AcctSchema_ID',TO_TIMESTAMP('2008-03-23 20:56:03','YYYY-MM-DD HH24:MI:SS'),100,'Rules for accounting','EE02',10,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','N','N','N','N','Y','N','N','Y','N','Y','Accounting Schema',TO_TIMESTAMP('2008-03-23 20:56:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54855 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN C_AcctSchema_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:56:05 PM CST
-- Human Resource & Payroll
INSERT 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,54856,245,0,16,53091,'Created',TO_TIMESTAMP('2008-03-23 20:56:04','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:56:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54856 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Acct ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:56:06 PM CST
-- Human Resource & Payroll
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,54847,0,53112,53091,53036,NULL,TO_TIMESTAMP('2008-03-23 20:56:06','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','Y','N','Y','N','N','Concept Accounting','N',20,1,TO_TIMESTAMP('2008-03-23 20:56:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:06 PM CST
-- Human Resource & Payroll
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=53112 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:56:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54844,55001,0,53112,TO_TIMESTAMP('2008-03-23 20:56:06','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #2',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','N','N','N','N','N','User List 2',0,0,TO_TIMESTAMP('2008-03-23 20:56:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55001 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54848,55002,0,53112,TO_TIMESTAMP('2008-03-23 20:56:07','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:56:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55002 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54854,55003,0,53112,TO_TIMESTAMP('2008-03-23 20:56:08','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:56:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55003 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54855,55004,0,53112,TO_TIMESTAMP('2008-03-23 20:56:13','YYYY-MM-DD HH24:MI:SS'),100,'Rules for accounting',10,'EE02','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',30,0,TO_TIMESTAMP('2008-03-23 20:56:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55004 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:15 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54847,55005,0,53112,TO_TIMESTAMP('2008-03-23 20:56:14','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Concept',40,0,TO_TIMESTAMP('2008-03-23 20:56:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55005 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54850,55006,0,53112,TO_TIMESTAMP('2008-03-23 20:56:15','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:56:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55006 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:17 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54853,55007,0,53112,TO_TIMESTAMP('2008-03-23 20:56:16','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','HR_Expense_Acct',60,0,TO_TIMESTAMP('2008-03-23 20:56:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55007 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:17 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54849,55008,0,53112,TO_TIMESTAMP('2008-03-23 20:56:17','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','HR_Revenue_Acct',70,0,TO_TIMESTAMP('2008-03-23 20:56:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55008 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54843,55009,0,53112,TO_TIMESTAMP('2008-03-23 20:56:17','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #1',60,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','User List 1',80,0,TO_TIMESTAMP('2008-03-23 20:56:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55009 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54841,55010,0,53112,TO_TIMESTAMP('2008-03-23 20:56:19','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group',30,'EE02','The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','Y','N','N','N','N','Business Partner Group',90,0,TO_TIMESTAMP('2008-03-23 20:56:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55010 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54842,55011,0,53112,TO_TIMESTAMP('2008-03-23 20:56:20','YYYY-MM-DD HH24:MI:SS'),100,'All transactions within an element value must balance (e.g. cost centers)',1,'EE02','The Balancing checkbox indicates the this element must balance in each journal transaction.  For example, if cost centers have been defined as an element which is balance then the debits and credits for each unique cost center must net to 0.00.  This is commonly used to define parts of an organization which report as their own entity.  Balancing is not an option for the Account element.','Y','Y','Y','N','N','N','N','Balancing',100,0,TO_TIMESTAMP('2008-03-23 20:56:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55011 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:23 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54846,55012,0,53112,TO_TIMESTAMP('2008-03-23 20:56:22','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','HR_Concept_Acct_ID',0,0,TO_TIMESTAMP('2008-03-23 20:56:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55012 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:24 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,Help,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,54771,0,53113,53087,53036,NULL,TO_TIMESTAMP('2008-03-23 20:56:23','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Employee Attributes','EE02','N','The Employee Attributes are used to define aditional data for a employee','Y','N','N','Y','N','N','N','N','Employee Attributes','N',15,1,TO_TIMESTAMP('2008-03-23 20:56:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:24 PM CST
-- Human Resource & Payroll
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=53113 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:56:25 PM CST
-- Human Resource & Payroll
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,54769,55013,0,53113,TO_TIMESTAMP('2008-03-23 20:56:24','YYYY-MM-DD HH24:MI:SS'),100,'Account for Employee Attribute',10,'EE02','Y','Y','N','N','N','N','N','Account Payroll Employee Attribute',0,0,TO_TIMESTAMP('2008-03-23 20:56:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55013 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54777,55014,0,53113,TO_TIMESTAMP('2008-03-23 20:56:25','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed',1,'EE02','The Printed checkbox indicates if this document or line will included when printing.','Y','Y','N','N','N','N','N','Printed',0,0,TO_TIMESTAMP('2008-03-23 20:56:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55014 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:26 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54770,55015,0,53113,TO_TIMESTAMP('2008-03-23 20:56:25','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Employee Attribute',0,0,TO_TIMESTAMP('2008-03-23 20:56:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55015 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54760,55016,0,53113,TO_TIMESTAMP('2008-03-23 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:56:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55016 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54761,55017,0,53113,TO_TIMESTAMP('2008-03-23 20:56:28','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:56:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55017 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:30 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54771,55018,0,53113,TO_TIMESTAMP('2008-03-23 20:56:29','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Concept',30,0,TO_TIMESTAMP('2008-03-23 20:56:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55018 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54768,55019,0,53113,TO_TIMESTAMP('2008-03-23 20:56:30','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',40,0,TO_TIMESTAMP('2008-03-23 20:56:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55019 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54785,55020,0,53113,TO_TIMESTAMP('2008-03-23 20:56:30','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','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('2008-03-23 20:56:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55020 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54786,55021,0,53113,TO_TIMESTAMP('2008-03-23 20:56:32','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','Y','Valid to',60,0,TO_TIMESTAMP('2008-03-23 20:56:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55021 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54776,55022,0,53113,TO_TIMESTAMP('2008-03-23 20:56:33','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',70,0,TO_TIMESTAMP('2008-03-23 20:56:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55022 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:35 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54765,55023,0,53113,TO_TIMESTAMP('2008-03-23 20:56:34','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','Y','N','Column Type',80,0,TO_TIMESTAMP('2008-03-23 20:56:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55023 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:36 PM CST
-- Human Resource & Payroll
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,54762,55024,0,53113,TO_TIMESTAMP('2008-03-23 20:56:35','YYYY-MM-DD HH24:MI:SS'),100,10,'@Type@=''E''','EE02','Y','Y','Y','N','N','N','Y','Rule',90,0,TO_TIMESTAMP('2008-03-23 20:56:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55024 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:38 PM CST
-- Human Resource & Payroll
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,54763,55025,0,53113,TO_TIMESTAMP('2008-03-23 20:56:36','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency',20,'@ColumnType@ = ''A'' & @Type@! ''E''','EE02','The Amount indicates the amount for this document line.','Y','Y','Y','N','N','N','Y','Amount',100,0,TO_TIMESTAMP('2008-03-23 20:56:36','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55025 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:39 PM CST
-- Human Resource & Payroll
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,54780,55026,0,53113,TO_TIMESTAMP('2008-03-23 20:56:38','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',10,'@ColumnType@ = ''Q''  & @Type@! ''E''','EE02','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','Y','Quantity',110,0,TO_TIMESTAMP('2008-03-23 20:56:38','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55026 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:40 PM CST
-- Human Resource & Payroll
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,54781,55027,0,53113,TO_TIMESTAMP('2008-03-23 20:56:39','YYYY-MM-DD HH24:MI:SS'),100,'Date service was provided',29,'@ColumnType@ = ''D''','EE02','The Service Date indicates the date that the service was provided.','Y','Y','Y','N','N','N','Y','Service date',120,0,TO_TIMESTAMP('2008-03-23 20:56:39','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55027 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:42 PM CST
-- Human Resource & Payroll
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,54782,55028,0,53113,TO_TIMESTAMP('2008-03-23 20:56:40','YYYY-MM-DD HH24:MI:SS'),100,'Text Message',255,'@ColumnType@ = ''T''','EE02','Y','Y','Y','N','N','N','Y','Text Message',130,0,TO_TIMESTAMP('2008-03-23 20:56:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55028 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:43 PM CST
-- Human Resource & Payroll
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,54775,55029,0,53113,TO_TIMESTAMP('2008-03-23 20:56:42','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@!Y','EE02','Y','Y','Y','N','N','N','N','Payroll',140,0,TO_TIMESTAMP('2008-03-23 20:56:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55029 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:43 PM CST
-- Human Resource & Payroll
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,54774,55030,0,53113,TO_TIMESTAMP('2008-03-23 20:56:43','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@ ! Y','EE02','Y','Y','Y','N','N','N','N','Job',150,0,TO_TIMESTAMP('2008-03-23 20:56:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55030 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:44 PM CST
-- Human Resource & Payroll
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,54772,55031,0,53113,TO_TIMESTAMP('2008-03-23 20:56:43','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@ ! Y','EE02','Y','Y','Y','N','N','N','Y','Department',160,0,TO_TIMESTAMP('2008-03-23 20:56:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55031 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:45 PM CST
-- Human Resource & Payroll
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,54779,55032,0,53113,TO_TIMESTAMP('2008-03-23 20:56:44','YYYY-MM-DD HH24:MI:SS'),100,10,'@Type@! ''E''','EE02','Y','Y','Y','N','N','N','N','MinValue',170,0,TO_TIMESTAMP('2008-03-23 20:56:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55032 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:46 PM CST
-- Human Resource & Payroll
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,54778,55033,0,53113,TO_TIMESTAMP('2008-03-23 20:56:45','YYYY-MM-DD HH24:MI:SS'),100,10,'@Type@! ''E''','EE02','Y','Y','Y','N','N','N','Y','MaxValue',180,0,TO_TIMESTAMP('2008-03-23 20:56:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55033 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
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,54764,55034,0,53113,TO_TIMESTAMP('2008-03-23 20:56:46','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'@IsEmployee@= ''Y''','EE02','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 ',190,0,TO_TIMESTAMP('2008-03-23 20:56:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55034 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53037,TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Processing','EE02','The Payroll Processing Window is used to processing a Payroll, you can calculate for a Employee or All Employees','Y','N','N','Y','Payroll Processing','N',TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
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=53037 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53037,TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53037,TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53037,TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53037,TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:56:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:49 PM CST
-- Human Resource & Payroll
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,53092,53037,'3',TO_TIMESTAMP('2008-03-23 20:56:49','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','Y','N','N','Payroll Process','L','HR_Process',TO_TIMESTAMP('2008-03-23 20:56:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:49 PM CST
-- Human Resource & Payroll
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=53092 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:56:50 PM CST
-- Human Resource & Payroll
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,53111,TO_TIMESTAMP('2008-03-23 20:56:49','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Process',1,'Y','N','Y','Y','HR_Process','N',1000000,TO_TIMESTAMP('2008-03-23 20:56:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:51 PM CST
-- Human Resource & Payroll
INSERT 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,54857,53392,0,19,53092,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 20:56:50','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Job',TO_TIMESTAMP('2008-03-23 20:56:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54857 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:51 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Process (HR_Job_ID NUMERIC(10))
;

-- Mar 23, 2008 8:56:52 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:56:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=196
;

-- Mar 23, 2008 8:56:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=196
;

-- Mar 23, 2008 8:56:53 PM CST
-- Human Resource & Payroll
INSERT 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,54858,196,0,19,53092,'C_DocType_ID',TO_TIMESTAMP('2008-03-23 20:56:52','YYYY-MM-DD HH24:MI:SS'),100,'@C_DocTypeTarget_ID@','Document type or rules','EE02',10,'The Document Type determines document sequence and processing rules','Y','N','N','N','N','N','N','N','Y','N','N','Document Type',TO_TIMESTAMP('2008-03-23 20:56:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54858 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN C_DocType_ID NUMERIC(10) DEFAULT NULL 
;

-- Mar 23, 2008 8:56:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_PaySelection_ID', Description='Payment Selection', EntityType='D', Help='The Payment Selection identifies a unique Payment', IsActive='Y', Name='Payment Selection', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Payment Selection',Updated=TO_TIMESTAMP('2008-03-23 20:56:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1532
;

-- Mar 23, 2008 8:56:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1532
;

-- Mar 23, 2008 8:56:55 PM CST
-- Human Resource & Payroll
INSERT 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,54859,1532,0,19,53092,'C_PaySelection_ID',TO_TIMESTAMP('2008-03-23 20:56:54','YYYY-MM-DD HH24:MI:SS'),100,'Payment Selection','EE02',10,'The Payment Selection identifies a unique Payment','Y','N','N','N','N','N','N','N','Y','N','Y','Payment Selection',TO_TIMESTAMP('2008-03-23 20:56:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54859 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:56:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN C_PaySelection_ID NUMERIC(10)
;

-- Mar 23, 2008 8:56:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53407,0,'HR_Process_ID',TO_TIMESTAMP('2008-03-23 20:56:55','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Process','Payroll Process',TO_TIMESTAMP('2008-03-23 20:56:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:56:58 PM CST
-- Human Resource & Payroll
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=53407 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:56:59 PM CST
-- Human Resource & Payroll
INSERT 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,54860,53407,0,13,53092,'HR_Process_ID',TO_TIMESTAMP('2008-03-23 20:56:58','YYYY-MM-DD HH24:MI:SS'),100,'-1','EE02',10,'Y','N','N','N','Y','N','N','N','Y','N','N','Payroll Process',TO_TIMESTAMP('2008-03-23 20:56:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:56:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54860 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:00 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN HR_Process_ID NUMERIC(10) DEFAULT '-1' 
;

-- Mar 23, 2008 8:57:00 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD CONSTRAINT HR_Process_Key PRIMARY KEY (HR_Process_ID)
;

-- Mar 23, 2008 8:57:01 PM CST
-- Human Resource & Payroll
INSERT 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,54861,53391,0,19,53092,'HR_Employee_ID',TO_TIMESTAMP('2008-03-23 20:57:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Employee',TO_TIMESTAMP('2008-03-23 20:57:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54861 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:01 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN HR_Employee_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:01 PM CST
-- Human Resource & Payroll
INSERT 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,54862,469,0,10,53092,'Name',TO_TIMESTAMP('2008-03-23 20:57:01','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 20:57:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54862 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Name VARCHAR(60) NOT NULL
;

-- Mar 23, 2008 8:57:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_DocTypeTarget_ID', Description='Target document type for conversing documents', EntityType='D', Help='You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.', IsActive='Y', Name='Target Document Type', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Target Doc Type',Updated=TO_TIMESTAMP('2008-03-23 20:57:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=197
;

-- Mar 23, 2008 8:57:02 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=197
;

-- Mar 23, 2008 8:57:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='C_DocType', ValidationType='T',Updated=TO_TIMESTAMP('2008-03-23 20:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=170
;

-- Mar 23, 2008 8:57:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=170
;

-- Mar 23, 2008 8:57:03 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_Table SET AD_Table_ID = 217, AD_Display = 1509, AD_Key = 1501, isValueDisplayed = 'N', OrderByClause = '', EntityType ='D', WhereClause = 'C_DocType.AD_Client_ID=@#AD_Client_ID@' WHERE AD_Reference_ID = 170
;

-- Mar 23, 2008 8:57:04 PM CST
-- Human Resource & Payroll
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,54863,197,0,18,170,53092,'C_DocTypeTarget_ID',TO_TIMESTAMP('2008-03-23 20:57:03','YYYY-MM-DD HH24:MI:SS'),100,'Target document type for conversing documents','EE02',10,'You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.','Y','N','N','N','N','Y','N','N','Y','N','Y','Target Document Type',TO_TIMESTAMP('2008-03-23 20:57:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54863 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN C_DocTypeTarget_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='ColumnSQL', Description='Virtual Column (r/o)', EntityType='D', Help='You can define virtual columns (not stored in the database). If defined, the Column name is the synonym of the SQL expression defined here. The SQL expression must be valid.<br>
Example: "Updated-Created" would list the age of the entry in days', IsActive='Y', Name='Column SQL', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Column SQL',Updated=TO_TIMESTAMP('2008-03-23 20:57:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2699
;

-- Mar 23, 2008 8:57:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2699
;

-- Mar 23, 2008 8:57:05 PM CST
-- Human Resource & Payroll
INSERT 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,54864,2699,0,10,53092,'ColumnSQL',TO_TIMESTAMP('2008-03-23 20:57:04','YYYY-MM-DD HH24:MI:SS'),100,'Virtual Column (r/o)','EE02',255,'You can define virtual columns (not stored in the database). If defined, the Column name is the synonym of the SQL expression defined here. The SQL expression must be valid.<br>
Example: "Updated-Created" would list the age of the entry in days','Y','N','N','N','N','N','N','N','Y','N','Y','Column SQL',TO_TIMESTAMP('2008-03-23 20:57:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54864 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN ColumnSQL VARCHAR(255)
;

-- Mar 23, 2008 8:57:06 PM CST
-- Human Resource & Payroll
INSERT 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,54865,245,0,16,53092,'Created',TO_TIMESTAMP('2008-03-23 20:57:06','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:57:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54865 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:57:08 PM CST
-- Human Resource & Payroll
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,54866,246,0,18,110,53092,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:57:07','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:57:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54866 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:08 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=263
;

-- Mar 23, 2008 8:57:08 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=263
;

-- Mar 23, 2008 8:57:09 PM CST
-- Human Resource & Payroll
INSERT 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,54867,263,0,15,53092,'DateAcct',TO_TIMESTAMP('2008-03-23 20:57:08','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date','EE02',29,'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','N','Account Date',TO_TIMESTAMP('2008-03-23 20:57:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54867 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN DateAcct TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:57:10 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=287
;

-- Mar 23, 2008 8:57:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=287
;

-- Mar 23, 2008 8:57:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Document action list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Action', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=135
;

-- Mar 23, 2008 8:57:10 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=135
;

-- Mar 23, 2008 8:57:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=135, Description='Wait Condition ok Complete Docuement', EntityType='D', IsActive='Y', Name='Wait Complete', Value='WC',Updated=TO_TIMESTAMP('2008-03-23 20:57:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=691
;

-- Mar 23, 2008 8:57:17 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=691
;

-- Mar 23, 2008 8:57:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,Description,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,53092,50013,'1','e-Evolution',0,TO_TIMESTAMP('2008-03-23 20:57:17','YYYY-MM-DD HH24:MI:SS'),100,'(Standard Process Payroll)','10000000',1,'D','EE02','Y','N','N',0,'Process_Payroll',0,'R',TO_TIMESTAMP('2008-03-23 20:57:17','YYYY-MM-DD HH24:MI:SS'),100,'Process_Payroll',0,0,'P',0)
;

-- Mar 23, 2008 8:57:18 PM CST
-- Human Resource & Payroll
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=50013 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

-- Mar 23, 2008 8:57:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Workflow_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Workflow_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,50013,TO_TIMESTAMP('2008-03-23 20:57:18','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:57:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:57:20 PM CST
-- Human Resource & Payroll
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,50070,50013,'Z',0,TO_TIMESTAMP('2008-03-23 20:57:18','YYYY-MM-DD HH24:MI:SS'),100,'(Standard Node)','CO',0,0,'EE02','Y','N','X','(Start)',0,'X',TO_TIMESTAMP('2008-03-23 20:57:18','YYYY-MM-DD HH24:MI:SS'),100,'(Start)',0,0,0,353,9)
;

-- Mar 23, 2008 8:57:20 PM CST
-- Human Resource & Payroll
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=50070 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 8:57:21 PM CST
-- Human Resource & Payroll
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,50071,50013,'D',0,TO_TIMESTAMP('2008-03-23 20:57:20','YYYY-MM-DD HH24:MI:SS'),100,'(Standard Node)','PR',0,0,'EE02','Y','N','X','(DocPrepare)',0,'X',TO_TIMESTAMP('2008-03-23 20:57:20','YYYY-MM-DD HH24:MI:SS'),100,'(DocPrepare)',0,0,0,681,6)
;

-- Mar 23, 2008 8:57:21 PM CST
-- Human Resource & Payroll
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=50071 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 8:57:22 PM CST
-- Human Resource & Payroll
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,50072,50013,'D',0,TO_TIMESTAMP('2008-03-23 20:57:21','YYYY-MM-DD HH24:MI:SS'),100,'(Standard Node)','CO',0,0,'EE02','Y','N','X','(DocComplete)',0,'X',TO_TIMESTAMP('2008-03-23 20:57:21','YYYY-MM-DD HH24:MI:SS'),100,'(DocComplete)',0,0,0,684,175)
;

-- Mar 23, 2008 8:57:22 PM CST
-- Human Resource & Payroll
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=50072 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 8:57:23 PM CST
-- Human Resource & Payroll
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,50073,50013,'D',0,TO_TIMESTAMP('2008-03-23 20:57:22','YYYY-MM-DD HH24:MI:SS'),100,'(Standard Node)','--',0,0,'EE02','Y','N','X','(DocAuto)',0,'X',TO_TIMESTAMP('2008-03-23 20:57:22','YYYY-MM-DD HH24:MI:SS'),100,'(DocAuto)',0,0,0,379,170)
;

-- Mar 23, 2008 8:57:23 PM CST
-- Human Resource & Payroll
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=50073 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 8:57:23 PM CST
-- Human Resource & Payroll
UPDATE AD_Workflow SET AD_WF_Node_ID=50070, IsValid='Y',Updated=TO_TIMESTAMP('2008-03-23 20:57:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50013
;

-- Mar 23, 2008 8:57:24 PM CST
-- Human Resource & Payroll
UPDATE AD_Workflow SET AD_WF_Node_ID=181, IsValid='Y',Updated=TO_TIMESTAMP('2008-03-23 20:57:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50013
;

-- Mar 23, 2008 8:57:25 PM CST
-- Human Resource & Payroll
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,53076,50013,'1',TO_TIMESTAMP('2008-03-23 20:57:24','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N','N','N','Process Payroll','Y',0,0,TO_TIMESTAMP('2008-03-23 20:57:24','YYYY-MM-DD HH24:MI:SS'),100,'HR_Process Process',NULL)
;

-- Mar 23, 2008 8:57:25 PM CST
-- Human Resource & Payroll
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=53076 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
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,54868,287,0,53076,28,135,53092,'DocAction',TO_TIMESTAMP('2008-03-23 20:57:25','YYYY-MM-DD HH24:MI:SS'),100,'CO','The targeted status of the document','EE02',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('2008-03-23 20:57:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54868 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN DocAction CHAR(2) DEFAULT 'CO' NOT NULL
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=289
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=289
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Document Status list', EntityType='D', Help=NULL, IsActive='Y', Name='_Document Status', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:57:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=131
;

-- Mar 23, 2008 8:57:27 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=131
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Drafted', Value='DR',Updated=TO_TIMESTAMP('2008-03-23 20:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=164
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=164
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Completed', Value='CO',Updated=TO_TIMESTAMP('2008-03-23 20:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=165
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=165
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Approved', Value='AP',Updated=TO_TIMESTAMP('2008-03-23 20:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=166
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=166
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Not Approved', Value='NA',Updated=TO_TIMESTAMP('2008-03-23 20:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=168
;

-- Mar 23, 2008 8:57:28 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=168
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Voided', Value='VO',Updated=TO_TIMESTAMP('2008-03-23 20:57:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=172
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=172
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid', Value='IN',Updated=TO_TIMESTAMP('2008-03-23 20:57:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=173
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=173
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Reversed', Value='RE',Updated=TO_TIMESTAMP('2008-03-23 20:57:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=176
;

-- Mar 23, 2008 8:57:29 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=176
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Closed', Value='CL',Updated=TO_TIMESTAMP('2008-03-23 20:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=177
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=177
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Unknown', Value='??',Updated=TO_TIMESTAMP('2008-03-23 20:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=190
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=190
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='In Progress', Value='IP',Updated=TO_TIMESTAMP('2008-03-23 20:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=341
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=341
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Confirmation', Value='WC',Updated=TO_TIMESTAMP('2008-03-23 20:57:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=670
;

-- Mar 23, 2008 8:57:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=670
;

-- Mar 23, 2008 8:57:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=131, Description=NULL, EntityType='D', IsActive='Y', Name='Waiting Payment', Value='WP',Updated=TO_TIMESTAMP('2008-03-23 20:57:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=346
;

-- Mar 23, 2008 8:57:31 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=346
;

-- Mar 23, 2008 8:57:31 PM CST
-- Human Resource & Payroll
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,54869,289,0,17,131,53092,'DocStatus',TO_TIMESTAMP('2008-03-23 20:57:31','YYYY-MM-DD HH24:MI:SS'),100,'DR','The current status of the document','EE02',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('2008-03-23 20:57:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54869 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:32 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN DocStatus VARCHAR(2) DEFAULT 'DR' NOT NULL
;

-- Mar 23, 2008 8:57:32 PM CST
-- Human Resource & Payroll
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_<TableName>", 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('2008-03-23 20:57:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=290
;

-- Mar 23, 2008 8:57:32 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=290
;

-- Mar 23, 2008 8:57:33 PM CST
-- Human Resource & Payroll
INSERT 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,54870,290,0,10,53092,'DocumentNo',TO_TIMESTAMP('2008-03-23 20:57:32','YYYY-MM-DD HH24:MI:SS'),100,'Document sequence number of the document','EE02',90,'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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','N','Document No',TO_TIMESTAMP('2008-03-23 20:57:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54870 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:33 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN DocumentNo VARCHAR(90)
;

-- Mar 23, 2008 8:57:34 PM CST
-- Human Resource & Payroll
INSERT 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,54871,53390,0,19,53092,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 20:57:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 20:57:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54871 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN HR_Department_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:35 PM CST
-- Human Resource & Payroll
INSERT 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,54872,53393,0,19,53092,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:57:34','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','N','Payroll',TO_TIMESTAMP('2008-03-23 20:57:34','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54872 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN HR_Payroll_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53408,0,'HR_Period_ID',TO_TIMESTAMP('2008-03-23 20:57:35','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Period','Payroll Period',TO_TIMESTAMP('2008-03-23 20:57:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:57:37 PM CST
-- Human Resource & Payroll
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=53408 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:57:37 PM CST
-- Human Resource & Payroll
INSERT 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,54873,53408,0,19,53092,'HR_Period_ID',TO_TIMESTAMP('2008-03-23 20:57:37','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','N','Payroll Period',TO_TIMESTAMP('2008-03-23 20:57:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54873 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN HR_Period_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:38 PM CST
-- Human Resource & Payroll
INSERT 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,54874,348,0,20,53092,'IsActive',TO_TIMESTAMP('2008-03-23 20:57:38','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:57:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54874 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1308
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1308
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='_Posted Status', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:57:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=234
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=234
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posting Error', Value='E',Updated=TO_TIMESTAMP('2008-03-23 20:57:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=684
;

-- Mar 23, 2008 8:57:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=684
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Posted', Value='N',Updated=TO_TIMESTAMP('2008-03-23 20:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=458
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=458
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Posted', Value='Y',Updated=TO_TIMESTAMP('2008-03-23 20:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=459
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=459
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Not Balanced', Value='b',Updated=TO_TIMESTAMP('2008-03-23 20:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=460
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=460
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=461
;

-- Mar 23, 2008 8:57:40 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=461
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Period Closed', Value='p',Updated=TO_TIMESTAMP('2008-03-23 20:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=462
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=462
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Post Prepared', Value='y',Updated=TO_TIMESTAMP('2008-03-23 20:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=463
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=463
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=234, Description=NULL, EntityType='D', IsActive='Y', Name='Invalid Account', Value='i',Updated=TO_TIMESTAMP('2008-03-23 20:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=464
;

-- Mar 23, 2008 8:57:41 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=464
;

-- Mar 23, 2008 8:57:42 PM CST
-- Human Resource & Payroll
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,54875,1308,0,28,234,53092,'Posted',TO_TIMESTAMP('2008-03-23 20:57:41','YYYY-MM-DD HH24:MI:SS'),100,'N','Posting status','EE02',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('2008-03-23 20:57:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54875 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Posted CHAR(1) DEFAULT 'N' NOT NULL
;

-- Mar 23, 2008 8:57:43 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1047
;

-- Mar 23, 2008 8:57:43 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047
;

-- Mar 23, 2008 8:57:43 PM CST
-- Human Resource & Payroll
INSERT 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,54876,1047,0,20,53092,'Processed',TO_TIMESTAMP('2008-03-23 20:57:43','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','EE02',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('2008-03-23 20:57:43','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54876 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:43 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Processed CHAR(1) CHECK (Processed IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:57:45 PM CST
-- Human Resource & Payroll
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,54877,524,0,53076,28,53092,'Processing',TO_TIMESTAMP('2008-03-23 20:57:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2008-03-23 20:57:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54877 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Processing CHAR(1)
;

-- Mar 23, 2008 8:57:46 PM CST
-- Human Resource & Payroll
INSERT 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,54878,607,0,16,53092,'Updated',TO_TIMESTAMP('2008-03-23 20:57:45','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:57:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54878 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:57:46 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54879,102,0,19,53092,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:57:46','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:57:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54879 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:47 PM CST
-- Human Resource & Payroll
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,54880,608,0,18,110,53092,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:57:47','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:57:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54880 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:48 PM CST
-- Human Resource & Payroll
INSERT 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,54881,113,0,19,53092,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:57:48','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:57:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54881 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:57:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_PrintFormat_ID', Description='Data Print Format', EntityType='D', Help='The print format determines how data is rendered for print.', IsActive='Y', Name='Print Format', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Print Format',Updated=TO_TIMESTAMP('2008-03-23 20:57:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1790
;

-- Mar 23, 2008 8:57:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1790
;

-- Mar 23, 2008 8:57:51 PM CST
-- Human Resource & Payroll
INSERT 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,54882,1790,0,19,53092,'AD_PrintFormat_ID',TO_TIMESTAMP('2008-03-23 20:57:50','YYYY-MM-DD HH24:MI:SS'),100,'Data Print Format','EE02',10,'The print format determines how data is rendered for print.','Y','N','N','N','N','N','N','N','Y','N','Y','Print Format',TO_TIMESTAMP('2008-03-23 20:57:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54882 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN AD_PrintFormat_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='AD_Workflow_ID', Description='Workflow or combination of tasks', EntityType='D', Help='The Workflow field identifies a unique Workflow in the system.', IsActive='Y', Name='Workflow', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Workflow',Updated=TO_TIMESTAMP('2008-03-23 20:57:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=144
;

-- Mar 23, 2008 8:57:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=144
;

-- Mar 23, 2008 8:57:52 PM CST
-- Human Resource & Payroll
INSERT 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,54883,144,0,19,53092,'AD_Workflow_ID',TO_TIMESTAMP('2008-03-23 20:57:51','YYYY-MM-DD HH24:MI:SS'),100,'Workflow or combination of tasks','EE02',10,'The Workflow field identifies a unique Workflow in the system.','Y','N','N','N','N','N','N','N','Y','N','Y','Workflow',TO_TIMESTAMP('2008-03-23 20:57:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54883 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN AD_Workflow_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:54 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54884,187,0,19,53092,52012,'C_BPartner_ID',TO_TIMESTAMP('2008-03-23 20:57:52','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','EE02',10,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_TIMESTAMP('2008-03-23 20:57:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54884 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN C_BPartner_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:55 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:57:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=968
;

-- Mar 23, 2008 8:57:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=968
;

-- Mar 23, 2008 8:57:56 PM CST
-- Human Resource & Payroll
INSERT 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,54885,968,0,19,53092,'C_Charge_ID',TO_TIMESTAMP('2008-03-23 20:57:55','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','EE02',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('2008-03-23 20:57:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:57:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54885 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:57:56 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Process ADD COLUMN C_Charge_ID NUMERIC(10)
;

-- Mar 23, 2008 8:57:58 PM CST
-- Human Resource & Payroll
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,53114,53092,53037,NULL,TO_TIMESTAMP('2008-03-23 20:57:56','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','N','Y','N','Y','N','N','Process','N',10,0,TO_TIMESTAMP('2008-03-23 20:57:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:57:58 PM CST
-- Human Resource & Payroll
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=53114 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:57:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54883,55035,0,53114,TO_TIMESTAMP('2008-03-23 20:57:58','YYYY-MM-DD HH24:MI:SS'),100,'Workflow or combination of tasks',10,'EE02','The Workflow field identifies a unique Workflow in the system.','Y','Y','N','N','N','N','N','Workflow',0,0,TO_TIMESTAMP('2008-03-23 20:57:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:57:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55035 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:57:59 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54860,55036,0,53114,TO_TIMESTAMP('2008-03-23 20:57:58','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Process',0,0,TO_TIMESTAMP('2008-03-23 20:57:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:57:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55036 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:00 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54877,55037,0,53114,TO_TIMESTAMP('2008-03-23 20:57:59','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','N','N','N','N','Y','Process Now',0,0,TO_TIMESTAMP('2008-03-23 20:57:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55037 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54864,55038,0,53114,TO_TIMESTAMP('2008-03-23 20:58:00','YYYY-MM-DD HH24:MI:SS'),100,'Virtual Column (r/o)',255,'EE02','You can define virtual columns (not stored in the database). If defined, the Column name is the synonym of the SQL expression defined here. The SQL expression must be valid.<br>
Example: "Updated-Created" would list the age of the entry in days','Y','Y','N','N','N','N','N','Column SQL',0,0,TO_TIMESTAMP('2008-03-23 20:58:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55038 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:03 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54861,55039,0,53114,TO_TIMESTAMP('2008-03-23 20:58:01','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Employee',0,0,TO_TIMESTAMP('2008-03-23 20:58:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55039 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54879,55040,0,53114,TO_TIMESTAMP('2008-03-23 20:58:04','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:58:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55040 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54881,55041,0,53114,TO_TIMESTAMP('2008-03-23 20:58:05','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:58:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55041 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54870,55042,0,53114,TO_TIMESTAMP('2008-03-23 20:58:06','YYYY-MM-DD HH24:MI:SS'),100,'Document sequence number of the document',10,'EE02','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_<TableName>", 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('2008-03-23 20:58:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55042 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54862,55043,0,53114,TO_TIMESTAMP('2008-03-23 20:58:07','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:58:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55043 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54874,55044,0,53114,TO_TIMESTAMP('2008-03-23 20:58:08','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:58:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55044 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54863,55045,0,53114,TO_TIMESTAMP('2008-03-23 20:58:09','YYYY-MM-DD HH24:MI:SS'),100,'Target document type for conversing documents',10,'EE02','You can convert document types (e.g. from Offer to Order or Invoice).  The conversion is then reflected in the current type.  This processing is initiated by selecting the appropriate Document Action.','Y','Y','Y','N','N','N','N','Target Document Type',60,0,TO_TIMESTAMP('2008-03-23 20:58:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55045 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54867,55046,0,53114,TO_TIMESTAMP('2008-03-23 20:58:09','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date',29,'EE02','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','Account Date',70,0,TO_TIMESTAMP('2008-03-23 20:58:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55046 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:11 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54872,55047,0,53114,TO_TIMESTAMP('2008-03-23 20:58:10','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','Payroll',80,0,TO_TIMESTAMP('2008-03-23 20:58:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55047 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:12 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54873,55048,0,53114,TO_TIMESTAMP('2008-03-23 20:58:11','YYYY-MM-DD HH24:MI:SS'),100,60,'EE02','Y','Y','Y','N','N','N','N','Payroll Period',90,0,TO_TIMESTAMP('2008-03-23 20:58:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55048 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:13 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54871,55049,0,53114,TO_TIMESTAMP('2008-03-23 20:58:12','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Department',100,0,TO_TIMESTAMP('2008-03-23 20:58:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55049 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:14 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54857,55050,0,53114,TO_TIMESTAMP('2008-03-23 20:58:13','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','Job',110,0,TO_TIMESTAMP('2008-03-23 20:58:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55050 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54884,55051,0,53114,TO_TIMESTAMP('2008-03-23 20:58:14','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'EE02','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 ',120,0,TO_TIMESTAMP('2008-03-23 20:58:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55051 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54882,55052,0,53114,TO_TIMESTAMP('2008-03-23 20:58:15','YYYY-MM-DD HH24:MI:SS'),100,'Data Print Format',10,'EE02','The print format determines how data is rendered for print.','Y','Y','Y','N','N','N','N','Print Format',130,0,TO_TIMESTAMP('2008-03-23 20:58:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55052 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54885,55053,0,53114,TO_TIMESTAMP('2008-03-23 20:58:16','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',10,'EE02','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','Y','Charge',140,0,TO_TIMESTAMP('2008-03-23 20:58:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55053 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54869,55054,0,53114,TO_TIMESTAMP('2008-03-23 20:58:17','YYYY-MM-DD HH24:MI:SS'),100,'The current status of the document',2,'EE02','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',150,0,TO_TIMESTAMP('2008-03-23 20:58:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55054 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54858,55055,0,53114,TO_TIMESTAMP('2008-03-23 20:58:18','YYYY-MM-DD HH24:MI:SS'),100,'Document type or rules',10,'EE02','The Document Type determines document sequence and processing rules','Y','Y','Y','N','N','Y','Y','Document Type',160,0,TO_TIMESTAMP('2008-03-23 20:58:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55055 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54876,55056,0,53114,TO_TIMESTAMP('2008-03-23 20:58:19','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'EE02','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',170,0,TO_TIMESTAMP('2008-03-23 20:58:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55056 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54868,55057,0,53114,TO_TIMESTAMP('2008-03-23 20:58:20','YYYY-MM-DD HH24:MI:SS'),100,'The targeted status of the document',2,'EE02','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',180,0,TO_TIMESTAMP('2008-03-23 20:58:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55057 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54859,55058,0,53114,TO_TIMESTAMP('2008-03-23 20:58:21','YYYY-MM-DD HH24:MI:SS'),100,'Payment Selection',10,'EE02','The Payment Selection identifies a unique Payment','Y','Y','Y','N','N','N','N','Payment Selection',190,0,TO_TIMESTAMP('2008-03-23 20:58:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55058 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:23 PM CST
-- Human Resource & Payroll
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,54875,55059,0,53114,TO_TIMESTAMP('2008-03-23 20:58:22','YYYY-MM-DD HH24:MI:SS'),100,'Posting status',1,'@Processed@ = ''Y''','EE02','The Posted field indicates the status of the Generation of General Ledger Accounting Lines ','Y','Y','Y','N','N','N','Y','Posted',200,0,TO_TIMESTAMP('2008-03-23 20:58:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55059 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:23 PM CST
-- Human Resource & Payroll
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,53038,TO_TIMESTAMP('2008-03-23 20:58:23','YYYY-MM-DD HH24:MI:SS'),100,'In a company, payroll is the sum of all financial records of salaries, wages, bonuses, and deductions.','EE02','Y','N','N','Y','Payroll Definition','N',TO_TIMESTAMP('2008-03-23 20:58:23','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 8:58:23 PM CST
-- Human Resource & Payroll
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=53038 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53038,TO_TIMESTAMP('2008-03-23 20:58:23','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:58:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53038,TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53038,TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53038,TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
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,53093,53038,'3',TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll','L','HR_Payroll',TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:24 PM CST
-- Human Resource & Payroll
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=53093 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:58:25 PM CST
-- Human Resource & Payroll
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,53112,TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Payroll',1,'Y','N','Y','Y','HR_Payroll','N',1000000,TO_TIMESTAMP('2008-03-23 20:58:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:26 PM CST
-- Human Resource & Payroll
INSERT 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,54886,469,0,10,53093,'Name',TO_TIMESTAMP('2008-03-23 20:58:25','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 20:58:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54886 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:26 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Payroll (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 8:58:27 PM CST
-- Human Resource & Payroll
INSERT 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,54887,620,0,10,53093,'Value',TO_TIMESTAMP('2008-03-23 20:58:26','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',1,TO_TIMESTAMP('2008-03-23 20:58:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54887 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:27 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 8:58:28 PM CST
-- Human Resource & Payroll
INSERT 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,54888,1790,0,19,53093,'AD_PrintFormat_ID',TO_TIMESTAMP('2008-03-23 20:58:27','YYYY-MM-DD HH24:MI:SS'),100,'Data Print Format','EE02',10,'The print format determines how data is rendered for print.','Y','N','N','N','N','N','N','N','Y','N','Y','Print Format',TO_TIMESTAMP('2008-03-23 20:58:27','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54888 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:28 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN AD_PrintFormat_ID NUMERIC(10)
;

-- Mar 23, 2008 8:58:29 PM CST
-- Human Resource & Payroll
INSERT 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,54889,968,0,19,53093,'C_Charge_ID',TO_TIMESTAMP('2008-03-23 20:58:28','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','EE02',22,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','N','N','N','N','N','N','N','Y','N','Y','Charge',TO_TIMESTAMP('2008-03-23 20:58:28','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54889 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:29 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN C_Charge_ID NUMERIC(10)
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
INSERT 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,54890,245,0,16,53093,'Created',TO_TIMESTAMP('2008-03-23 20:58:29','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:58:29','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54890 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
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,54891,246,0,18,110,53093,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:58:31','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:58:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54891 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:33 PM CST
-- Human Resource & Payroll
INSERT 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,54892,275,0,10,53093,'Description',TO_TIMESTAMP('2008-03-23 20:58:31','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:58:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54892 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:33 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
INSERT 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,54893,53389,0,19,53093,'HR_Contract_ID',TO_TIMESTAMP('2008-03-23 20:58:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Payroll Contract',TO_TIMESTAMP('2008-03-23 20:58:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54893 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN HR_Contract_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54894,102,0,19,53093,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:58:34','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:58:34','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54894 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:34 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:35 PM CST
-- Human Resource & Payroll
INSERT 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,54895,348,0,20,53093,'IsActive',TO_TIMESTAMP('2008-03-23 20:58:35','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:58:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54895 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:58:35 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference SET Description='Direct Debit/Deposit - Check - CC', EntityType='D', Help=NULL, IsActive='Y', Name='C_Payment Tender Type', ValidationType='L',Updated=TO_TIMESTAMP('2008-03-23 20:58:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=214
;

-- Mar 23, 2008 8:58:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=214
;

-- Mar 23, 2008 8:58:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=214, Description=NULL, EntityType='D', IsActive='Y', Name='Credit Card', Value='C',Updated=TO_TIMESTAMP('2008-03-23 20:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=400
;

-- Mar 23, 2008 8:58:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=400
;

-- Mar 23, 2008 8:58:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=214, Description=NULL, EntityType='D', IsActive='Y', Name='Direct Debit', Value='D',Updated=TO_TIMESTAMP('2008-03-23 20:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=651
;

-- Mar 23, 2008 8:58:36 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=651
;

-- Mar 23, 2008 8:58:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List SET AD_Reference_ID=214, Description=NULL, EntityType='D', IsActive='Y', Name='Check', Value='K',Updated=TO_TIMESTAMP('2008-03-23 20:58:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=401
;

-- Mar 23, 2008 8:58:37 PM CST
-- Human Resource & Payroll
UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=401
;

-- Mar 23, 2008 8:58:37 PM CST
-- Human Resource & Payroll
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,53351,214,TO_TIMESTAMP('2008-03-23 20:58:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Account',TO_TIMESTAMP('2008-03-23 20:58:37','YYYY-MM-DD HH24:MI:SS'),100,'T')
;

-- Mar 23, 2008 8:58:37 PM CST
-- Human Resource & Payroll
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=53351 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;

-- Mar 23, 2008 8:58:38 PM CST
-- Human Resource & Payroll
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,54896,1143,0,17,214,53093,'PaymentRule',TO_TIMESTAMP('2008-03-23 20:58:37','YYYY-MM-DD HH24:MI:SS'),100,'How you pay the invoice','EE02',1,'The Payment Rule indicates the method of invoice payment.','Y','N','N','N','N','Y','N','N','Y','N','Y','Payment Rule',TO_TIMESTAMP('2008-03-23 20:58:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54896 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN PaymentRule CHAR(1) NOT NULL
;

-- Mar 23, 2008 8:58:39 PM CST
-- Human Resource & Payroll
INSERT 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,54897,1047,0,20,53093,'Processed',TO_TIMESTAMP('2008-03-23 20:58:38','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','EE02',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2008-03-23 20:58:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54897 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Processed CHAR(1) CHECK (Processed IN ('Y','N'))
;

-- Mar 23, 2008 8:58:40 PM CST
-- Human Resource & Payroll
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,53078,'1','org.eevolution.process.HRCreateConcept',TO_TIMESTAMP('2008-03-23 20:58:39','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N','N','N','Create Concept for Payroll','Y',0,0,TO_TIMESTAMP('2008-03-23 20:58:39','YYYY-MM-DD HH24:MI:SS'),100,'HR_Payroll Concept',NULL)
;

-- Mar 23, 2008 8:58:40 PM CST
-- Human Resource & Payroll
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=53078 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

-- Mar 23, 2008 8:58:41 PM CST
-- Human Resource & Payroll
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,54898,524,0,53078,28,53093,'Processing',TO_TIMESTAMP('2008-03-23 20:58:40','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2008-03-23 20:58:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54898 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:41 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Processing CHAR(1)
;

-- Mar 23, 2008 8:58:42 PM CST
-- Human Resource & Payroll
INSERT 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,54899,607,0,16,53093,'Updated',TO_TIMESTAMP('2008-03-23 20:58:41','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:58:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54899 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:58:43 PM CST
-- Human Resource & Payroll
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,54900,608,0,18,110,53093,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:58:42','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:58:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54900 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:43 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:44 PM CST
-- Human Resource & Payroll
INSERT 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,54901,53393,0,13,53093,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:58:43','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll',TO_TIMESTAMP('2008-03-23 20:58:43','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54901 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN HR_Payroll_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD CONSTRAINT HR_Payroll_Key PRIMARY KEY (HR_Payroll_ID)
;

-- Mar 23, 2008 8:58:45 PM CST
-- Human Resource & Payroll
INSERT 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,54902,113,0,19,53093,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:58:44','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:58:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:58:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54902 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:58:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Payroll ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:58:45 PM CST
-- Human Resource & Payroll
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,53115,53093,53038,NULL,TO_TIMESTAMP('2008-03-23 20:58:45','YYYY-MM-DD HH24:MI:SS'),100,'In a company, payroll is the sum of all financial records of salaries, wages, bonuses, and deductions.','EE02','N','Y','N','N','Y','N','Y','N','N','Payroll','N',10,0,TO_TIMESTAMP('2008-03-23 20:58:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:46 PM CST
-- Human Resource & Payroll
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=53115 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:58:46 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54901,55060,0,53115,TO_TIMESTAMP('2008-03-23 20:58:46','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll',0,0,TO_TIMESTAMP('2008-03-23 20:58:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55060 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54894,55061,0,53115,TO_TIMESTAMP('2008-03-23 20:58:46','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:58:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55061 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54902,55062,0,53115,TO_TIMESTAMP('2008-03-23 20:58:47','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:58:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55062 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54887,55063,0,53115,TO_TIMESTAMP('2008-03-23 20:58:48','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 20:58:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55063 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54886,55064,0,53115,TO_TIMESTAMP('2008-03-23 20:58:50','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 20:58:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55064 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54892,55065,0,53115,TO_TIMESTAMP('2008-03-23 20:58:52','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 20:58:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55065 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54895,55066,0,53115,TO_TIMESTAMP('2008-03-23 20:58:53','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 20:58:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55066 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:55 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54893,55067,0,53115,TO_TIMESTAMP('2008-03-23 20:58:54','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll Contract',70,0,TO_TIMESTAMP('2008-03-23 20:58:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55067 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54896,55068,0,53115,TO_TIMESTAMP('2008-03-23 20:58:55','YYYY-MM-DD HH24:MI:SS'),100,'How you pay the invoice',1,'EE02','The Payment Rule indicates the method of invoice payment.','Y','Y','Y','N','N','N','Y','Payment Rule',80,0,TO_TIMESTAMP('2008-03-23 20:58:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55068 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54888,55069,0,53115,TO_TIMESTAMP('2008-03-23 20:58:55','YYYY-MM-DD HH24:MI:SS'),100,'Data Print Format',10,'EE02','The print format determines how data is rendered for print.','Y','Y','Y','N','N','N','N','Print Format',90,0,TO_TIMESTAMP('2008-03-23 20:58:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55069 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54889,55070,0,53115,TO_TIMESTAMP('2008-03-23 20:58:56','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',22,'EE02','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','Y','Charge',100,0,TO_TIMESTAMP('2008-03-23 20:58:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55070 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:58 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54898,55071,0,53115,TO_TIMESTAMP('2008-03-23 20:58:57','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','N','N','Process Now',110,0,TO_TIMESTAMP('2008-03-23 20:58:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55071 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:58:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54897,55072,0,53115,TO_TIMESTAMP('2008-03-23 20:58:58','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'EE02','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','Y','Processed',120,0,TO_TIMESTAMP('2008-03-23 20:58:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:58:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55072 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53094,'3',TO_TIMESTAMP('2008-03-23 20:58:59','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Period','L','HR_Period',TO_TIMESTAMP('2008-03-23 20:58:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:00 PM CST
-- Human Resource & Payroll
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=53094 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:59:01 PM CST
-- Human Resource & Payroll
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,53113,TO_TIMESTAMP('2008-03-23 20:59:00','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Period',1,'Y','N','Y','Y','HR_Period','N',1000000,TO_TIMESTAMP('2008-03-23 20:59:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:02 PM CST
-- Human Resource & Payroll
INSERT 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,54903,469,0,10,53094,'Name',TO_TIMESTAMP('2008-03-23 20:59:01','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',40,'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('2008-03-23 20:59:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54903 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:02 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Period (Name VARCHAR(40) NOT NULL)
;

-- Mar 23, 2008 8:59:03 PM CST
-- Human Resource & Payroll
INSERT 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,54904,113,0,19,53094,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:59:02','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:59:02','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54904 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:03 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:04 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:59:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=206
;

-- Mar 23, 2008 8:59:04 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=206
;

-- Mar 23, 2008 8:59:04 PM CST
-- Human Resource & Payroll
INSERT 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,54905,206,0,19,53094,'C_Period_ID',TO_TIMESTAMP('2008-03-23 20:59:04','YYYY-MM-DD HH24:MI:SS'),100,'Period of the Calendar','EE02',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','Y','N','N','Y','N','Y','Period',TO_TIMESTAMP('2008-03-23 20:59:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54905 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN C_Period_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='C_Year_ID', Description='Calendar Year', EntityType='D', Help='The Year uniquely identifies an accounting year for a calendar.', IsActive='Y', Name='Year', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Year',Updated=TO_TIMESTAMP('2008-03-23 20:59:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=223
;

-- Mar 23, 2008 8:59:05 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=223
;

-- Mar 23, 2008 8:59:05 PM CST
-- Human Resource & Payroll
INSERT 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,54906,223,0,19,53094,'C_Year_ID',TO_TIMESTAMP('2008-03-23 20:59:05','YYYY-MM-DD HH24:MI:SS'),100,'Calendar Year','EE02',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','Y','N','N','Y','N','Y','Year',TO_TIMESTAMP('2008-03-23 20:59:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54906 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN C_Year_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:07 PM CST
-- Human Resource & Payroll
INSERT 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,54907,245,0,16,53094,'Created',TO_TIMESTAMP('2008-03-23 20:59:06','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:59:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54907 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:59:08 PM CST
-- Human Resource & Payroll
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,54908,246,0,18,110,53094,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:59:07','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:59:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54908 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:09 PM CST
-- Human Resource & Payroll
INSERT 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,54909,263,0,15,53094,'DateAcct',TO_TIMESTAMP('2008-03-23 20:59:08','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date','EE02',29,'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('2008-03-23 20:59:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54909 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN DateAcct TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:59:10 PM CST
-- Human Resource & Payroll
INSERT 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,54910,275,0,10,53094,'Description',TO_TIMESTAMP('2008-03-23 20:59:09','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 20:59:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54910 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:10 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 8:59:11 PM CST
-- Human Resource & Payroll
INSERT 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,54911,294,0,15,53094,'EndDate',TO_TIMESTAMP('2008-03-23 20:59:10','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)','EE02',29,'The End Date indicates the last date in this range.','Y','N','N','N','N','N','N','N','Y','N','Y','End Date',TO_TIMESTAMP('2008-03-23 20:59:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54911 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN EndDate TIMESTAMP
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
INSERT 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,54912,53393,0,19,53094,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:59:11','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','N','N','Y','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 20:59:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54912 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN HR_Payroll_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
INSERT 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,54913,53408,0,13,53094,'HR_Period_ID',TO_TIMESTAMP('2008-03-23 20:59:12','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Period',TO_TIMESTAMP('2008-03-23 20:59:12','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54913 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN HR_Period_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD CONSTRAINT HR_Period_Key PRIMARY KEY (HR_Period_ID)
;

-- Mar 23, 2008 8:59:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53409,0,'HR_Year_ID',TO_TIMESTAMP('2008-03-23 20:59:13','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Year','Payroll Year',TO_TIMESTAMP('2008-03-23 20:59:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:13 PM CST
-- Human Resource & Payroll
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=53409 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 8:59:17 PM CST
-- Human Resource & Payroll
INSERT 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,54914,53409,0,19,53094,'HR_Year_ID',TO_TIMESTAMP('2008-03-23 20:59:13','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','Y','N','Y','N','N','Payroll Year',TO_TIMESTAMP('2008-03-23 20:59:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54914 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:17 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN HR_Year_ID NUMERIC(10)
;

-- Mar 23, 2008 8:59:18 PM CST
-- Human Resource & Payroll
INSERT 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,54915,348,0,20,53094,'IsActive',TO_TIMESTAMP('2008-03-23 20:59:17','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:59:17','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54915 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:18 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:59:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PeriodAction', Description='Action taken for this period', EntityType='D', Help='The Period Action indicates the action to be taken for this period.  For example ''Close Period'' or ''Open Period''.', IsActive='Y', Name='Period Action', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period Action',Updated=TO_TIMESTAMP('2008-03-23 20:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=499
;

-- Mar 23, 2008 8:59:19 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=499
;

-- Mar 23, 2008 8:59:19 PM CST
-- Human Resource & Payroll
INSERT 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,54916,499,0,10,53094,'PeriodAction',TO_TIMESTAMP('2008-03-23 20:59:19','YYYY-MM-DD HH24:MI:SS'),100,'Action taken for this period','EE02',1,'The Period Action indicates the action to be taken for this period.  For example ''Close Period'' or ''Open Period''.','Y','N','N','N','N','N','N','N','Y','N','Y','Period Action',TO_TIMESTAMP('2008-03-23 20:59:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54916 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:20 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN PeriodAction VARCHAR(1)
;

-- Mar 23, 2008 8:59:20 PM CST
-- Human Resource & Payroll
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('2008-03-23 20:59:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=500
;

-- Mar 23, 2008 8:59:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=500
;

-- Mar 23, 2008 8:59:21 PM CST
-- Human Resource & Payroll
INSERT 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,54917,500,0,11,53094,'PeriodNo',TO_TIMESTAMP('2008-03-23 20:59:20','YYYY-MM-DD HH24:MI:SS'),100,'Unique Period Number','EE02',10,'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.','Y','N','N','N','N','Y','N','N','Y','N','Y','Period No',TO_TIMESTAMP('2008-03-23 20:59:20','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54917 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:21 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN PeriodNo NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='PeriodStatus', Description='Current state of this period', EntityType='D', Help='The Period Status indicates the current status for this period.  For example ''Closed'', ''Open'', ''Never Opened''.', IsActive='Y', Name='Period Status', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Period Status',Updated=TO_TIMESTAMP('2008-03-23 20:59:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=501
;

-- Mar 23, 2008 8:59:22 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=501
;

-- Mar 23, 2008 8:59:23 PM CST
-- Human Resource & Payroll
INSERT 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,54918,501,0,10,53094,'PeriodStatus',TO_TIMESTAMP('2008-03-23 20:59:22','YYYY-MM-DD HH24:MI:SS'),100,'Current state of this period','EE02',1,'The Period Status indicates the current status for this period.  For example ''Closed'', ''Open'', ''Never Opened''.','Y','N','N','N','N','N','N','N','Y','N','Y','Period Status',TO_TIMESTAMP('2008-03-23 20:59:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54918 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN PeriodStatus VARCHAR(1)
;

-- Mar 23, 2008 8:59:25 PM CST
-- Human Resource & Payroll
INSERT 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,54919,1047,0,20,53094,'Processed',TO_TIMESTAMP('2008-03-23 20:59:23','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','EE02',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2008-03-23 20:59:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54919 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN Processed CHAR(1) CHECK (Processed IN ('Y','N'))
;

-- Mar 23, 2008 8:59:26 PM CST
-- Human Resource & Payroll
INSERT 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,54920,524,0,10,53094,'Processing',TO_TIMESTAMP('2008-03-23 20:59:26','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2008-03-23 20:59:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54920 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN Processing VARCHAR(1)
;

-- Mar 23, 2008 8:59:27 PM CST
-- Human Resource & Payroll
INSERT 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,54921,574,0,15,53094,'StartDate',TO_TIMESTAMP('2008-03-23 20:59:26','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)','EE02',29,'The Start Date indicates the first or starting date','Y','N','N','N','N','Y','N','N','Y','N','Y','Start Date',TO_TIMESTAMP('2008-03-23 20:59:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54921 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:27 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN StartDate TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:59:29 PM CST
-- Human Resource & Payroll
INSERT 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,54922,607,0,16,53094,'Updated',TO_TIMESTAMP('2008-03-23 20:59:27','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 20:59:27','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54922 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:29 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:59:30 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54923,102,0,19,53094,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:59:29','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:59:29','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54923 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:30 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:31 PM CST
-- Human Resource & Payroll
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,54924,608,0,18,110,53094,'UpdatedBy',TO_TIMESTAMP('2008-03-23 20:59:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 20:59:30','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54924 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Period ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:32 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,54906,0,53116,53094,53038,NULL,TO_TIMESTAMP('2008-03-23 20:59:31','YYYY-MM-DD HH24:MI:SS'),100,'Periods of pay','EE02','N','Y','N','N','Y','N','N','N','N','Periods','N',40,2,TO_TIMESTAMP('2008-03-23 20:59:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:32 PM CST
-- Human Resource & Payroll
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=53116 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 8:59:34 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54913,55073,0,53116,TO_TIMESTAMP('2008-03-23 20:59:32','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Period',0,0,TO_TIMESTAMP('2008-03-23 20:59:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55073 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54923,55074,0,53116,TO_TIMESTAMP('2008-03-23 20:59:34','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 20:59:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55074 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54904,55075,0,53116,TO_TIMESTAMP('2008-03-23 20:59:35','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 20:59:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55075 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:36 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54912,55076,0,53116,TO_TIMESTAMP('2008-03-23 20:59:35','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','Y','N','Payroll',30,0,TO_TIMESTAMP('2008-03-23 20:59:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55076 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54906,55077,0,53116,TO_TIMESTAMP('2008-03-23 20:59:36','YYYY-MM-DD HH24:MI:SS'),100,'Calendar Year',10,'EE02','The Year uniquely identifies an accounting year for a calendar.','Y','Y','Y','N','N','N','Y','Year',40,0,TO_TIMESTAMP('2008-03-23 20:59:36','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55077 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54903,55078,0,53116,TO_TIMESTAMP('2008-03-23 20:59:38','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',40,'EE02','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',50,0,TO_TIMESTAMP('2008-03-23 20:59:38','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55078 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54910,55079,0,53116,TO_TIMESTAMP('2008-03-23 20:59:39','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',60,0,TO_TIMESTAMP('2008-03-23 20:59:39','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55079 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54915,55080,0,53116,TO_TIMESTAMP('2008-03-23 20:59:40','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',70,0,TO_TIMESTAMP('2008-03-23 20:59:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55080 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54905,55081,0,53116,TO_TIMESTAMP('2008-03-23 20:59:40','YYYY-MM-DD HH24:MI:SS'),100,'Period of the Calendar',10,'EE02','The Period indicates an exclusive range of dates for a calendar.','Y','Y','Y','N','N','N','N','Period',80,0,TO_TIMESTAMP('2008-03-23 20:59:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55081 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54917,55082,0,53116,TO_TIMESTAMP('2008-03-23 20:59:41','YYYY-MM-DD HH24:MI:SS'),100,'Unique Period Number',10,'EE02','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.','Y','Y','Y','N','N','N','Y','Period No',90,0,TO_TIMESTAMP('2008-03-23 20:59:41','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55082 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54921,55083,0,53116,TO_TIMESTAMP('2008-03-23 20:59:43','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)',29,'EE02','The Start Date indicates the first or starting date','Y','Y','Y','N','N','N','N','Start Date',100,0,TO_TIMESTAMP('2008-03-23 20:59:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55083 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54911,55084,0,53116,TO_TIMESTAMP('2008-03-23 20:59:43','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)',29,'EE02','The End Date indicates the last date in this range.','Y','Y','Y','N','N','N','Y','End Date',110,0,TO_TIMESTAMP('2008-03-23 20:59:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55084 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54909,55085,0,53116,TO_TIMESTAMP('2008-03-23 20:59:45','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Date',29,'EE02','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','Account Date',120,0,TO_TIMESTAMP('2008-03-23 20:59:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55085 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54919,55086,0,53116,TO_TIMESTAMP('2008-03-23 20:59:45','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'EE02','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',130,0,TO_TIMESTAMP('2008-03-23 20:59:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55086 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 8:59:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53095,'3',TO_TIMESTAMP('2008-03-23 20:59:46','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Year','L','HR_Year',TO_TIMESTAMP('2008-03-23 20:59:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:47 PM CST
-- Human Resource & Payroll
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=53095 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 8:59:48 PM CST
-- Human Resource & Payroll
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,53114,TO_TIMESTAMP('2008-03-23 20:59:47','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Year',1,'Y','N','Y','Y','HR_Year','N',1000000,TO_TIMESTAMP('2008-03-23 20:59:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 8:59:48 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54925,102,0,19,53095,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 20:59:48','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 20:59:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54925 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:49 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Year (AD_Client_ID NUMERIC(10) NOT NULL)
;

-- Mar 23, 2008 8:59:49 PM CST
-- Human Resource & Payroll
INSERT 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,54926,113,0,19,53095,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 20:59:49','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 20:59:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54926 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:50 PM CST
-- Human Resource & Payroll
INSERT 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,54927,223,0,19,53095,'C_Year_ID',TO_TIMESTAMP('2008-03-23 20:59:50','YYYY-MM-DD HH24:MI:SS'),100,'Calendar Year','EE02',10,'The Year uniquely identifies an accounting year for a calendar.','Y','N','N','N','N','Y','N','N','Y','N','Y','Year',TO_TIMESTAMP('2008-03-23 20:59:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54927 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN C_Year_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:52 PM CST
-- Human Resource & Payroll
INSERT 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,54928,245,0,16,53095,'Created',TO_TIMESTAMP('2008-03-23 20:59:51','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 20:59:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54928 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 8:59:53 PM CST
-- Human Resource & Payroll
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,54929,246,0,18,110,53095,'CreatedBy',TO_TIMESTAMP('2008-03-23 20:59:52','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 20:59:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54929 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:54 PM CST
-- Human Resource & Payroll
INSERT 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,54930,53393,0,19,53095,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 20:59:53','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Payroll',TO_TIMESTAMP('2008-03-23 20:59:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54930 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN HR_Payroll_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:55 PM CST
-- Human Resource & Payroll
INSERT 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,54931,53409,0,13,53095,'HR_Year_ID',TO_TIMESTAMP('2008-03-23 20:59:54','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Year',TO_TIMESTAMP('2008-03-23 20:59:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54931 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN HR_Year_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD CONSTRAINT HR_Year_Key PRIMARY KEY (HR_Year_ID)
;

-- Mar 23, 2008 8:59:56 PM CST
-- Human Resource & Payroll
INSERT 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,54932,348,0,20,53095,'IsActive',TO_TIMESTAMP('2008-03-23 20:59:55','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 20:59:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54932 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:56 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 8:59:57 PM CST
-- Human Resource & Payroll
INSERT 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,54933,470,0,11,53095,'NetDays',TO_TIMESTAMP('2008-03-23 20:59:56','YYYY-MM-DD HH24:MI:SS'),100,'Net Days in which payment is due','EE02',10,'Indicates the number of days after invoice date that payment is due.','Y','N','N','N','N','Y','N','N','Y','N','Y','Net Days',TO_TIMESTAMP('2008-03-23 20:59:56','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54933 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:57 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN NetDays NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 8:59:58 PM CST
-- Human Resource & Payroll
INSERT 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,54934,1047,0,20,53095,'Processed',TO_TIMESTAMP('2008-03-23 20:59:57','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','EE02',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','Y','Processed',TO_TIMESTAMP('2008-03-23 20:59:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 8:59:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54934 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 8:59:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN Processed CHAR(1) CHECK (Processed IN ('Y','N'))
;

-- Mar 23, 2008 9:00:00 PM CST
-- Human Resource & Payroll
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,53080,'1','org.eevolution.process.HRCreatePeriods',TO_TIMESTAMP('2008-03-23 20:59:58','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N','N','N','HRPayroll Create Periods','Y',0,0,TO_TIMESTAMP('2008-03-23 20:59:58','YYYY-MM-DD HH24:MI:SS'),100,'HR_Payroll Period',NULL)
;

-- Mar 23, 2008 9:00:00 PM CST
-- Human Resource & Payroll
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=53080 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

-- Mar 23, 2008 9:00:01 PM CST
-- Human Resource & Payroll
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,54935,524,0,53080,28,53095,'Processing',TO_TIMESTAMP('2008-03-23 21:00:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2008-03-23 21:00:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54935 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:01 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN Processing CHAR(1)
;

-- Mar 23, 2008 9:00:02 PM CST
-- Human Resource & Payroll
INSERT 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,54936,526,0,11,53095,'Qty',TO_TIMESTAMP('2008-03-23 21:00:01','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','EE02',10,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','Y','N','Y','Quantity',TO_TIMESTAMP('2008-03-23 21:00:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54936 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:03 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN Qty NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
INSERT 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,54937,574,0,16,53095,'StartDate',TO_TIMESTAMP('2008-03-23 21:00:03','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)','EE02',29,'The Start Date indicates the first or starting date','Y','N','N','N','N','Y','N','N','Y','N','Y','Start Date',TO_TIMESTAMP('2008-03-23 21:00:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54937 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN StartDate TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
INSERT 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,54938,607,0,16,53095,'Updated',TO_TIMESTAMP('2008-03-23 21:00:06','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:00:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54938 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:00:07 PM CST
-- Human Resource & Payroll
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,54939,608,0,18,110,53095,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:00:07','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:00:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54939 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Year ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:08 PM CST
-- Human Resource & Payroll
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,Description,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,54930,0,53117,53095,53038,NULL,TO_TIMESTAMP('2008-03-23 21:00:08','YYYY-MM-DD HH24:MI:SS'),100,'Year of Payroll','EE02','N','Y','N','N','Y','N','Y','N','N','Year','N',30,1,TO_TIMESTAMP('2008-03-23 21:00:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:08 PM CST
-- Human Resource & Payroll
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=53117 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:00:10 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54931,55087,0,53117,TO_TIMESTAMP('2008-03-23 21:00:08','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Year',0,0,TO_TIMESTAMP('2008-03-23 21:00:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55087 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54925,55088,0,53117,TO_TIMESTAMP('2008-03-23 21:00:10','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:00:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55088 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54926,55089,0,53117,TO_TIMESTAMP('2008-03-23 21:00:11','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:00:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55089 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:13 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54930,55090,0,53117,TO_TIMESTAMP('2008-03-23 21:00:11','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','Y','N','Payroll',30,0,TO_TIMESTAMP('2008-03-23 21:00:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55090 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54932,55091,0,53117,TO_TIMESTAMP('2008-03-23 21:00:13','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',40,0,TO_TIMESTAMP('2008-03-23 21:00:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55091 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54927,55092,0,53117,TO_TIMESTAMP('2008-03-23 21:00:13','YYYY-MM-DD HH24:MI:SS'),100,'Calendar Year',10,'EE02','The Year uniquely identifies an accounting year for a calendar.','Y','Y','Y','N','N','N','N','Year',50,0,TO_TIMESTAMP('2008-03-23 21:00:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55092 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54936,55093,0,53117,TO_TIMESTAMP('2008-03-23 21:00:15','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',10,'EE02','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','Quantity',60,0,TO_TIMESTAMP('2008-03-23 21:00:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55093 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54933,55094,0,53117,TO_TIMESTAMP('2008-03-23 21:00:15','YYYY-MM-DD HH24:MI:SS'),100,'Net Days in which payment is due',10,'EE02','Indicates the number of days after invoice date that payment is due.','Y','Y','Y','N','N','N','Y','Net Days',70,0,TO_TIMESTAMP('2008-03-23 21:00:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55094 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54937,55095,0,53117,TO_TIMESTAMP('2008-03-23 21:00:16','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)',29,'EE02','The Start Date indicates the first or starting date','Y','Y','Y','N','N','N','N','Start Date',80,0,TO_TIMESTAMP('2008-03-23 21:00:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55095 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54934,55096,0,53117,TO_TIMESTAMP('2008-03-23 21:00:19','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'EE02','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','N','Processed',110,0,TO_TIMESTAMP('2008-03-23 21:00:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55096 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54935,55097,0,53117,TO_TIMESTAMP('2008-03-23 21:00:20','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','N','Y','Process Now',120,0,TO_TIMESTAMP('2008-03-23 21:00:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55097 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53096,'3',TO_TIMESTAMP('2008-03-23 21:00:21','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Concept','L','HR_PayrollConcept',TO_TIMESTAMP('2008-03-23 21:00:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:22 PM CST
-- Human Resource & Payroll
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=53096 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:00:22 PM CST
-- Human Resource & Payroll
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,53115,TO_TIMESTAMP('2008-03-23 21:00:22','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_PayrollConcept',1,'Y','N','Y','Y','HR_PayrollConcept','N',1000000,TO_TIMESTAMP('2008-03-23 21:00:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:23 PM CST
-- Human Resource & Payroll
INSERT 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,54940,469,0,10,53096,'Name',TO_TIMESTAMP('2008-03-23 21:00:22','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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','N','N','N','Y','N','Y','Name',1,TO_TIMESTAMP('2008-03-23 21:00:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54940 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:23 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_PayrollConcept (Name VARCHAR(60))
;

-- Mar 23, 2008 9:00:25 PM CST
-- Human Resource & Payroll
INSERT 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,54941,113,0,19,53096,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:00:23','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:00:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54941 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:26 PM CST
-- Human Resource & Payroll
INSERT 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,ReadOnlyLogic,Updated,UpdatedBy,Version) VALUES (0,54942,53332,0,19,53096,'AD_Rule_ID',TO_TIMESTAMP('2008-03-23 21:00:25','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Rule','@HR_Concept_ID@!0',TO_TIMESTAMP('2008-03-23 21:00:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54942 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN AD_Rule_ID NUMERIC(10)
;

-- Mar 23, 2008 9:00:31 PM CST
-- Human Resource & Payroll
INSERT 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,54943,245,0,16,53096,'Created',TO_TIMESTAMP('2008-03-23 21:00:26','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:00:26','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54943 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:31 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:00:32 PM CST
-- Human Resource & Payroll
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,54944,246,0,18,110,53096,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:00:31','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:00:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54944 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:32 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:33 PM CST
-- Human Resource & Payroll
INSERT 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,54945,53398,0,19,53096,'HR_Concept_ID',TO_TIMESTAMP('2008-03-23 21:00:32','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Concept',TO_TIMESTAMP('2008-03-23 21:00:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54945 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:33 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN HR_Concept_ID NUMERIC(10)
;

-- Mar 23, 2008 9:00:34 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53410,0,'HR_PayrollConcept_ID',TO_TIMESTAMP('2008-03-23 21:00:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Concept','Payroll Concept',TO_TIMESTAMP('2008-03-23 21:00:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:34 PM CST
-- Human Resource & Payroll
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=53410 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:00:35 PM CST
-- Human Resource & Payroll
INSERT 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,54946,53410,0,13,53096,'HR_PayrollConcept_ID',TO_TIMESTAMP('2008-03-23 21:00:34','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Concept',TO_TIMESTAMP('2008-03-23 21:00:34','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54946 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN HR_PayrollConcept_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:35 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD CONSTRAINT HR_PayrollConcept_Key PRIMARY KEY (HR_PayrollConcept_ID)
;

-- Mar 23, 2008 9:00:36 PM CST
-- Human Resource & Payroll
INSERT 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,54947,53393,0,19,53096,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 21:00:35','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','Y','N','Y','N','N','Payroll',TO_TIMESTAMP('2008-03-23 21:00:35','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54947 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN HR_Payroll_ID NUMERIC(10)
;

-- Mar 23, 2008 9:00:37 PM CST
-- Human Resource & Payroll
INSERT 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,54948,348,0,20,53096,'IsActive',TO_TIMESTAMP('2008-03-23 21:00:36','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:00:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54948 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:37 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:00:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsDisplayed', Description='Determines, if this field is displayed', EntityType='D', Help='If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed', IsActive='Y', Name='Displayed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Displayed',Updated=TO_TIMESTAMP('2008-03-23 21:00:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=368
;

-- Mar 23, 2008 9:00:38 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=368
;

-- Mar 23, 2008 9:00:38 PM CST
-- Human Resource & Payroll
INSERT 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,54949,368,0,20,53096,'IsDisplayed',TO_TIMESTAMP('2008-03-23 21:00:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','Determines, if this field is displayed','EE02',1,'If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed','Y','N','N','N','N','N','N','N','Y','N','Y','Displayed',TO_TIMESTAMP('2008-03-23 21:00:38','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54949 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN IsDisplayed CHAR(1) DEFAULT 'Y' CHECK (IsDisplayed IN ('Y','N'))
;

-- Mar 23, 2008 9:00:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='IsInclude', Description='Defines whether this content / template is included into another one', EntityType='D', Help='Templates can be independent or included. Included Templates are also called subtemplates', IsActive='Y', Name='Included', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Included',Updated=TO_TIMESTAMP('2008-03-23 21:00:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2980
;

-- Mar 23, 2008 9:00:39 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2980
;

-- Mar 23, 2008 9:00:40 PM CST
-- Human Resource & Payroll
INSERT 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,54950,2980,0,20,53096,'IsInclude',TO_TIMESTAMP('2008-03-23 21:00:39','YYYY-MM-DD HH24:MI:SS'),100,'Defines whether this content / template is included into another one','EE02',1,'Templates can be independent or included. Included Templates are also called subtemplates','Y','N','N','N','N','N','N','N','Y','N','Y','Included',TO_TIMESTAMP('2008-03-23 21:00:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54950 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:40 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN IsInclude CHAR(1) CHECK (IsInclude IN ('Y','N'))
;

-- Mar 23, 2008 9:00:41 PM CST
-- Human Resource & Payroll
INSERT 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,54951,399,0,20,53096,'IsPrinted',TO_TIMESTAMP('2008-03-23 21:00:40','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed','EE02',1,'The Printed checkbox indicates if this document or line will included when printing.','Y','N','N','N','N','N','N','N','Y','N','Y','Printed',TO_TIMESTAMP('2008-03-23 21:00:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54951 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN IsPrinted CHAR(1) CHECK (IsPrinted IN ('Y','N'))
;

-- Mar 23, 2008 9:00:42 PM CST
-- Human Resource & Payroll
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('2008-03-23 21:00:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=566
;

-- Mar 23, 2008 9:00:42 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=566
;

-- Mar 23, 2008 9:00:44 PM CST
-- Human Resource & Payroll
INSERT 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,54952,566,0,11,53096,'SeqNo',TO_TIMESTAMP('2008-03-23 21:00:42','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first','EE02',10,'The Sequence indicates the order of records','Y','N','N','N','N','N','N','N','Y','N','Y','Sequence',TO_TIMESTAMP('2008-03-23 21:00:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54952 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN SeqNo NUMERIC(10)
;

-- Mar 23, 2008 9:00:45 PM CST
-- Human Resource & Payroll
INSERT 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,54953,607,0,16,53096,'Updated',TO_TIMESTAMP('2008-03-23 21:00:44','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:00:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54953 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:00:46 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54954,102,0,19,53096,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:00:45','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:00:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54954 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:47 PM CST
-- Human Resource & Payroll
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,54955,608,0,18,110,53096,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:00:46','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:00:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:00:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54955 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:00:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_PayrollConcept ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:00:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Tab (AD_Client_ID,AD_ColumnSortOrder_ID,AD_ColumnSortYesNo_ID,AD_Column_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,108,176,54947,0,53118,53096,53038,NULL,TO_TIMESTAMP('2008-03-23 21:00:47','YYYY-MM-DD HH24:MI:SS'),100,'Define the concepts to a Payroll ie (salaries, wages, bonuses, and deductions)','EE02','N','Y','N','N','Y','N','N','N','N','Payroll Concepts','N',20,1,TO_TIMESTAMP('2008-03-23 21:00:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:48 PM CST
-- Human Resource & Payroll
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=53118 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:00:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54950,55098,0,53118,TO_TIMESTAMP('2008-03-23 21:00:48','YYYY-MM-DD HH24:MI:SS'),100,'Defines whether this content / template is included into another one',1,'EE02','Templates can be independent or included. Included Templates are also called subtemplates','Y','Y','N','N','N','Y','Y','Included',0,0,TO_TIMESTAMP('2008-03-23 21:00:48','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55098 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54954,55099,0,53118,TO_TIMESTAMP('2008-03-23 21:00:49','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:00:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55099 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54941,55100,0,53118,TO_TIMESTAMP('2008-03-23 21:00:50','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:00:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55100 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:52 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54947,55101,0,53118,TO_TIMESTAMP('2008-03-23 21:00:51','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll',30,0,TO_TIMESTAMP('2008-03-23 21:00:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55101 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54940,55102,0,53118,TO_TIMESTAMP('2008-03-23 21:00:52','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:00:52','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55102 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:53 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54945,55103,0,53118,TO_TIMESTAMP('2008-03-23 21:00:53','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Concept',50,0,TO_TIMESTAMP('2008-03-23 21:00:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55103 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54952,55104,0,53118,TO_TIMESTAMP('2008-03-23 21:00:54','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first',10,'EE02','The Sequence indicates the order of records','Y','Y','Y','N','N','N','Y','Sequence',60,0,TO_TIMESTAMP('2008-03-23 21:00:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55104 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54948,55105,0,53118,TO_TIMESTAMP('2008-03-23 21:00:56','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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',70,0,TO_TIMESTAMP('2008-03-23 21:00:56','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55105 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54949,55106,0,53118,TO_TIMESTAMP('2008-03-23 21:00:57','YYYY-MM-DD HH24:MI:SS'),100,'Determines, if this field is displayed',1,'EE02','If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed','Y','Y','Y','N','N','N','N','Displayed',80,0,TO_TIMESTAMP('2008-03-23 21:00:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55106 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:00:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54951,55107,0,53118,TO_TIMESTAMP('2008-03-23 21:00:58','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed',1,'EE02','The Printed checkbox indicates if this document or line will included when printing.','Y','Y','Y','N','N','N','Y','Printed',90,0,TO_TIMESTAMP('2008-03-23 21:00:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:00:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55107 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:00 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54946,55108,0,53118,TO_TIMESTAMP('2008-03-23 21:00:59','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Concept',0,0,TO_TIMESTAMP('2008-03-23 21:00:59','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55108 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53082,'3','org.eevolution.process.PayrollProcess',TO_TIMESTAMP('2008-03-23 21:01:00','YYYY-MM-DD HH24:MI:SS'),100,'The Payroll Processing is used to processing a Payroll, you can calculate for a Employee or All Employees','EE02','Y','N','N','N','Payroll Processing','Y',0,0,TO_TIMESTAMP('2008-03-23 21:01:00','YYYY-MM-DD HH24:MI:SS'),100,'HR_Payroll Processing',NULL)
;

-- Mar 23, 2008 9:01:01 PM CST
-- Human Resource & Payroll
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=53082 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

-- Mar 23, 2008 9:01:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53407,0,53082,53135,19,52010,'HR_Process_ID',TO_TIMESTAMP('2008-03-23 21:01:01','YYYY-MM-DD HH24:MI:SS'),100,'EE02',0,'Y','Y','N','N','Payroll Process',30,TO_TIMESTAMP('2008-03-23 21:01:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:02 PM CST
-- Human Resource & Payroll
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=53135 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53039,TO_TIMESTAMP('2008-03-23 21:01:02','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept Category','EE02','The Payroll Concept Category Window is use to grouping concepts for a type','Y','N','N','Y','Payroll Concept Category','N',TO_TIMESTAMP('2008-03-23 21:01:02','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
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=53039 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53039,TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53039,TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53039,TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53039,TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:04 PM CST
-- Human Resource & Payroll
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,53097,53039,'3',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll Concept Category','L','HR_Concept_Category',TO_TIMESTAMP('2008-03-23 21:01:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:04 PM CST
-- Human Resource & Payroll
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=53097 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:01:05 PM CST
-- Human Resource & Payroll
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,53116,TO_TIMESTAMP('2008-03-23 21:01:04','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Concept_Category',1,'Y','N','Y','Y','HR_Concept_Category','N',1000000,TO_TIMESTAMP('2008-03-23 21:01:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:06 PM CST
-- Human Resource & Payroll
INSERT 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,54956,469,0,10,53097,'Name',TO_TIMESTAMP('2008-03-23 21:01:05','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 21:01:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54956 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:06 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Concept_Category (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 9:01:07 PM CST
-- Human Resource & Payroll
INSERT 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,54957,113,0,19,53097,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:01:06','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:01:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54957 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:08 PM CST
-- Human Resource & Payroll
INSERT 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,54958,245,0,16,53097,'Created',TO_TIMESTAMP('2008-03-23 21:01:07','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:01:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54958 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:01:09 PM CST
-- Human Resource & Payroll
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,54959,246,0,18,110,53097,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:01:08','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:01:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54959 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:11 PM CST
-- Human Resource & Payroll
INSERT 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,54960,275,0,10,53097,'Description',TO_TIMESTAMP('2008-03-23 21:01:09','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 21:01:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54960 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 9:01:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53411,0,'HR_Concept_Acct',TO_TIMESTAMP('2008-03-23 21:01:11','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR_Concept_Acct','HR_Concept_Acct',TO_TIMESTAMP('2008-03-23 21:01:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:11 PM CST
-- Human Resource & Payroll
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=53411 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:01:12 PM CST
-- Human Resource & Payroll
INSERT 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,54961,53411,0,25,53097,'HR_Concept_Acct',TO_TIMESTAMP('2008-03-23 21:01:11','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','HR_Concept_Acct',TO_TIMESTAMP('2008-03-23 21:01:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54961 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN HR_Concept_Acct NUMERIC(10)
;

-- Mar 23, 2008 9:01:14 PM CST
-- Human Resource & Payroll
INSERT 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,54962,53403,0,13,53097,'HR_Concept_Category_ID',TO_TIMESTAMP('2008-03-23 21:01:12','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Concept Category',TO_TIMESTAMP('2008-03-23 21:01:12','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54962 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:14 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN HR_Concept_Category_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:14 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD CONSTRAINT HR_Concept_Category_Key PRIMARY KEY (HR_Concept_Category_ID)
;

-- Mar 23, 2008 9:01:15 PM CST
-- Human Resource & Payroll
INSERT 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,54963,348,0,20,53097,'IsActive',TO_TIMESTAMP('2008-03-23 21:01:14','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:01:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54963 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:01:16 PM CST
-- Human Resource & Payroll
INSERT 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,54964,1103,0,20,53097,'IsDefault',TO_TIMESTAMP('2008-03-23 21:01:15','YYYY-MM-DD HH24:MI:SS'),100,'Default value','EE02',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','N','N','N','N','N','N','N','Y','N','Y','Default',TO_TIMESTAMP('2008-03-23 21:01:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54964 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:16 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN IsDefault CHAR(1) CHECK (IsDefault IN ('Y','N'))
;

-- Mar 23, 2008 9:01:17 PM CST
-- Human Resource & Payroll
INSERT 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,54965,607,0,16,53097,'Updated',TO_TIMESTAMP('2008-03-23 21:01:16','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:01:16','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54965 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:17 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:01:21 PM CST
-- Human Resource & Payroll
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,54966,608,0,18,110,53097,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:01:17','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:01:17','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54966 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:21 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:22 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54967,102,0,19,53097,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:01:21','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:01:21','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54967 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:22 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:23 PM CST
-- Human Resource & Payroll
INSERT 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,54968,620,0,10,53097,'Value',TO_TIMESTAMP('2008-03-23 21:01:22','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 21:01:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54968 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Concept_Category ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 9:01:24 PM CST
-- Human Resource & Payroll
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,53119,53097,53039,NULL,TO_TIMESTAMP('2008-03-23 21:01:23','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept Category','EE02','N','Y','N','N','Y','N','Y','N','N','Concepet Category','N',10,0,TO_TIMESTAMP('2008-03-23 21:01:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:24 PM CST
-- Human Resource & Payroll
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=53119 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:01:25 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54962,55109,0,53119,TO_TIMESTAMP('2008-03-23 21:01:24','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Concept Category',0,0,TO_TIMESTAMP('2008-03-23 21:01:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55109 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54967,55110,0,53119,TO_TIMESTAMP('2008-03-23 21:01:25','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:01:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55110 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54957,55111,0,53119,TO_TIMESTAMP('2008-03-23 21:01:27','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:01:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55111 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54968,55112,0,53119,TO_TIMESTAMP('2008-03-23 21:01:27','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 21:01:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55112 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54956,55113,0,53119,TO_TIMESTAMP('2008-03-23 21:01:28','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:01:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55113 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54960,55114,0,53119,TO_TIMESTAMP('2008-03-23 21:01:29','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 21:01:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55114 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54963,55115,0,53119,TO_TIMESTAMP('2008-03-23 21:01:30','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:01:30','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55115 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54964,55116,0,53119,TO_TIMESTAMP('2008-03-23 21:01:32','YYYY-MM-DD HH24:MI:SS'),100,'Default value',1,'EE02','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','Y','Default',70,0,TO_TIMESTAMP('2008-03-23 21:01:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55116 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53040,TO_TIMESTAMP('2008-03-23 21:01:32','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table Type','EE02','The Payroll Table Type Window is used to define the Table Type','Y','N','N','Y','Payroll Table Type','N',TO_TIMESTAMP('2008-03-23 21:01:32','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
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=53040 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53040,TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53040,TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53040,TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53040,TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:41 PM CST
-- Human Resource & Payroll
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,53098,53040,'3',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll List Type','L','HR_ListType',TO_TIMESTAMP('2008-03-23 21:01:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:41 PM CST
-- Human Resource & Payroll
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=53098 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:01:42 PM CST
-- Human Resource & Payroll
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,53117,TO_TIMESTAMP('2008-03-23 21:01:42','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_ListType',1,'Y','N','Y','Y','HR_ListType','N',1000000,TO_TIMESTAMP('2008-03-23 21:01:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:43 PM CST
-- Human Resource & Payroll
INSERT 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,54969,469,0,10,53098,'Name',TO_TIMESTAMP('2008-03-23 21:01:42','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 21:01:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54969 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:43 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_ListType (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 9:01:44 PM CST
-- Human Resource & Payroll
INSERT 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,54970,113,0,19,53098,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:01:43','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:01:43','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54970 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:44 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:45 PM CST
-- Human Resource & Payroll
INSERT 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,54971,245,0,16,53098,'Created',TO_TIMESTAMP('2008-03-23 21:01:44','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:01:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54971 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:45 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:01:46 PM CST
-- Human Resource & Payroll
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,54972,246,0,18,110,53098,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:01:45','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:01:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54972 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:47 PM CST
-- Human Resource & Payroll
INSERT 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,54973,275,0,10,53098,'Description',TO_TIMESTAMP('2008-03-23 21:01:46','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 21:01:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54973 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 9:01:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53412,0,'HR_ListType_ID',TO_TIMESTAMP('2008-03-23 21:01:47','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll List Type','Payroll List Type',TO_TIMESTAMP('2008-03-23 21:01:47','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:48 PM CST
-- Human Resource & Payroll
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=53412 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:01:48 PM CST
-- Human Resource & Payroll
INSERT 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,54974,53412,0,13,53098,'HR_ListType_ID',TO_TIMESTAMP('2008-03-23 21:01:48','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll List Type',TO_TIMESTAMP('2008-03-23 21:01:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54974 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN HR_ListType_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:49 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD CONSTRAINT HR_ListType_Key PRIMARY KEY (HR_ListType_ID)
;

-- Mar 23, 2008 9:01:50 PM CST
-- Human Resource & Payroll
INSERT 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,54975,348,0,20,53098,'IsActive',TO_TIMESTAMP('2008-03-23 21:01:49','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:01:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54975 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:01:51 PM CST
-- Human Resource & Payroll
INSERT 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,54976,607,0,16,53098,'Updated',TO_TIMESTAMP('2008-03-23 21:01:50','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:01:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54976 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:01:52 PM CST
-- Human Resource & Payroll
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,54977,608,0,18,110,53098,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:01:51','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:01:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54977 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:53 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54978,102,0,19,53098,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:01:52','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:01:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54978 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:01:54 PM CST
-- Human Resource & Payroll
INSERT 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,54979,620,0,10,53098,'Value',TO_TIMESTAMP('2008-03-23 21:01:53','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 21:01:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:01:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54979 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:01:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListType ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 9:01:55 PM CST
-- Human Resource & Payroll
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,53120,53098,53040,NULL,TO_TIMESTAMP('2008-03-23 21:01:54','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','N','Y','N','N','N','N','Table Type','N',10,0,TO_TIMESTAMP('2008-03-23 21:01:54','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:55 PM CST
-- Human Resource & Payroll
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=53120 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:01:57 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54974,55117,0,53120,TO_TIMESTAMP('2008-03-23 21:01:55','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll List Type',0,0,TO_TIMESTAMP('2008-03-23 21:01:55','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55117 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:01:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54978,55118,0,53120,TO_TIMESTAMP('2008-03-23 21:01:57','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:01:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:01:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55118 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54970,55119,0,53120,TO_TIMESTAMP('2008-03-23 21:01:58','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:01:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55119 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54979,55120,0,53120,TO_TIMESTAMP('2008-03-23 21:02:00','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',40,'EE02','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_<TableName>", 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('2008-03-23 21:02:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55120 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54969,55121,0,53120,TO_TIMESTAMP('2008-03-23 21:02:01','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:02:01','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55121 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54973,55122,0,53120,TO_TIMESTAMP('2008-03-23 21:02:02','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 21:02:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55122 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54975,55123,0,53120,TO_TIMESTAMP('2008-03-23 21:02:03','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:02:03','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55123 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53041,TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table','EE02','The Payroll Table Window is use to create Payroll Tables with version and range data','Y','N','N','Y','Payroll Table','N',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
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=53041 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53041,TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53041,TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53041,TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53041,TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:05 PM CST
-- Human Resource & Payroll
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,53099,53040,'3',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll List','L','HR_List',TO_TIMESTAMP('2008-03-23 21:02:04','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:05 PM CST
-- Human Resource & Payroll
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=53099 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:02:06 PM CST
-- Human Resource & Payroll
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,53118,TO_TIMESTAMP('2008-03-23 21:02:05','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_List',1,'Y','N','Y','Y','HR_List','N',1000000,TO_TIMESTAMP('2008-03-23 21:02:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:06 PM CST
-- Human Resource & Payroll
INSERT 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,54980,469,0,10,53099,'Name',TO_TIMESTAMP('2008-03-23 21:02:06','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 21:02:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54980 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:07 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_List (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 9:02:08 PM CST
-- Human Resource & Payroll
INSERT 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,54981,113,0,19,53099,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:02:07','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:02:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54981 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:02:09 PM CST
-- Human Resource & Payroll
INSERT 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,54982,245,0,16,53099,'Created',TO_TIMESTAMP('2008-03-23 21:02:08','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:02:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54982 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:02:09 PM CST
-- Human Resource & Payroll
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,54983,246,0,18,110,53099,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:02:09','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:02:09','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54983 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:10 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:02:11 PM CST
-- Human Resource & Payroll
INSERT 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,54984,275,0,10,53099,'Description',TO_TIMESTAMP('2008-03-23 21:02:10','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 21:02:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54984 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:11 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 9:02:12 PM CST
-- Human Resource & Payroll
INSERT 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,54985,53390,0,19,53099,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 21:02:11','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 21:02:11','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54985 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:12 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN HR_Department_ID NUMERIC(10)
;

-- Mar 23, 2008 9:02:13 PM CST
-- Human Resource & Payroll
INSERT 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,54986,53391,0,19,53099,'HR_Employee_ID',TO_TIMESTAMP('2008-03-23 21:02:12','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Employee',TO_TIMESTAMP('2008-03-23 21:02:12','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54986 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:13 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN HR_Employee_ID NUMERIC(10)
;

-- Mar 23, 2008 9:02:14 PM CST
-- Human Resource & Payroll
INSERT 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,54987,53412,0,19,53099,'HR_ListType_ID',TO_TIMESTAMP('2008-03-23 21:02:13','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll List Type',TO_TIMESTAMP('2008-03-23 21:02:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54987 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:14 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN HR_ListType_ID NUMERIC(10)
;

-- Mar 23, 2008 9:02:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53413,0,'HR_List_ID',TO_TIMESTAMP('2008-03-23 21:02:14','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll List','Payroll List',TO_TIMESTAMP('2008-03-23 21:02:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:14 PM CST
-- Human Resource & Payroll
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=53413 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:02:15 PM CST
-- Human Resource & Payroll
INSERT 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,54988,53413,0,13,53099,'HR_List_ID',TO_TIMESTAMP('2008-03-23 21:02:14','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll List',TO_TIMESTAMP('2008-03-23 21:02:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54988 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN HR_List_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:02:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD CONSTRAINT HR_List_Key PRIMARY KEY (HR_List_ID)
;

-- Mar 23, 2008 9:02:18 PM CST
-- Human Resource & Payroll
INSERT 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,54989,53393,0,19,53099,'HR_Payroll_ID',TO_TIMESTAMP('2008-03-23 21:02:15','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 21:02:15','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54989 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:18 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN HR_Payroll_ID NUMERIC(10)
;

-- Mar 23, 2008 9:02:19 PM CST
-- Human Resource & Payroll
INSERT 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,54990,348,0,20,53099,'IsActive',TO_TIMESTAMP('2008-03-23 21:02:18','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:02:18','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54990 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:19 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:02:20 PM CST
-- Human Resource & Payroll
INSERT 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,54991,373,0,20,53099,'IsEmployee',TO_TIMESTAMP('2008-03-23 21:02:19','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  this Business Partner is an employee','EE02',1,'The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.','Y','N','N','N','N','N','N','N','Y','N','Y','Employee',TO_TIMESTAMP('2008-03-23 21:02:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54991 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:20 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN IsEmployee CHAR(1) CHECK (IsEmployee IN ('Y','N'))
;

-- Mar 23, 2008 9:02:21 PM CST
-- Human Resource & Payroll
INSERT 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,54992,607,0,16,53099,'Updated',TO_TIMESTAMP('2008-03-23 21:02:20','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:02:20','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54992 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:21 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:02:22 PM CST
-- Human Resource & Payroll
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,54993,608,0,18,110,53099,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:02:21','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:02:21','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54993 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:22 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:02:23 PM CST
-- Human Resource & Payroll
INSERT 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,54994,617,0,15,53099,'ValidFrom',TO_TIMESTAMP('2008-03-23 21:02:22','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 21:02:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54994 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN ValidFrom TIMESTAMP
;

-- Mar 23, 2008 9:02:23 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,54995,102,0,19,53099,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:02:23','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:02:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54995 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:24 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:02:24 PM CST
-- Human Resource & Payroll
INSERT 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,54996,620,0,10,53099,'Value',TO_TIMESTAMP('2008-03-23 21:02:24','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique','EE02',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_<TableName>", where TableName is the actual name of the table (e.g. C_Order).','Y','N','N','N','N','N','N','N','Y','N','Y','Search Key',TO_TIMESTAMP('2008-03-23 21:02:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:02:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54996 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:02:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_List ADD COLUMN Value VARCHAR(40)
;

-- Mar 23, 2008 9:02:31 PM CST
-- Human Resource & Payroll
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,53121,53099,53041,NULL,TO_TIMESTAMP('2008-03-23 21:02:25','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table','EE02','N','Y','N','N','Y','N','Y','N','N','Payroll Table','N',10,0,TO_TIMESTAMP('2008-03-23 21:02:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:31 PM CST
-- Human Resource & Payroll
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=53121 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:02:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54994,55124,0,53121,TO_TIMESTAMP('2008-03-23 21:02:31','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','N','N','N','N','N','Valid from',0,0,TO_TIMESTAMP('2008-03-23 21:02:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:32 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55124 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:33 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54988,55125,0,53121,TO_TIMESTAMP('2008-03-23 21:02:32','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll List',0,0,TO_TIMESTAMP('2008-03-23 21:02:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55125 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54995,55126,0,53121,TO_TIMESTAMP('2008-03-23 21:02:33','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:02:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55126 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54981,55127,0,53121,TO_TIMESTAMP('2008-03-23 21:02:34','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:02:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55127 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54996,55128,0,53121,TO_TIMESTAMP('2008-03-23 21:02:40','YYYY-MM-DD HH24:MI:SS'),100,'Search key for the record in the format required - must be unique',10,'EE02','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_<TableName>", 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('2008-03-23 21:02:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55128 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54980,55129,0,53121,TO_TIMESTAMP('2008-03-23 21:02:41','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:02:41','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55129 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54984,55130,0,53121,TO_TIMESTAMP('2008-03-23 21:02:41','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 21:02:41','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55130 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54990,55131,0,53121,TO_TIMESTAMP('2008-03-23 21:02:42','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:02:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55131 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:44 PM CST
-- Human Resource & Payroll
INSERT INTO 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,54987,55132,0,53121,TO_TIMESTAMP('2008-03-23 21:02:43','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll List Type',70,0,TO_TIMESTAMP('2008-03-23 21:02:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55132 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54991,55133,0,53121,TO_TIMESTAMP('2008-03-23 21:02:44','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if  this Business Partner is an employee',1,'EE02','The Employee checkbox indicates if this Business Partner is an Employee.  If it is selected, additional fields will display which further identify this employee.','Y','Y','Y','N','N','N','N','Employee',80,0,TO_TIMESTAMP('2008-03-23 21:02:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55133 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:46 PM CST
-- Human Resource & Payroll
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,54986,55134,0,53121,TO_TIMESTAMP('2008-03-23 21:02:45','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@=''Y''','EE02','Y','Y','Y','N','N','N','Y','Employee',90,0,TO_TIMESTAMP('2008-03-23 21:02:45','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55134 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:49 PM CST
-- Human Resource & Payroll
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,54989,55135,0,53121,TO_TIMESTAMP('2008-03-23 21:02:46','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@=''N''','EE02','Y','Y','Y','N','N','N','N','Payroll',100,0,TO_TIMESTAMP('2008-03-23 21:02:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55135 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:49 PM CST
-- Human Resource & Payroll
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,54985,55136,0,53121,TO_TIMESTAMP('2008-03-23 21:02:49','YYYY-MM-DD HH24:MI:SS'),100,10,'@IsEmployee@=''N''','EE02','Y','Y','Y','N','N','N','Y','Department',110,0,TO_TIMESTAMP('2008-03-23 21:02:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55136 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:02:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53100,'3',TO_TIMESTAMP('2008-03-23 21:02:50','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll List Version','L','HR_ListVersion',TO_TIMESTAMP('2008-03-23 21:02:50','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:51 PM CST
-- Human Resource & Payroll
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=53100 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:02:52 PM CST
-- Human Resource & Payroll
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,53119,TO_TIMESTAMP('2008-03-23 21:02:51','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_ListVersion',1,'Y','N','Y','Y','HR_ListVersion','N',1000000,TO_TIMESTAMP('2008-03-23 21:02:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:02:59 PM CST
-- Human Resource & Payroll
INSERT 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,54997,469,0,10,53100,'Name',TO_TIMESTAMP('2008-03-23 21:02:52','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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',1,TO_TIMESTAMP('2008-03-23 21:02:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54997 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:00 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_ListVersion (Name VARCHAR(60) NOT NULL)
;

-- Mar 23, 2008 9:03:07 PM CST
-- Human Resource & Payroll
INSERT 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,54998,113,0,19,53100,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:03:00','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:03:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54998 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:08 PM CST
-- Human Resource & Payroll
INSERT 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,54999,245,0,16,53100,'Created',TO_TIMESTAMP('2008-03-23 21:03:07','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:03:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=54999 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:03:14 PM CST
-- Human Resource & Payroll
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,55000,246,0,18,110,53100,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:03:08','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:03:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55000 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:14 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:15 PM CST
-- Human Resource & Payroll
INSERT 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,55001,275,0,10,53100,'Description',TO_TIMESTAMP('2008-03-23 21:03:14','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 21:03:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55001 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:15 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 9:03:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53414,0,'HR_ListBase_ID',TO_TIMESTAMP('2008-03-23 21:03:15','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll List Base','Payroll List Base',TO_TIMESTAMP('2008-03-23 21:03:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:15 PM CST
-- Human Resource & Payroll
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=53414 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:03:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53246,TO_TIMESTAMP('2008-03-23 21:03:16','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','HR Table',TO_TIMESTAMP('2008-03-23 21:03:16','YYYY-MM-DD HH24:MI:SS'),100,'T')
;

-- Mar 23, 2008 9:03:16 PM CST
-- Human Resource & Payroll
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=53246 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;

-- Mar 23, 2008 9:03:16 PM CST
-- Human Resource & Payroll
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, 53246, 53099, 54980, 54988, 'EE02', 'N', '', '')
;

-- Mar 23, 2008 9:03:17 PM CST
-- Human Resource & Payroll
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,55002,53414,0,18,53246,53100,'HR_ListBase_ID',TO_TIMESTAMP('2008-03-23 21:03:16','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll List Base',TO_TIMESTAMP('2008-03-23 21:03:16','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55002 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:17 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN HR_ListBase_ID NUMERIC(10)
;

-- Mar 23, 2008 9:03:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53415,0,'HR_ListVersion_ID',TO_TIMESTAMP('2008-03-23 21:03:17','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll List Version','Payroll List Version',TO_TIMESTAMP('2008-03-23 21:03:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:18 PM CST
-- Human Resource & Payroll
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=53415 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:03:19 PM CST
-- Human Resource & Payroll
INSERT 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,55003,53415,0,13,53100,'HR_ListVersion_ID',TO_TIMESTAMP('2008-03-23 21:03:18','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll List Version',TO_TIMESTAMP('2008-03-23 21:03:18','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55003 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:19 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN HR_ListVersion_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:19 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD CONSTRAINT HR_ListVersion_Key PRIMARY KEY (HR_ListVersion_ID)
;

-- Mar 23, 2008 9:03:20 PM CST
-- Human Resource & Payroll
INSERT 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,55004,53413,0,19,53100,'HR_List_ID',TO_TIMESTAMP('2008-03-23 21:03:19','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','Y','Y','N','Y','N','N','Payroll List',TO_TIMESTAMP('2008-03-23 21:03:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55004 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:20 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN HR_List_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:21 PM CST
-- Human Resource & Payroll
INSERT 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,55005,348,0,20,53100,'IsActive',TO_TIMESTAMP('2008-03-23 21:03:20','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:03:20','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55005 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:21 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:03:22 PM CST
-- Human Resource & Payroll
INSERT 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,55006,607,0,16,53100,'Updated',TO_TIMESTAMP('2008-03-23 21:03:21','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:03:21','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55006 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:22 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:03:23 PM CST
-- Human Resource & Payroll
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,55007,608,0,18,110,53100,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:03:22','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:03:22','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55007 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:23 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:24 PM CST
-- Human Resource & Payroll
INSERT 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,55008,617,0,16,53100,'ValidFrom',TO_TIMESTAMP('2008-03-23 21:03:23','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 21:03:23','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55008 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:24 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN ValidFrom TIMESTAMP
;

-- Mar 23, 2008 9:03:24 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,55009,102,0,19,53100,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:03:24','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:03:24','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55009 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:25 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:26 PM CST
-- Human Resource & Payroll
INSERT 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,55010,618,0,16,53100,'ValidTo',TO_TIMESTAMP('2008-03-23 21:03:25','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)','EE02',29,'The Valid To date indicates the last day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid to',TO_TIMESTAMP('2008-03-23 21:03:25','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55010 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:26 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListVersion ADD COLUMN ValidTo TIMESTAMP
;

-- Mar 23, 2008 9:03:27 PM CST
-- Human Resource & Payroll
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,53122,53100,53041,NULL,TO_TIMESTAMP('2008-03-23 21:03:26','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table Version','EE02','N','Y','N','N','Y','N','Y','N','N','Payroll Table Version','N',20,1,TO_TIMESTAMP('2008-03-23 21:03:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:27 PM CST
-- Human Resource & Payroll
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=53122 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:03:35 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55002,55137,0,53122,TO_TIMESTAMP('2008-03-23 21:03:27','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll List Base',0,0,TO_TIMESTAMP('2008-03-23 21:03:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:35 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55137 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:36 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55003,55138,0,53122,TO_TIMESTAMP('2008-03-23 21:03:35','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll List Version',0,0,TO_TIMESTAMP('2008-03-23 21:03:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55138 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55009,55139,0,53122,TO_TIMESTAMP('2008-03-23 21:03:37','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:03:37','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55139 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54998,55140,0,53122,TO_TIMESTAMP('2008-03-23 21:03:37','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:03:37','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55140 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:39 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55004,55141,0,53122,TO_TIMESTAMP('2008-03-23 21:03:39','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll List',30,0,TO_TIMESTAMP('2008-03-23 21:03:39','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55141 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,54997,55142,0,53122,TO_TIMESTAMP('2008-03-23 21:03:39','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:03:39','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55142 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55001,55143,0,53122,TO_TIMESTAMP('2008-03-23 21:03:40','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',50,0,TO_TIMESTAMP('2008-03-23 21:03:40','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55143 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55005,55144,0,53122,TO_TIMESTAMP('2008-03-23 21:03:41','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:03:41','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55144 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55008,55145,0,53122,TO_TIMESTAMP('2008-03-23 21:03:42','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',70,0,TO_TIMESTAMP('2008-03-23 21:03:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55145 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55010,55146,0,53122,TO_TIMESTAMP('2008-03-23 21:03:43','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','Y','Valid to',0,0,TO_TIMESTAMP('2008-03-23 21:03:43','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55146 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:03:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53101,'3',TO_TIMESTAMP('2008-03-23 21:03:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','N','N','N','Payroll List Line','L','HR_ListLine',TO_TIMESTAMP('2008-03-23 21:03:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:44 PM CST
-- Human Resource & Payroll
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=53101 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:03:45 PM CST
-- Human Resource & Payroll
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,53120,TO_TIMESTAMP('2008-03-23 21:03:44','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_ListLine',1,'Y','N','Y','Y','HR_ListLine','N',1000000,TO_TIMESTAMP('2008-03-23 21:03:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:03:46 PM CST
-- Human Resource & Payroll
INSERT 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,55011,469,0,10,53101,'Name',TO_TIMESTAMP('2008-03-23 21:03:45','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','EE02',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','N','N','N','Y','N','Y','Name',1,TO_TIMESTAMP('2008-03-23 21:03:45','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55011 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:46 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_ListLine (Name VARCHAR(60))
;

-- Mar 23, 2008 9:03:47 PM CST
-- Human Resource & Payroll
INSERT 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,55012,113,0,19,53101,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:03:46','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:03:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55012 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:47 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:03:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_1', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_1', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_1',Updated=TO_TIMESTAMP('2008-03-23 21:03:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1954
;

-- Mar 23, 2008 9:03:47 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1954
;

-- Mar 23, 2008 9:03:48 PM CST
-- Human Resource & Payroll
INSERT 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,55013,1954,0,22,53101,'Col_1',TO_TIMESTAMP('2008-03-23 21:03:47','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_1',TO_TIMESTAMP('2008-03-23 21:03:47','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:48 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55013 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_1 NUMERIC
;

-- Mar 23, 2008 9:03:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_2', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_2', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_2',Updated=TO_TIMESTAMP('2008-03-23 21:03:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1955
;

-- Mar 23, 2008 9:03:49 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1955
;

-- Mar 23, 2008 9:03:50 PM CST
-- Human Resource & Payroll
INSERT 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,55014,1955,0,22,53101,'Col_2',TO_TIMESTAMP('2008-03-23 21:03:49','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_2',TO_TIMESTAMP('2008-03-23 21:03:49','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55014 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:50 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_2 NUMERIC
;

-- Mar 23, 2008 9:03:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_3', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_3', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_3',Updated=TO_TIMESTAMP('2008-03-23 21:03:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1956
;

-- Mar 23, 2008 9:03:50 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1956
;

-- Mar 23, 2008 9:03:51 PM CST
-- Human Resource & Payroll
INSERT 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,55015,1956,0,22,53101,'Col_3',TO_TIMESTAMP('2008-03-23 21:03:50','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_3',TO_TIMESTAMP('2008-03-23 21:03:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55015 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_3 NUMERIC
;

-- Mar 23, 2008 9:03:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_4', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_4', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_4',Updated=TO_TIMESTAMP('2008-03-23 21:03:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1957
;

-- Mar 23, 2008 9:03:51 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1957
;

-- Mar 23, 2008 9:03:52 PM CST
-- Human Resource & Payroll
INSERT 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,55016,1957,0,22,53101,'Col_4',TO_TIMESTAMP('2008-03-23 21:03:51','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_4',TO_TIMESTAMP('2008-03-23 21:03:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55016 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_4 NUMERIC
;

-- Mar 23, 2008 9:03:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_5', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_5', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_5',Updated=TO_TIMESTAMP('2008-03-23 21:03:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1958
;

-- Mar 23, 2008 9:03:52 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1958
;

-- Mar 23, 2008 9:03:53 PM CST
-- Human Resource & Payroll
INSERT 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,55017,1958,0,22,53101,'Col_5',TO_TIMESTAMP('2008-03-23 21:03:52','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_5',TO_TIMESTAMP('2008-03-23 21:03:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55017 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_5 NUMERIC
;

-- Mar 23, 2008 9:03:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_6', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_6', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_6',Updated=TO_TIMESTAMP('2008-03-23 21:03:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1959
;

-- Mar 23, 2008 9:03:54 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1959
;

-- Mar 23, 2008 9:03:54 PM CST
-- Human Resource & Payroll
INSERT 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,55018,1959,0,22,53101,'Col_6',TO_TIMESTAMP('2008-03-23 21:03:54','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_6',TO_TIMESTAMP('2008-03-23 21:03:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55018 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_6 NUMERIC
;

-- Mar 23, 2008 9:03:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_7', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_7', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_7',Updated=TO_TIMESTAMP('2008-03-23 21:03:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1960
;

-- Mar 23, 2008 9:03:55 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1960
;

-- Mar 23, 2008 9:03:57 PM CST
-- Human Resource & Payroll
INSERT 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,55019,1960,0,22,53101,'Col_7',TO_TIMESTAMP('2008-03-23 21:03:55','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_7',TO_TIMESTAMP('2008-03-23 21:03:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55019 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:57 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_7 NUMERIC
;

-- Mar 23, 2008 9:03:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element SET ColumnName='Col_8', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Col_8', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Col_8',Updated=TO_TIMESTAMP('2008-03-23 21:03:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=1961
;

-- Mar 23, 2008 9:03:57 PM CST
-- Human Resource & Payroll
UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1961
;

-- Mar 23, 2008 9:03:58 PM CST
-- Human Resource & Payroll
INSERT 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,55020,1961,0,22,53101,'Col_8',TO_TIMESTAMP('2008-03-23 21:03:57','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','Col_8',TO_TIMESTAMP('2008-03-23 21:03:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55020 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Col_8 NUMERIC
;

-- Mar 23, 2008 9:03:59 PM CST
-- Human Resource & Payroll
INSERT 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,55021,245,0,16,53101,'Created',TO_TIMESTAMP('2008-03-23 21:03:58','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:03:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:03:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55021 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:03:59 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:04:00 PM CST
-- Human Resource & Payroll
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,55022,246,0,18,110,53101,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:03:59','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:03:59','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55022 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:00 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53416,0,'HR_ListLine_ID',TO_TIMESTAMP('2008-03-23 21:04:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll List Line','Payroll List Line',TO_TIMESTAMP('2008-03-23 21:04:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:01 PM CST
-- Human Resource & Payroll
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=53416 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:04:02 PM CST
-- Human Resource & Payroll
INSERT 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,55023,53416,0,13,53101,'HR_ListLine_ID',TO_TIMESTAMP('2008-03-23 21:04:01','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll List Line',TO_TIMESTAMP('2008-03-23 21:04:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55023 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN HR_ListLine_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD CONSTRAINT HR_ListLine_Key PRIMARY KEY (HR_ListLine_ID)
;

-- Mar 23, 2008 9:04:03 PM CST
-- Human Resource & Payroll
INSERT 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,55024,53415,0,19,53101,'HR_ListVersion_ID',TO_TIMESTAMP('2008-03-23 21:04:02','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','Y','N','Y','N','N','Payroll List Version',TO_TIMESTAMP('2008-03-23 21:04:02','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:03 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55024 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:03 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN HR_ListVersion_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:04 PM CST
-- Human Resource & Payroll
INSERT 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,55025,348,0,20,53101,'IsActive',TO_TIMESTAMP('2008-03-23 21:04:03','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:04:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55025 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:04:05 PM CST
-- Human Resource & Payroll
INSERT 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,55026,53399,0,22,53101,'MaxValue',TO_TIMESTAMP('2008-03-23 21:04:05','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','MaxValue',TO_TIMESTAMP('2008-03-23 21:04:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55026 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:05 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN MaxValue NUMERIC
;

-- Mar 23, 2008 9:04:06 PM CST
-- Human Resource & Payroll
INSERT 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,55027,53400,0,22,53101,'MinValue',TO_TIMESTAMP('2008-03-23 21:04:05','YYYY-MM-DD HH24:MI:SS'),100,'EE02',20,'Y','N','N','N','N','N','N','N','Y','N','Y','MinValue',TO_TIMESTAMP('2008-03-23 21:04:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55027 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN MinValue NUMERIC
;

-- Mar 23, 2008 9:04:07 PM CST
-- Human Resource & Payroll
INSERT 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,55028,607,0,16,53101,'Updated',TO_TIMESTAMP('2008-03-23 21:04:06','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:04:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55028 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:04:08 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,55029,102,0,19,53101,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:04:07','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:04:07','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55029 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:08 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:09 PM CST
-- Human Resource & Payroll
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,55030,608,0,18,110,53101,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:04:08','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:04:08','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55030 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:09 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_ListLine ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:10 PM CST
-- Human Resource & Payroll
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,53123,53101,53041,NULL,TO_TIMESTAMP('2008-03-23 21:04:10','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table Line','EE02','N','Y','N','N','Y','N','Y','N','N','Payroll Table Line','N',30,2,TO_TIMESTAMP('2008-03-23 21:04:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:10 PM CST
-- Human Resource & Payroll
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=53123 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:04:11 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55023,55147,0,53123,TO_TIMESTAMP('2008-03-23 21:04:10','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll List Line',0,0,TO_TIMESTAMP('2008-03-23 21:04:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55147 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55029,55148,0,53123,TO_TIMESTAMP('2008-03-23 21:04:11','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:04:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55148 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55012,55149,0,53123,TO_TIMESTAMP('2008-03-23 21:04:12','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:04:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55149 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:15 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55024,55150,0,53123,TO_TIMESTAMP('2008-03-23 21:04:13','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll List Version',30,0,TO_TIMESTAMP('2008-03-23 21:04:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55150 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55011,55151,0,53123,TO_TIMESTAMP('2008-03-23 21:04:15','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'EE02','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('2008-03-23 21:04:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55151 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55025,55152,0,53123,TO_TIMESTAMP('2008-03-23 21:04:16','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:04:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55152 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:17 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55027,55153,0,53123,TO_TIMESTAMP('2008-03-23 21:04:17','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','N','MinValue',60,0,TO_TIMESTAMP('2008-03-23 21:04:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55153 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:18 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55026,55154,0,53123,TO_TIMESTAMP('2008-03-23 21:04:17','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','MaxValue',70,0,TO_TIMESTAMP('2008-03-23 21:04:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55154 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:19 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55013,55155,0,53123,TO_TIMESTAMP('2008-03-23 21:04:18','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','N','Col_1',80,0,TO_TIMESTAMP('2008-03-23 21:04:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55155 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:20 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55014,55156,0,53123,TO_TIMESTAMP('2008-03-23 21:04:19','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','Col_2',90,0,TO_TIMESTAMP('2008-03-23 21:04:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55156 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55015,55157,0,53123,TO_TIMESTAMP('2008-03-23 21:04:20','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Col_3',100,0,TO_TIMESTAMP('2008-03-23 21:04:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55157 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:22 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55016,55158,0,53123,TO_TIMESTAMP('2008-03-23 21:04:21','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','Col_4',110,0,TO_TIMESTAMP('2008-03-23 21:04:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55158 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:23 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55017,55159,0,53123,TO_TIMESTAMP('2008-03-23 21:04:22','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','N','Col_5',120,0,TO_TIMESTAMP('2008-03-23 21:04:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55159 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:24 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55018,55160,0,53123,TO_TIMESTAMP('2008-03-23 21:04:23','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','Col_6',130,0,TO_TIMESTAMP('2008-03-23 21:04:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55160 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:25 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55019,55161,0,53123,TO_TIMESTAMP('2008-03-23 21:04:24','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','N','Col_7',140,0,TO_TIMESTAMP('2008-03-23 21:04:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55161 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:26 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55020,55162,0,53123,TO_TIMESTAMP('2008-03-23 21:04:26','YYYY-MM-DD HH24:MI:SS'),100,20,'EE02','Y','Y','Y','N','N','N','Y','Col_8',150,0,TO_TIMESTAMP('2008-03-23 21:04:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55162 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53042,TO_TIMESTAMP('2008-03-23 21:04:26','YYYY-MM-DD HH24:MI:SS'),100,'History of Payroll Movement','EE02','The Payroll Movement Window is use to show the history the any calculated payroll','Y','N','N','Y','Payroll Movement','N',TO_TIMESTAMP('2008-03-23 21:04:26','YYYY-MM-DD HH24:MI:SS'),100,'M')
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
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=53042 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53042,TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53042,TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53042,TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53042,TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:04:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:29 PM CST
-- Human Resource & Payroll
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,53102,53042,'3',TO_TIMESTAMP('2008-03-23 21:04:28','YYYY-MM-DD HH24:MI:SS'),100,'EE02','N','Y','N','Y','Y','N','N','Payroll Movement','L','HR_Movement',TO_TIMESTAMP('2008-03-23 21:04:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:29 PM CST
-- Human Resource & Payroll
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=53102 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;

-- Mar 23, 2008 9:04:29 PM CST
-- Human Resource & Payroll
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,53121,TO_TIMESTAMP('2008-03-23 21:04:29','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table HR_Movement',1,'Y','N','Y','Y','HR_Movement','N',1000000,TO_TIMESTAMP('2008-03-23 21:04:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:30 PM CST
-- Human Resource & Payroll
INSERT 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,55031,2211,0,20,53102,'IsRegistered',TO_TIMESTAMP('2008-03-23 21:04:29','YYYY-MM-DD HH24:MI:SS'),100,'The application is registered.','EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Registered',TO_TIMESTAMP('2008-03-23 21:04:29','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55031 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:30 PM CST
-- Human Resource & Payroll
CREATE TABLE HR_Movement (IsRegistered CHAR(1) CHECK (IsRegistered IN ('Y','N')))
;

-- Mar 23, 2008 9:04:33 PM CST
-- Human Resource & Payroll
INSERT 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,55032,53403,0,19,53102,'HR_Concept_Category_ID',TO_TIMESTAMP('2008-03-23 21:04:31','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Payroll Concept Category',TO_TIMESTAMP('2008-03-23 21:04:31','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:33 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55032 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:33 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Concept_Category_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:36 PM CST
-- Human Resource & Payroll
INSERT 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,55033,53407,0,19,53102,'HR_Process_ID',TO_TIMESTAMP('2008-03-23 21:04:33','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','Y','N','N','N','Y','Y','N','Y','Payroll Process',1,TO_TIMESTAMP('2008-03-23 21:04:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55033 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:36 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Process_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:37 PM CST
-- Human Resource & Payroll
INSERT 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,55034,187,0,19,53102,'C_BPartner_ID',TO_TIMESTAMP('2008-03-23 21:04:36','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','EE02',10,'A Business Partner is anyone with whom you transact.  This can include Vendor, Customer, Employee or Salesperson','Y','N','N','Y','N','N','N','Y','Y','N','Y','Business Partner ',2,TO_TIMESTAMP('2008-03-23 21:04:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55034 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:37 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN C_BPartner_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:38 PM CST
-- Human Resource & Payroll
INSERT 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,55035,53398,0,19,53102,'HR_Concept_ID',TO_TIMESTAMP('2008-03-23 21:04:37','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','Y','N','Y','N','N','Y','N','Y','Concept',3,TO_TIMESTAMP('2008-03-23 21:04:37','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55035 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:38 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Concept_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:39 PM CST
-- Human Resource & Payroll
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,55036,1606,0,17,53243,53102,'ColumnType',TO_TIMESTAMP('2008-03-23 21:04:39','YYYY-MM-DD HH24:MI:SS'),100,'EE02',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Column Type',TO_TIMESTAMP('2008-03-23 21:04:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55036 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:39 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN ColumnType CHAR(1)
;

-- Mar 23, 2008 9:04:40 PM CST
-- Human Resource & Payroll
INSERT 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,55037,245,0,16,53102,'Created',TO_TIMESTAMP('2008-03-23 21:04:39','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE02',29,'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('2008-03-23 21:04:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55037 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:40 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Created TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:04:42 PM CST
-- Human Resource & Payroll
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,55038,246,0,18,110,53102,'CreatedBy',TO_TIMESTAMP('2008-03-23 21:04:40','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE02',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('2008-03-23 21:04:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:42 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55038 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:42 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:45 PM CST
-- Human Resource & Payroll
INSERT 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,55039,275,0,10,53102,'Description',TO_TIMESTAMP('2008-03-23 21:04:42','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','EE02',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','Y','N','Y','Description',TO_TIMESTAMP('2008-03-23 21:04:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:45 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55039 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:46 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Description VARCHAR(255)
;

-- Mar 23, 2008 9:04:47 PM CST
-- Human Resource & Payroll
INSERT 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,55040,53390,0,19,53102,'HR_Department_ID',TO_TIMESTAMP('2008-03-23 21:04:46','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Department',TO_TIMESTAMP('2008-03-23 21:04:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:47 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55040 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:48 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Department_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:48 PM CST
-- Human Resource & Payroll
INSERT 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,55041,53392,0,19,53102,'HR_Job_ID',TO_TIMESTAMP('2008-03-23 21:04:48','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Job',TO_TIMESTAMP('2008-03-23 21:04:48','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55041 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:49 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Job_ID NUMERIC(10)
;

-- Mar 23, 2008 9:04:50 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53417,0,'HR_Movement_ID',TO_TIMESTAMP('2008-03-23 21:04:49','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','Payroll Movement','Payroll Movement',TO_TIMESTAMP('2008-03-23 21:04:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:04:50 PM CST
-- Human Resource & Payroll
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=53417 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;

-- Mar 23, 2008 9:04:51 PM CST
-- Human Resource & Payroll
INSERT 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,55042,53417,0,13,53102,'HR_Movement_ID',TO_TIMESTAMP('2008-03-23 21:04:50','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Payroll Movement',TO_TIMESTAMP('2008-03-23 21:04:50','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55042 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN HR_Movement_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:04:51 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD CONSTRAINT HR_Movement_Key PRIMARY KEY (HR_Movement_ID)
;

-- Mar 23, 2008 9:04:52 PM CST
-- Human Resource & Payroll
INSERT 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,55043,348,0,20,53102,'IsActive',TO_TIMESTAMP('2008-03-23 21:04:51','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE02',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('2008-03-23 21:04:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:52 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55043 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:52 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:04:53 PM CST
-- Human Resource & Payroll
INSERT 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,55044,399,0,20,53102,'IsPrinted',TO_TIMESTAMP('2008-03-23 21:04:52','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed','EE02',1,'The Printed checkbox indicates if this document or line will included when printing.','Y','N','N','N','N','N','N','N','Y','N','Y','Printed',TO_TIMESTAMP('2008-03-23 21:04:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55044 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:53 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN IsPrinted CHAR(1) CHECK (IsPrinted IN ('Y','N'))
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
INSERT 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,55045,1308,0,20,53102,'Posted',TO_TIMESTAMP('2008-03-23 21:04:53','YYYY-MM-DD HH24:MI:SS'),100,'Posting status','EE02',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('2008-03-23 21:04:53','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55045 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Posted CHAR(1) CHECK (Posted IN ('Y','N'))
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
INSERT 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,55046,1047,0,20,53102,'Processed',TO_TIMESTAMP('2008-03-23 21:04:54','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed','EE02',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('2008-03-23 21:04:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55046 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:54 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Processed CHAR(1) CHECK (Processed IN ('Y','N')) NOT NULL
;

-- Mar 23, 2008 9:04:55 PM CST
-- Human Resource & Payroll
INSERT 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,55047,526,0,29,53102,'Qty',TO_TIMESTAMP('2008-03-23 21:04:54','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','EE02',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('2008-03-23 21:04:54','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:55 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55047 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:55 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Qty NUMERIC
;

-- Mar 23, 2008 9:04:56 PM CST
-- Human Resource & Payroll
INSERT 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,55048,1129,0,16,53102,'ServiceDate',TO_TIMESTAMP('2008-03-23 21:04:55','YYYY-MM-DD HH24:MI:SS'),100,'Date service was provided','EE02',29,'The Service Date indicates the date that the service was provided.','Y','N','N','N','N','N','N','N','Y','N','Y','Service date',TO_TIMESTAMP('2008-03-23 21:04:55','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:56 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55048 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:57 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN ServiceDate TIMESTAMP
;

-- Mar 23, 2008 9:04:57 PM CST
-- Human Resource & Payroll
INSERT 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,55049,2438,0,10,53102,'TextMsg',TO_TIMESTAMP('2008-03-23 21:04:57','YYYY-MM-DD HH24:MI:SS'),100,'Text Message','EE02',255,'Y','N','N','N','N','N','N','N','Y','N','Y','Text Message',TO_TIMESTAMP('2008-03-23 21:04:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:57 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55049 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:57 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN TextMsg VARCHAR(255)
;

-- Mar 23, 2008 9:04:58 PM CST
-- Human Resource & Payroll
INSERT 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,55050,607,0,16,53102,'Updated',TO_TIMESTAMP('2008-03-23 21:04:57','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE02',29,'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('2008-03-23 21:04:57','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:58 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55050 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:58 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Updated TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:04:59 PM CST
-- Human Resource & Payroll
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,55051,608,0,18,110,53102,'UpdatedBy',TO_TIMESTAMP('2008-03-23 21:04:58','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE02',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('2008-03-23 21:04:58','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:04:59 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55051 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:04:59 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:05:00 PM CST
-- Human Resource & Payroll
INSERT 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,55052,617,0,16,53102,'ValidFrom',TO_TIMESTAMP('2008-03-23 21:04:59','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)','EE02',29,'The Valid From date indicates the first day of a date range','Y','N','N','N','N','Y','N','N','Y','N','Y','Valid from',TO_TIMESTAMP('2008-03-23 21:04:59','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:00 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55052 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:00 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN ValidFrom TIMESTAMP NOT NULL
;

-- Mar 23, 2008 9:05:01 PM CST
-- Human Resource & Payroll
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,Updated,UpdatedBy,Version) VALUES (0,55053,102,0,19,53102,129,'AD_Client_ID',TO_TIMESTAMP('2008-03-23 21:05:00','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE02',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('2008-03-23 21:05:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:01 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55053 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:01 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:05:02 PM CST
-- Human Resource & Payroll
INSERT 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,55054,618,0,16,53102,'ValidTo',TO_TIMESTAMP('2008-03-23 21:05:01','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)','EE02',29,'The Valid To date indicates the last day of a date range','Y','N','N','N','N','N','N','N','Y','N','Y','Valid to',TO_TIMESTAMP('2008-03-23 21:05:01','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:02 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55054 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:02 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN ValidTo TIMESTAMP
;

-- Mar 23, 2008 9:05:04 PM CST
-- Human Resource & Payroll
INSERT 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,55055,113,0,19,53102,'AD_Org_ID',TO_TIMESTAMP('2008-03-23 21:05:02','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE02',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('2008-03-23 21:05:02','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:04 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55055 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:04 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;

-- Mar 23, 2008 9:05:05 PM CST
-- Human Resource & Payroll
INSERT 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,55056,53332,0,19,53102,'AD_Rule_ID',TO_TIMESTAMP('2008-03-23 21:05:04','YYYY-MM-DD HH24:MI:SS'),100,'EE02',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Rule',TO_TIMESTAMP('2008-03-23 21:05:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:05 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55056 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:05 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN AD_Rule_ID NUMERIC(10)
;

-- Mar 23, 2008 9:05:06 PM CST
-- Human Resource & Payroll
INSERT 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,55057,1367,0,22,53102,'Amount',TO_TIMESTAMP('2008-03-23 21:05:05','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency','EE02',20,'The Amount indicates the amount for this document line.','Y','N','N','N','N','N','N','N','Y','N','Y','Amount',TO_TIMESTAMP('2008-03-23 21:05:05','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55057 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:06 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN Amount NUMERIC
;

-- Mar 23, 2008 9:05:07 PM CST
-- Human Resource & Payroll
INSERT 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,55058,1005,0,19,53102,'C_Activity_ID',TO_TIMESTAMP('2008-03-23 21:05:06','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity','EE02',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','Y','N','Y','Activity',TO_TIMESTAMP('2008-03-23 21:05:06','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- Mar 23, 2008 9:05:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=55058 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;

-- Mar 23, 2008 9:05:07 PM CST
-- Human Resource & Payroll
ALTER TABLE HR_Movement ADD COLUMN C_Activity_ID NUMERIC(10)
;

-- Mar 23, 2008 9:05:08 PM CST
-- Human Resource & Payroll
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,53124,53102,53042,NULL,TO_TIMESTAMP('2008-03-23 21:05:07','YYYY-MM-DD HH24:MI:SS'),100,'History of Payroll Movement','EE02','N','Y','N','N','N','Y','Y','N','N','Payroll Movement','N',10,0,TO_TIMESTAMP('2008-03-23 21:05:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:08 PM CST
-- Human Resource & Payroll
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=53124 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;

-- Mar 23, 2008 9:05:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55045,55163,0,53124,TO_TIMESTAMP('2008-03-23 21:05:08','YYYY-MM-DD HH24:MI:SS'),100,'Posting status',1,'EE02','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('2008-03-23 21:05:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55163 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:10 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55042,55164,0,53124,TO_TIMESTAMP('2008-03-23 21:05:09','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','N','N','N','N','N','Payroll Movement',0,0,TO_TIMESTAMP('2008-03-23 21:05:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:10 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55164 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55053,55165,0,53124,TO_TIMESTAMP('2008-03-23 21:05:10','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',10,'EE02','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('2008-03-23 21:05:10','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:11 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55165 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55055,55166,0,53124,TO_TIMESTAMP('2008-03-23 21:05:11','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',10,'EE02','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('2008-03-23 21:05:11','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:12 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55166 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:13 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55033,55167,0,53124,TO_TIMESTAMP('2008-03-23 21:05:12','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll Process',30,0,TO_TIMESTAMP('2008-03-23 21:05:12','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55167 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:13 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55035,55168,0,53124,TO_TIMESTAMP('2008-03-23 21:05:13','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','Concept',40,0,TO_TIMESTAMP('2008-03-23 21:05:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:13 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55168 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:14 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55032,55169,0,53124,TO_TIMESTAMP('2008-03-23 21:05:13','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Payroll Concept Category',50,0,TO_TIMESTAMP('2008-03-23 21:05:13','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55169 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55043,55170,0,53124,TO_TIMESTAMP('2008-03-23 21:05:14','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'EE02','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('2008-03-23 21:05:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55170 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55034,55171,0,53124,TO_TIMESTAMP('2008-03-23 21:05:15','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'EE02','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 ',70,0,TO_TIMESTAMP('2008-03-23 21:05:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:16 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55171 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55039,55172,0,53124,TO_TIMESTAMP('2008-03-23 21:05:16','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'EE02','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','Description',80,0,TO_TIMESTAMP('2008-03-23 21:05:16','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55172 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:18 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55041,55173,0,53124,TO_TIMESTAMP('2008-03-23 21:05:17','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Job',90,0,TO_TIMESTAMP('2008-03-23 21:05:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55173 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:19 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55040,55174,0,53124,TO_TIMESTAMP('2008-03-23 21:05:18','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','Y','Department',100,0,TO_TIMESTAMP('2008-03-23 21:05:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55174 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55058,55175,0,53124,TO_TIMESTAMP('2008-03-23 21:05:19','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity',10,'EE02','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','N','Activity',110,0,TO_TIMESTAMP('2008-03-23 21:05:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55175 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:21 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55036,55176,0,53124,TO_TIMESTAMP('2008-03-23 21:05:20','YYYY-MM-DD HH24:MI:SS'),100,1,'EE02','Y','Y','Y','N','N','N','N','Column Type',120,0,TO_TIMESTAMP('2008-03-23 21:05:20','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55176 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55057,55177,0,53124,TO_TIMESTAMP('2008-03-23 21:05:21','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency',20,'EE02','The Amount indicates the amount for this document line.','Y','Y','Y','N','N','N','N','Amount',130,0,TO_TIMESTAMP('2008-03-23 21:05:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:21 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55177 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55047,55178,0,53124,TO_TIMESTAMP('2008-03-23 21:05:21','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',10,'EE02','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','Quantity',140,0,TO_TIMESTAMP('2008-03-23 21:05:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55178 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55048,55179,0,53124,TO_TIMESTAMP('2008-03-23 21:05:22','YYYY-MM-DD HH24:MI:SS'),100,'Date service was provided',29,'EE02','The Service Date indicates the date that the service was provided.','Y','Y','Y','N','N','N','N','Service date',150,0,TO_TIMESTAMP('2008-03-23 21:05:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:23 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55179 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:24 PM CST
-- Human Resource & Payroll
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,55049,55180,0,53124,TO_TIMESTAMP('2008-03-23 21:05:23','YYYY-MM-DD HH24:MI:SS'),100,'Text Message',255,'EE02','Y','Y','Y','N','N','N','N','Text Message',160,0,TO_TIMESTAMP('2008-03-23 21:05:23','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55180 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:25 PM CST
-- Human Resource & Payroll
INSERT INTO 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,55056,55181,0,53124,TO_TIMESTAMP('2008-03-23 21:05:24','YYYY-MM-DD HH24:MI:SS'),100,10,'EE02','Y','Y','Y','N','N','N','N','Rule',170,0,TO_TIMESTAMP('2008-03-23 21:05:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55181 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55052,55182,0,53124,TO_TIMESTAMP('2008-03-23 21:05:25','YYYY-MM-DD HH24:MI:SS'),100,'Valid from including this date (first day)',29,'EE02','The Valid From date indicates the first day of a date range','Y','Y','Y','N','N','N','N','Valid from',180,0,TO_TIMESTAMP('2008-03-23 21:05:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55182 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55054,55183,0,53124,TO_TIMESTAMP('2008-03-23 21:05:26','YYYY-MM-DD HH24:MI:SS'),100,'Valid to including this date (last day)',29,'EE02','The Valid To date indicates the last day of a date range','Y','Y','Y','N','N','N','Y','Valid to',190,0,TO_TIMESTAMP('2008-03-23 21:05:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55183 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55046,55184,0,53124,TO_TIMESTAMP('2008-03-23 21:05:27','YYYY-MM-DD HH24:MI:SS'),100,'The document has been processed',1,'EE02','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','N','N','Processed',200,0,TO_TIMESTAMP('2008-03-23 21:05:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55184 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,55044,55185,0,53124,TO_TIMESTAMP('2008-03-23 21:05:28','YYYY-MM-DD HH24:MI:SS'),100,'Indicates if this document / line is printed',1,'EE02','The Printed checkbox indicates if this document or line will included when printing.','Y','Y','Y','N','N','N','Y','Printed',210,0,TO_TIMESTAMP('2008-03-23 21:05:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:29 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55185 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:30 PM CST
-- Human Resource & Payroll
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,55031,55186,0,53124,TO_TIMESTAMP('2008-03-23 21:05:29','YYYY-MM-DD HH24:MI:SS'),100,'The application is registered.',1,'EE02','Y','Y','Y','N','N','N','N','Registered',220,0,TO_TIMESTAMP('2008-03-23 21:05:29','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=55186 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;

-- Mar 23, 2008 9:05:31 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53084,'3','org.eevolution.process.PayrollViaEMail',TO_TIMESTAMP('2008-03-23 21:05:30','YYYY-MM-DD HH24:MI:SS'),100,'This process is use to send the Payroll for each Employee via EMail','EE02','Y','N','N','N','Payroll Send EMail','Y',0,0,TO_TIMESTAMP('2008-03-23 21:05:30','YYYY-MM-DD HH24:MI:SS'),100,'HR_Payroll Send EMail',NULL)
;

-- Mar 23, 2008 9:05:31 PM CST
-- Human Resource & Payroll
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=53084 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID)
;

-- Mar 23, 2008 9:05:31 PM CST
-- Human Resource & Payroll
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,117,0,53084,53136,19,'AD_Process_ID',TO_TIMESTAMP('2008-03-23 21:05:31','YYYY-MM-DD HH24:MI:SS'),100,'Process or Report','EE02',150,'The Process field identifies a unique Process or Report in the system.','Y','Y','Y','N','Process',1,TO_TIMESTAMP('2008-03-23 21:05:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:31 PM CST
-- Human Resource & Payroll
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=53136 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:05:32 PM CST
-- Human Resource & Payroll
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,1515,0,53084,53137,19,'R_MailText_ID',TO_TIMESTAMP('2008-03-23 21:05:31','YYYY-MM-DD HH24:MI:SS'),100,'Text templates for mailings','EE02',0,'The Mail Template indicates the mail template for return messages. Mail text can include variables.  The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.','Y','Y','Y','N','Mail Template',20,TO_TIMESTAMP('2008-03-23 21:05:31','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:32 PM CST
-- Human Resource & Payroll
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=53137 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:05:33 PM CST
-- Human Resource & Payroll
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,1383,0,53084,53138,19,'C_BP_Group_ID',TO_TIMESTAMP('2008-03-23 21:05:32','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group','EE02',0,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','Business Partner Group',30,TO_TIMESTAMP('2008-03-23 21:05:32','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:33 PM CST
-- Human Resource & Payroll
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=53138 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:05:34 PM CST
-- Human Resource & Payroll
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,138,0,53084,53139,19,'AD_User_ID',TO_TIMESTAMP('2008-03-23 21:05:33','YYYY-MM-DD HH24:MI:SS'),100,'User within the system - Internal or Business Partner Contact','EE02',0,'The User identifies a unique user in the system. This could be an internal user or a business partner contact','Y','Y','N','N','User/Contact',40,TO_TIMESTAMP('2008-03-23 21:05:33','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:34 PM CST
-- Human Resource & Payroll
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=53139 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:05:35 PM CST
-- Human Resource & Payroll
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,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53407,0,53084,53140,19,'HR_Process_ID',TO_TIMESTAMP('2008-03-23 21:05:34','YYYY-MM-DD HH24:MI:SS'),100,'EE02',0,'Y','Y','Y','N','Payroll Process',10,TO_TIMESTAMP('2008-03-23 21:05:34','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:35 PM CST
-- Human Resource & Payroll
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=53140 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
;

-- Mar 23, 2008 9:05:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53009,0,'1','org.eevolution.form.VHRActionNotice',TO_TIMESTAMP('2008-03-23 21:05:35','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Action Notice let entry the events that happend with any Employee','EE02','Y','N','Payroll Action Notice',TO_TIMESTAMP('2008-03-23 21:05:35','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:36 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53009 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
;

-- Mar 23, 2008 9:05:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53009,0,0,TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Workflow (AD_Client_ID,AD_Org_ID,AD_Workflow_ID,AccessLevel,Author,Cost,Created,CreatedBy,Description,DocumentNo,Duration,DurationUnit,EntityType,IsActive,IsDefault,IsValid,"limit",Name,Priority,PublishStatus,Updated,UpdatedBy,Value,Version,WaitingTime,WorkflowType,WorkingTime) VALUES (0,0,50014,'3','Victor Perez',0,TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100,'Setup Human Resource & Payroll','10000001',0,'D','EE02','Y','N','N',0,'Setup Human Resource & Payroll',0,'R',TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100,'Setup Human Resource & Payroll',0,0,'G',0)
;

-- Mar 23, 2008 9:05:37 PM CST
-- Human Resource & Payroll
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=50014 AND EXISTS (SELECT * FROM AD_Workflow_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Workflow_ID!=t.AD_Workflow_ID)
;

-- Mar 23, 2008 9:05:37 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Workflow_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Workflow_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,50014,TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2008-03-23 21:05:37','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:38 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50074,53038,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:38','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll',0,'X',TO_TIMESTAMP('2008-03-23 21:05:38','YYYY-MM-DD HH24:MI:SS'),100,'Payroll',0,0,0,1,422)
;

-- Mar 23, 2008 9:05:38 PM CST
-- Human Resource & Payroll
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=50074 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:39 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50075,53039,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:38','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Concept Category',0,'X',TO_TIMESTAMP('2008-03-23 21:05:38','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Concept Category',0,0,0,5,206)
;

-- Mar 23, 2008 9:05:39 PM CST
-- Human Resource & Payroll
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=50075 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:40 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50076,53032,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:39','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Contract',0,'X',TO_TIMESTAMP('2008-03-23 21:05:39','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Contract',0,0,0,8,12)
;

-- Mar 23, 2008 9:05:40 PM CST
-- Human Resource & Payroll
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=50076 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50077,53037,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:40','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Process',0,'X',TO_TIMESTAMP('2008-03-23 21:05:40','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Process',0,0,0,1,533)
;

-- Mar 23, 2008 9:05:41 PM CST
-- Human Resource & Payroll
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=50077 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:41 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50078,53041,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:41','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Table',0,'X',TO_TIMESTAMP('2008-03-23 21:05:41','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Table',0,0,0,221,307)
;

-- Mar 23, 2008 9:05:41 PM CST
-- Human Resource & Payroll
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=50078 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:42 PM CST
-- Human Resource & Payroll
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,50074,50051,50078,TO_TIMESTAMP('2008-03-23 21:05:42','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:42','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:43 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50079,53034,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:42','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Department',0,'X',TO_TIMESTAMP('2008-03-23 21:05:42','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Department',0,0,0,218,11)
;

-- Mar 23, 2008 9:05:43 PM CST
-- Human Resource & Payroll
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=50079 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:44 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50080,53033,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:43','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Employee',0,'X',TO_TIMESTAMP('2008-03-23 21:05:43','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Employee',0,0,0,220,104)
;

-- Mar 23, 2008 9:05:44 PM CST
-- Human Resource & Payroll
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=50080 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:45 PM CST
-- Human Resource & Payroll
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,50075,50052,50080,TO_TIMESTAMP('2008-03-23 21:05:44','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:44','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:46 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Form_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,53009,0,50081,50014,'X',0,TO_TIMESTAMP('2008-03-23 21:05:45','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Action Notice',0,'X',TO_TIMESTAMP('2008-03-23 21:05:45','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Action Notice',0,0,0,222,419)
;

-- Mar 23, 2008 9:05:46 PM CST
-- Human Resource & Payroll
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=50081 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:47 PM CST
-- Human Resource & Payroll
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,50077,50053,50081,TO_TIMESTAMP('2008-03-23 21:05:46','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:46','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:49 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50082,53040,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:47','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Table Type',0,'X',TO_TIMESTAMP('2008-03-23 21:05:47','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Table Type',0,0,0,4,311)
;

-- Mar 23, 2008 9:05:49 PM CST
-- Human Resource & Payroll
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=50082 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:50 PM CST
-- Human Resource & Payroll
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,50078,50054,50082,TO_TIMESTAMP('2008-03-23 21:05:49','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:49','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:51 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50083,53035,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:50','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Job',0,'X',TO_TIMESTAMP('2008-03-23 21:05:50','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Job',0,0,0,5,105)
;

-- Mar 23, 2008 9:05:51 PM CST
-- Human Resource & Payroll
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=50083 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:52 PM CST
-- Human Resource & Payroll
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,50080,50055,50083,TO_TIMESTAMP('2008-03-23 21:05:51','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:51','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:53 PM CST
-- Human Resource & Payroll
INSERT INTO AD_WF_Node (AD_Client_ID,AD_Org_ID,AD_WF_Node_ID,AD_Window_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,50084,53036,50014,'W',0,TO_TIMESTAMP('2008-03-23 21:05:52','YYYY-MM-DD HH24:MI:SS'),100,'CO',0,0,'EE02','Y','N','X','Payroll Concept Catalog',0,'X',TO_TIMESTAMP('2008-03-23 21:05:52','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Concept Catalog',0,0,0,221,205)
;

-- Mar 23, 2008 9:05:53 PM CST
-- Human Resource & Payroll
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=50084 AND EXISTS (SELECT * FROM AD_WF_Node_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_WF_Node_ID!=t.AD_WF_Node_ID)
;

-- Mar 23, 2008 9:05:57 PM CST
-- Human Resource & Payroll
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,50082,50056,50084,TO_TIMESTAMP('2008-03-23 21:05:53','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:53','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:57 PM CST
-- Human Resource & Payroll
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,50073,50057,50070,TO_TIMESTAMP('2008-03-23 21:05:57','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',100,TO_TIMESTAMP('2008-03-23 21:05:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:05:58 PM CST
-- Human Resource & Payroll
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,50072,50058,50071,TO_TIMESTAMP('2008-03-23 21:05:57','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',100,TO_TIMESTAMP('2008-03-23 21:05:57','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:00 PM CST
-- Human Resource & Payroll
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,50081,50059,50074,TO_TIMESTAMP('2008-03-23 21:05:58','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:05:58','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:00 PM CST
-- Human Resource & Payroll
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,50084,50060,50075,TO_TIMESTAMP('2008-03-23 21:06:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:06:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:02 PM CST
-- Human Resource & Payroll
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,50079,50061,50076,TO_TIMESTAMP('2008-03-23 21:06:00','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:06:00','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:05 PM CST
-- Human Resource & Payroll
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,50083,50062,50079,TO_TIMESTAMP('2008-03-23 21:06:02','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N',10,TO_TIMESTAMP('2008-03-23 21:06:02','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:06 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53108,0,TO_TIMESTAMP('2008-03-23 21:06:05','YYYY-MM-DD HH24:MI:SS'),100,'Human Resource & Payroll','EE02','Y','N','N','Y','Human Resource & Payroll',TO_TIMESTAMP('2008-03-23 21:06:05','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:06 PM CST
-- Human Resource & Payroll
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=53108 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:06 PM CST
-- Human Resource & Payroll
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, 0,13, 10, 53108)
;

-- Mar 23, 2008 9:06:07 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53109,0,TO_TIMESTAMP('2008-03-23 21:06:06','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N','N','Y','Human Resource',TO_TIMESTAMP('2008-03-23 21:06:06','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:07 PM CST
-- Human Resource & Payroll
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=53109 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:07 PM CST
-- Human Resource & Payroll
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, 53108,1, 10, 53109)
;

-- Mar 23, 2008 9:06:08 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53110,0,53032,'W',TO_TIMESTAMP('2008-03-23 21:06:07','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Contract','EE02','Y','N','N','N','Payroll Contract',TO_TIMESTAMP('2008-03-23 21:06:07','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:08 PM CST
-- Human Resource & Payroll
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=53110 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:08 PM CST
-- Human Resource & Payroll
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, 53109,0, 10, 53110)
;

-- Mar 23, 2008 9:06:09 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53111,0,53033,'W',TO_TIMESTAMP('2008-03-23 21:06:08','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Employee','EE02','Y','N','N','N','Payroll Employee',TO_TIMESTAMP('2008-03-23 21:06:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:09 PM CST
-- Human Resource & Payroll
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=53111 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:09 PM CST
-- Human Resource & Payroll
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, 53109,3, 10, 53111)
;

-- Mar 23, 2008 9:06:14 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53112,0,53034,'W',TO_TIMESTAMP('2008-03-23 21:06:09','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Department','EE02','Y','N','N','N','Payroll Department',TO_TIMESTAMP('2008-03-23 21:06:09','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:14 PM CST
-- Human Resource & Payroll
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=53112 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:14 PM CST
-- Human Resource & Payroll
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, 53109,1, 10, 53112)
;

-- Mar 23, 2008 9:06:15 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53113,0,53035,'W',TO_TIMESTAMP('2008-03-23 21:06:14','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Job','EE02','Y','N','N','N','Payroll Job',TO_TIMESTAMP('2008-03-23 21:06:14','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:15 PM CST
-- Human Resource & Payroll
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=53113 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:15 PM CST
-- Human Resource & Payroll
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, 53109,2, 10, 53113)
;

-- Mar 23, 2008 9:06:17 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53114,0,TO_TIMESTAMP('2008-03-23 21:06:15','YYYY-MM-DD HH24:MI:SS'),100,'EE02','Y','N','N','Y','Payroll',TO_TIMESTAMP('2008-03-23 21:06:15','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:17 PM CST
-- Human Resource & Payroll
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=53114 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:17 PM CST
-- Human Resource & Payroll
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, 53108,2, 10, 53114)
;

-- Mar 23, 2008 9:06:18 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53115,0,53036,'W',TO_TIMESTAMP('2008-03-23 21:06:17','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept Catalog','EE02','Y','N','N','N','Payroll Concept Catalog',TO_TIMESTAMP('2008-03-23 21:06:17','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:18 PM CST
-- Human Resource & Payroll
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=53115 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:18 PM CST
-- Human Resource & Payroll
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, 53114,1, 10, 53115)
;

-- Mar 23, 2008 9:06:19 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53116,0,53037,'W',TO_TIMESTAMP('2008-03-23 21:06:18','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Processing','EE02','Y','N','N','N','Payroll Processing',TO_TIMESTAMP('2008-03-23 21:06:18','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:19 PM CST
-- Human Resource & Payroll
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=53116 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:19 PM CST
-- Human Resource & Payroll
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, 53114,6, 10, 53116)
;

-- Mar 23, 2008 9:06:20 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53117,0,53038,'W',TO_TIMESTAMP('2008-03-23 21:06:19','YYYY-MM-DD HH24:MI:SS'),100,'In a company, payroll is the sum of all financial records of salaries, wages, bonuses, and deductions.','EE02','Y','N','N','N','Payroll Definition',TO_TIMESTAMP('2008-03-23 21:06:19','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:20 PM CST
-- Human Resource & Payroll
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=53117 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:20 PM CST
-- Human Resource & Payroll
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, 53114,4, 10, 53117)
;

-- Mar 23, 2008 9:06:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Menu SET AD_Process_ID=53082, "action"='P', Description='The Payroll Processing is used to processing a Payroll, you can calculate for a Employee or All Employees', EntityType='EE02', IsActive='Y', IsReadOnly='N', IsSOTrx='N', IsSummary='N', Name='Payroll Processing',Updated=TO_TIMESTAMP('2008-03-23 21:06:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=53116
;

-- Mar 23, 2008 9:06:20 PM CST
-- Human Resource & Payroll
UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53116
;

-- Mar 23, 2008 9:06:21 PM CST
-- Human Resource & Payroll
UPDATE AD_TREENODEMM SET Parent_ID = 53114 , SeqNo = 7 WHERE AD_Tree_ID = 10 AND Node_ID = 53116
;

-- Mar 23, 2008 9:06:22 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53118,0,53039,'W',TO_TIMESTAMP('2008-03-23 21:06:21','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Concept Category','EE02','Y','N','N','N','Payroll Concept Category',TO_TIMESTAMP('2008-03-23 21:06:21','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:22 PM CST
-- Human Resource & Payroll
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=53118 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:22 PM CST
-- Human Resource & Payroll
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, 53114,0, 10, 53118)
;

-- Mar 23, 2008 9:06:24 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53119,0,53040,'W',TO_TIMESTAMP('2008-03-23 21:06:22','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table Type','EE02','Y','N','N','N','Payroll Table Type',TO_TIMESTAMP('2008-03-23 21:06:22','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:24 PM CST
-- Human Resource & Payroll
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=53119 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:24 PM CST
-- Human Resource & Payroll
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, 53114,2, 10, 53119)
;

-- Mar 23, 2008 9:06:25 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53120,0,53041,'W',TO_TIMESTAMP('2008-03-23 21:06:24','YYYY-MM-DD HH24:MI:SS'),100,'Maintain Payroll Table','EE02','Y','N','N','N','Payroll Table',TO_TIMESTAMP('2008-03-23 21:06:24','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:25 PM CST
-- Human Resource & Payroll
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=53120 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:25 PM CST
-- Human Resource & Payroll
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, 53114,3, 10, 53120)
;

-- Mar 23, 2008 9:06:26 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53121,0,53042,'W',TO_TIMESTAMP('2008-03-23 21:06:25','YYYY-MM-DD HH24:MI:SS'),100,'History of Payroll Movement','EE02','Y','N','N','N','Payroll Movement',TO_TIMESTAMP('2008-03-23 21:06:25','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:26 PM CST
-- Human Resource & Payroll
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=53121 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:26 PM CST
-- Human Resource & Payroll
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, 53114,8, 10, 53121)
;

-- Mar 23, 2008 9:06:27 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53122,0,53084,'P',TO_TIMESTAMP('2008-03-23 21:06:26','YYYY-MM-DD HH24:MI:SS'),100,'This process is use to send the Payroll for each Employee via EMail','EE02','Y','N','N','N','Payroll Send EMail',TO_TIMESTAMP('2008-03-23 21:06:26','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:27 PM CST
-- Human Resource & Payroll
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=53122 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:27 PM CST
-- Human Resource & Payroll
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, 53114,9, 10, 53122)
;

-- Mar 23, 2008 9:06:28 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53009,53123,0,'X',TO_TIMESTAMP('2008-03-23 21:06:27','YYYY-MM-DD HH24:MI:SS'),100,'Payroll Action Notice let entry the events that happend with any Employee','EE02','Y','N','N','N','Payroll Action Notice',TO_TIMESTAMP('2008-03-23 21:06:27','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:28 PM CST
-- Human Resource & Payroll
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=53123 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:28 PM CST
-- Human Resource & Payroll
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, 53114,5, 10, 53123)
;

-- Mar 23, 2008 9:06:30 PM CST
-- Human Resource & Payroll
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Workflow_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53124,0,50014,'F',TO_TIMESTAMP('2008-03-23 21:06:28','YYYY-MM-DD HH24:MI:SS'),100,'Setup Human Resource & Payroll','EE02','Y','N','N','N','Setup Human Resource & Payroll',TO_TIMESTAMP('2008-03-23 21:06:28','YYYY-MM-DD HH24:MI:SS'),100)
;

-- Mar 23, 2008 9:06:30 PM CST
-- Human Resource & Payroll
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=53124 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;

-- Mar 23, 2008 9:06:30 PM CST
-- Human Resource & Payroll
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, 53108,0, 10, 53124)
;

-- Mar 23, 2008 9:06:30 PM CST
-- Human Resource & Payroll
UPDATE AD_Workflow SET AD_WF_Node_ID=50070, IsValid='Y',Updated=TO_TIMESTAMP('2008-03-23 21:06:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50013
;

