3075 lines
316 KiB
SQL
3075 lines
316 KiB
SQL
-- Apr 7, 2009 11:51:05 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53176,'3','N',TO_DATE('2009-04-07 11:51:03','YYYY-MM-DD HH24:MI:SS'),100,'Grouping of product for promotion setup','D','N','Y','N','Y','N','N','N',0,'Promotion Group','L','M_PromotionGroup',TO_DATE('2009-04-07 11:51:03','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:05 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53176 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:16 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57030,102,0,19,53176,'AD_Client_ID',TO_DATE('2009-04-07 11:51:15','YYYY-MM-DD HH24:MI:SS'),100,'@AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 11:51:15','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:17 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57030 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:21 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57031,113,0,19,53176,104,'AD_Org_ID',TO_DATE('2009-04-07 11:51:17','YYYY-MM-DD HH24:MI:SS'),100,'@AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 11:51:17','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:21 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57031 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57032,245,0,16,53176,'Created',TO_DATE('2009-04-07 11:51:21','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 11:51:21','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57032 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:23 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57033,246,0,18,110,53176,'CreatedBy',TO_DATE('2009-04-07 11:51:22','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 11:51:22','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:23 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57033 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:35 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57034,275,0,10,53176,'Description',TO_DATE('2009-04-07 11:51:23','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_DATE('2009-04-07 11:51:23','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:35 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57034 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:38 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57035,348,0,20,53176,'IsActive',TO_DATE('2009-04-07 11:51:35','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 11:51:35','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:38 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57035 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:39 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53800,0,'M_PromotionGroup_ID',TO_DATE('2009-04-07 11:51:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Group','Promotion Group',TO_DATE('2009-04-07 11:51:38','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:39 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53800 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:40 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57036,53800,0,13,53176,'M_PromotionGroup_ID',TO_DATE('2009-04-07 11:51:38','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Group',0,TO_DATE('2009-04-07 11:51:38','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:40 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57036 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:43 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57037,469,0,10,53176,'Name',TO_DATE('2009-04-07 11:51:40','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','N','N','Y','Name',1,TO_DATE('2009-04-07 11:51:40','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:43 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57037 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:46 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57038,607,0,16,53176,'Updated',TO_DATE('2009-04-07 11:51:43','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 11:51:43','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:46 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57038 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:47 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57039,608,0,18,110,53176,'UpdatedBy',TO_DATE('2009-04-07 11:51:46','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 11:51:46','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 11:51:47 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57039 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53177,'3','N',TO_DATE('2009-04-07 12:02:19','YYYY-MM-DD HH24:MI:SS'),100,'Line items of a promotion group','D','N','Y','N','Y','N','N','N',0,'Promotion Group Line','L','M_PromotionGroupLine',TO_DATE('2009-04-07 12:02:19','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53177 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53277,TO_DATE('2009-04-07 12:02:26','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table M_PromotionGroupLine',1,'Y','N','Y','Y','M_PromotionGroupLine','N',1000000,TO_DATE('2009-04-07 12:02:26','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57040,102,0,19,53177,129,'AD_Client_ID',TO_DATE('2009-04-07 12:02:43','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 12:02:43','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57040 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57041,113,0,19,53177,104,'AD_Org_ID',TO_DATE('2009-04-07 12:02:44','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 12:02:44','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:02:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57041 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:03 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57042,245,0,16,53177,'Created',TO_DATE('2009-04-07 12:02:46','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 12:02:46','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:03 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57042 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57043,246,0,18,110,53177,'CreatedBy',TO_DATE('2009-04-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 12:03:03','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57043 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57045,348,0,20,53177,'IsActive',TO_DATE('2009-04-07 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57045 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53801,0,'M_PromotionGroupLine_ID',TO_DATE('2009-04-07 12:03:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Group Line','Promotion Group Line',TO_DATE('2009-04-07 12:03:08','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53801 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57046,53801,0,13,53177,'M_PromotionGroupLine_ID',TO_DATE('2009-04-07 12:03:08','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Group Line',0,TO_DATE('2009-04-07 12:03:08','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57046 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57047,607,0,16,53177,'Updated',TO_DATE('2009-04-07 12:03:11','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 12:03:11','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57047 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57048,608,0,18,110,53177,'UpdatedBy',TO_DATE('2009-04-07 12:03:16','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 12:03:16','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:03:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57048 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:05:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57049,53800,0,19,53177,'M_PromotionGroup_ID',TO_DATE('2009-04-07 12:05:28','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','Y','N','N','N','N','Promotion Group',0,TO_DATE('2009-04-07 12:05:28','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:05:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57049 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:06:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57050,454,0,30,53177,231,'M_Product_ID',TO_DATE('2009-04-07 12:06:30','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',22,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','Y','N','N','N','N','Y','Product',0,TO_DATE('2009-04-07 12:06:30','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:06:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57050 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:07:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=57044
|
|
;
|
|
|
|
-- Apr 7, 2009 12:07:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
DELETE FROM AD_Column WHERE AD_Column_ID=57044
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53178,'3','N',TO_DATE('2009-04-07 12:16:39','YYYY-MM-DD HH24:MI:SS'),100,'Promotion setup','D','N','Y','N','Y','N','N','N',0,'Promotion','L','M_Promotion',TO_DATE('2009-04-07 12:16:39','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53178 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53278,TO_DATE('2009-04-07 12:16:41','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table M_Promotion',1,'Y','N','Y','Y','M_Promotion','N',1000000,TO_DATE('2009-04-07 12:16:41','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57051,102,0,19,53178,'AD_Client_ID',TO_DATE('2009-04-07 12:16:52','YYYY-MM-DD HH24:MI:SS'),100,'@AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 12:16:52','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57051 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57052,113,0,19,53178,104,'AD_Org_ID',TO_DATE('2009-04-07 12:16:53','YYYY-MM-DD HH24:MI:SS'),100,'@AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 12:16:53','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57052 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57053,245,0,16,53178,'Created',TO_DATE('2009-04-07 12:16:54','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 12:16:54','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57053 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57054,246,0,18,110,53178,'CreatedBy',TO_DATE('2009-04-07 12:16:56','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 12:16:56','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57054 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57055,275,0,10,53178,'Description',TO_DATE('2009-04-07 12:16:57','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_DATE('2009-04-07 12:16:57','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:16:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57055 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57056,348,0,20,53178,'IsActive',TO_DATE('2009-04-07 12:16:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 12:16:59','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57056 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53802,0,'M_Promotion_ID',TO_DATE('2009-04-07 12:17:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion','Promotion',TO_DATE('2009-04-07 12:17:00','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53802 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57057,53802,0,13,53178,'M_Promotion_ID',TO_DATE('2009-04-07 12:17:00','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion',0,TO_DATE('2009-04-07 12:17:00','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57057 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57058,469,0,10,53178,'Name',TO_DATE('2009-04-07 12:17:02','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','N','N','Y','N','Y','N','N','N','N','Y','Name',1,TO_DATE('2009-04-07 12:17:02','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57058 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57059,607,0,16,53178,'Updated',TO_DATE('2009-04-07 12:17:04','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 12:17:04','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57059 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57060,608,0,18,110,53178,'UpdatedBy',TO_DATE('2009-04-07 12:17:07','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 12:17:07','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:17:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57060 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:34:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53803,0,'PromotionPriority',TO_DATE('2009-04-07 12:34:52','YYYY-MM-DD HH24:MI:SS'),100,'Which promotion should be apply to a product','D','The relative priority indicate the promotion to use when a product exists in more than one promotion. Promotion with the highest priority take precedence.','Y','Relative Priority','Relative Priority',TO_DATE('2009-04-07 12:34:52','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:34:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53803 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:36:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57061,53803,0,11,53178,'PromotionPriority',TO_DATE('2009-04-07 12:36:30','YYYY-MM-DD HH24:MI:SS'),100,'0','Which promotion should be apply to a product','D',22,'The relative priority indicate the promotion to use when a product exists in more than one promotion. Promotion with the highest priority take precedence.','Y','N','N','N','N','Y','N','N','N','N','Y','Relative Priority',0,TO_DATE('2009-04-07 12:36:30','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 12:36:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57061 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,Help,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53179,'3','N',TO_DATE('2009-04-07 13:19:33','YYYY-MM-DD HH24:MI:SS'),100,'Promotion line items','D','The promotion line items include the combination of product that make up this promotion','N','Y','N','Y','N','N','N',0,'Promotion Line','L','M_PromotionLine',TO_DATE('2009-04-07 13:19:33','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53179 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53279,TO_DATE('2009-04-07 13:19:36','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table M_PromotionLine',1,'Y','N','Y','Y','M_PromotionLine','N',1000000,TO_DATE('2009-04-07 13:19:36','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57062,102,0,19,53179,129,'AD_Client_ID',TO_DATE('2009-04-07 13:19:51','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 13:19:51','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57062 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57063,113,0,19,53179,104,'AD_Org_ID',TO_DATE('2009-04-07 13:19:52','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 13:19:52','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57063 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57064,245,0,16,53179,'Created',TO_DATE('2009-04-07 13:19:55','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 13:19:55','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57064 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57065,246,0,18,110,53179,'CreatedBy',TO_DATE('2009-04-07 13:19:56','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 13:19:56','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57065 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57066,348,0,20,53179,'IsActive',TO_DATE('2009-04-07 13:19:58','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 13:19:58','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:19:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57066 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53804,0,'M_PromotionLine_ID',TO_DATE('2009-04-07 13:19:59','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Line','Promotion Line',TO_DATE('2009-04-07 13:19:59','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53804 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57067,53804,0,13,53179,'M_PromotionLine_ID',TO_DATE('2009-04-07 13:19:59','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Line',0,TO_DATE('2009-04-07 13:19:59','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57067 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57068,607,0,16,53179,'Updated',TO_DATE('2009-04-07 13:20:02','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 13:20:02','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57068 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57069,608,0,18,110,53179,'UpdatedBy',TO_DATE('2009-04-07 13:20:07','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 13:20:07','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:20:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57069 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:21:20 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57070,53802,0,19,53179,'M_Promotion_ID',TO_DATE('2009-04-07 13:21:08','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','Y','N','N','N','N','Promotion',0,TO_DATE('2009-04-07 13:21:08','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:21:20 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57070 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:22:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57071,53800,0,19,53179,'M_PromotionGroup_ID',TO_DATE('2009-04-07 13:22:05','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Promotion Group',0,TO_DATE('2009-04-07 13:22:05','YYYY-MM-DD HH24:MI:SS'),100,22.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:22:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57071 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:24:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57072,2177,0,12,53179,'MinimumAmt',TO_DATE('2009-04-07 13:24:02','YYYY-MM-DD HH24:MI:SS'),100,'Minumum Amout in Document Currency','D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Minimum Amt',0,TO_DATE('2009-04-07 13:24:02','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:24:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57072 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:52:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53805,0,'IsMandatoryPL',TO_DATE('2009-04-07 13:52:22','YYYY-MM-DD HH24:MI:SS'),100,'Order must have this promotion line','D','The mandatory promotion check box indicates that the order must have this promotion line','Y','Mandatory Promotion Line','Mandatory Promotion Line',TO_DATE('2009-04-07 13:52:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:52:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53805 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:54:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57073,53805,0,20,53179,'IsMandatoryPL',TO_DATE('2009-04-07 13:53:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Order must have this promotion line','D',1,'The mandatory promotion check box indicates that the order must have this promotion line','Y','N','N','N','N','Y','N','N','N','N','Y','Mandatory Promotion Line',0,TO_DATE('2009-04-07 13:53:59','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 1:54:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57073 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,Help,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53180,'3','N',TO_DATE('2009-04-07 13:59:58','YYYY-MM-DD HH24:MI:SS'),100,'Pre condition for promotion','D','Promotion is applicable to order that satisfy the pre condition','N','Y','N','Y','N','N','N',0,'Promotion Pre Condition','L','M_PromotionPreCondition',TO_DATE('2009-04-07 13:59:58','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53180 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53280,TO_DATE('2009-04-07 14:00:00','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table M_PromotionPreCondition',1,'Y','N','Y','Y','M_PromotionPreCondition','N',1000000,TO_DATE('2009-04-07 14:00:00','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57074,102,0,19,53180,129,'AD_Client_ID',TO_DATE('2009-04-07 14:00:14','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 14:00:14','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57074 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57075,113,0,19,53180,104,'AD_Org_ID',TO_DATE('2009-04-07 14:00:16','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 14:00:16','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57075 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57076,245,0,16,53180,'Created',TO_DATE('2009-04-07 14:00:18','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 14:00:18','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57076 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57077,246,0,18,110,53180,'CreatedBy',TO_DATE('2009-04-07 14:00:21','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 14:00:21','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57077 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57078,348,0,20,53180,'IsActive',TO_DATE('2009-04-07 14:00:23','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 14:00:23','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57078 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53806,0,'M_PromotionPreCondition_ID',TO_DATE('2009-04-07 14:00:25','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Pre Condition','Promotion Pre Condition',TO_DATE('2009-04-07 14:00:25','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53806 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57079,53806,0,13,53180,'M_PromotionPreCondition_ID',TO_DATE('2009-04-07 14:00:25','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Pre Condition',0,TO_DATE('2009-04-07 14:00:25','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57079 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57080,607,0,16,53180,'Updated',TO_DATE('2009-04-07 14:00:29','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 14:00:29','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57080 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57081,608,0,18,110,53180,'UpdatedBy',TO_DATE('2009-04-07 14:00:31','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 14:00:31','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:00:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57081 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:02:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57082,53802,0,19,53180,'M_Promotion_ID',TO_DATE('2009-04-07 14:02:22','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','Y','N','N','N','N','Promotion',0,TO_DATE('2009-04-07 14:02:22','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:02:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57082 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:06:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57083,187,0,30,53180,230,'C_BPartner_ID',TO_DATE('2009-04-07 14:06:27','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','D',22,'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','N','N','Y','Business Partner ','@C_BP_Group_ID@!0',0,TO_DATE('2009-04-07 14:06:27','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:06:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57083 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:08:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57084,1383,0,19,53180,'C_BP_Group_ID',TO_DATE('2009-04-07 14:08:22','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group','D',22,'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','N','N','Y','Business Partner Group','@C_BPartner_ID@!0',0,TO_DATE('2009-04-07 14:08:22','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:08:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57084 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:09:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57085,459,0,19,53180,'M_Warehouse_ID',TO_DATE('2009-04-07 14:09:04','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','D',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','N','N','N','N','N','Y','Warehouse',0,TO_DATE('2009-04-07 14:09:04','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:09:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57085 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:09:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57086,449,0,19,53180,'M_PriceList_ID',TO_DATE('2009-04-07 14:09:41','YYYY-MM-DD HH24:MI:SS'),100,'Unique identifier of a Price List','D',22,'Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','N','N','N','N','N','N','N','N','N','Y','Price List',0,TO_DATE('2009-04-07 14:09:41','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:09:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57086 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:28:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PO_Name,PrintName,Updated,UpdatedBy) VALUES (0,53807,0,'PromotionCounter',TO_DATE('2009-04-07 14:28:11','YYYY-MM-DD HH24:MI:SS'),100,'Usage counter','D','Counter to record how many times this promotion have been used','Y','Usage Counter',NULL,'Usage Counter',TO_DATE('2009-04-07 14:28:11','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:28:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53807 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:29:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53808,0,'PromotionUsageLimit',TO_DATE('2009-04-07 14:29:22','YYYY-MM-DD HH24:MI:SS'),100,'Maximum usage limit','D','Maximum number of time this promotion can be use','Y','Usage Limit','Usage Limit',TO_DATE('2009-04-07 14:29:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:29:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53808 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:30:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57087,53807,0,11,53180,'PromotionCounter',TO_DATE('2009-04-07 14:30:46','YYYY-MM-DD HH24:MI:SS'),100,'0','Usage counter','D',22,'Counter to record how many times this promotion have been used','Y','N','N','N','N','N','N','N','N','N','N','Usage Counter',0,TO_DATE('2009-04-07 14:30:46','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:30:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57087 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:31:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57088,53808,0,11,53180,'PromotionUsageLimit',TO_DATE('2009-04-07 14:31:33','YYYY-MM-DD HH24:MI:SS'),100,'0','Maximum usage limit','D',22,'Maximum number of time this promotion can be use','Y','N','N','N','N','N','N','N','N','N','Y','Usage Limit',0,TO_DATE('2009-04-07 14:31:33','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:31:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57088 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:33:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57089,574,0,16,53180,'StartDate',TO_DATE('2009-04-07 14:33:00','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)','D',7,'The Start Date indicates the first or starting date','Y','N','N','N','N','Y','N','N','N','N','Y','Start Date',0,TO_DATE('2009-04-07 14:33:00','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:33:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:33:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57090,294,0,16,53180,'EndDate',TO_DATE('2009-04-07 14:33:39','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)','D',7,'The End Date indicates the last date in this range.','Y','N','N','N','N','N','N','N','N','N','Y','End Date',0,TO_DATE('2009-04-07 14:33:39','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:33:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:34:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57091,566,0,11,53180,'SeqNo',TO_DATE('2009-04-07 14:34:33','YYYY-MM-DD HH24:MI:SS'),100,'0','Method of ordering records; lowest number comes first','D',22,'The Sequence indicates the order of records','Y','N','N','N','N','Y','N','N','N','N','Y','Sequence',0,TO_DATE('2009-04-07 14:34:33','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:34:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:38:51 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53809,0,'PromotionCode',TO_DATE('2009-04-07 14:38:50','YYYY-MM-DD HH24:MI:SS'),100,'User entered promotion code at sales time','D','If present, user entered the promotion code at sales time to get this promotion','Y','Promotion Code','Promotion Code',TO_DATE('2009-04-07 14:38:50','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:38:51 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53809 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:39:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57092,53809,0,10,53180,'PromotionCode',TO_DATE('2009-04-07 14:39:48','YYYY-MM-DD HH24:MI:SS'),100,'User entered promotion code at sales time','D',30,'If present, user entered the promotion code at sales time to get this promotion','Y','N','N','N','N','N','N','N','N','N','Y','Promotion Code',0,TO_DATE('2009-04-07 14:39:48','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 2:39:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:47:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53181,'3','N',TO_DATE('2009-04-07 16:47:54','YYYY-MM-DD HH24:MI:SS'),100,'Distribute order line items into multiple bucket for reward calculation','D','N','Y','N','Y','N','N','N',0,'Promotion Distribution','L','M_PromotionDistribution',TO_DATE('2009-04-07 16:47:54','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:47:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53181 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57093,102,0,19,53181,129,'AD_Client_ID',TO_DATE('2009-04-07 16:48:09','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-07 16:48:09','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57094,113,0,19,53181,104,'AD_Org_ID',TO_DATE('2009-04-07 16:48:11','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-07 16:48:11','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57095,245,0,16,53181,'Created',TO_DATE('2009-04-07 16:48:12','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-07 16:48:12','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57096,246,0,18,110,53181,'CreatedBy',TO_DATE('2009-04-07 16:48:15','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-07 16:48:15','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:19 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57097,348,0,20,53181,'IsActive',TO_DATE('2009-04-07 16:48:17','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-07 16:48:17','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:19 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:19 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53891,0,'M_PromotionDistribution_ID',TO_DATE('2009-06-25 17:36:22','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Distribution','Promotion Distribution',TO_DATE('2009-06-25 17:36:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:19 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53891 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57098,53891,0,13,53181,'M_PromotionDistribution_ID',TO_DATE('2009-04-07 16:48:19','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Distribution',0,TO_DATE('2009-04-07 16:48:19','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57099,607,0,16,53181,'Updated',TO_DATE('2009-04-07 16:48:27','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-07 16:48:27','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57100,608,0,18,110,53181,'UpdatedBy',TO_DATE('2009-04-07 16:48:29','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-07 16:48:29','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:48:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:49:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57101,53802,0,19,53181,'M_Promotion_ID',TO_DATE('2009-04-07 16:49:08','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','Y','N','N','N','N','Promotion',0,TO_DATE('2009-04-07 16:49:08','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:49:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:49:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57102,566,0,11,53181,'SeqNo',TO_DATE('2009-04-07 16:49:38','YYYY-MM-DD HH24:MI:SS'),100,'@SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionDistribution WHERE M_Promotion_ID=@M_Promotion_ID@','Method of ordering records; lowest number comes first','D',22,'The Sequence indicates the order of records','Y','N','N','N','N','Y','N','N','N','N','Y','Sequence',0,TO_DATE('2009-04-07 16:49:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:49:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53294,TO_DATE('2009-04-07 16:55:02','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','M_PromotionDistribution Operation',TO_DATE('2009-04-07 16:55:02','YYYY-MM-DD HH24:MI:SS'),100,'CC','L')
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53294 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53462,53294,TO_DATE('2009-04-07 16:55:33','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','>=',TO_DATE('2009-04-07 16:55:33','YYYY-MM-DD HH24:MI:SS'),100,'>=')
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53462 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53463,53294,TO_DATE('2009-04-07 16:55:54','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','<=',TO_DATE('2009-04-07 16:55:54','YYYY-MM-DD HH24:MI:SS'),100,'<=')
|
|
;
|
|
|
|
-- Apr 7, 2009 4:55:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53463 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:57:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57103,1454,0,17,53294,53181,'Operation',TO_DATE('2009-04-07 16:57:44','YYYY-MM-DD HH24:MI:SS'),100,'Compare Operation','D',2,'Y','N','N','N','N','Y','N','N','N','N','Y','Operation',0,TO_DATE('2009-04-07 16:57:44','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:57:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:59:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57104,526,0,29,53181,'Qty',TO_DATE('2009-04-07 16:59:51','YYYY-MM-DD HH24:MI:SS'),100,'0','Quantity','D',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','N','N','Y','Quantity',0,TO_DATE('2009-04-07 16:59:51','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 4:59:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:14:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53810,0,'DistributionType',TO_DATE('2009-04-07 17:14:22','YYYY-MM-DD HH24:MI:SS'),100,'Type of quantity distribution calculation using comparison qty and order qty as operand','D',NULL,'Y','Distribution Type','Distribution Type',TO_DATE('2009-04-07 17:14:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:14:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53810 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:15:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53295,TO_DATE('2009-04-07 17:15:07','YYYY-MM-DD HH24:MI:SS'),100,'Type of quantity distribution','D','Y','N','M_PromotionDistrition Type',TO_DATE('2009-04-07 17:15:07','YYYY-MM-DD HH24:MI:SS'),100,'C','L')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:15:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53295 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:15:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53464,53295,TO_DATE('2009-04-07 17:15:53','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Min',TO_DATE('2009-04-07 17:15:53','YYYY-MM-DD HH24:MI:SS'),100,'I')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:15:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53464 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:16:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53465,53295,TO_DATE('2009-04-07 17:16:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Max',TO_DATE('2009-04-07 17:16:07','YYYY-MM-DD HH24:MI:SS'),100,'X')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:16:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53465 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:16:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53466,53295,TO_DATE('2009-04-07 17:16:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Minus',TO_DATE('2009-04-07 17:16:18','YYYY-MM-DD HH24:MI:SS'),100,'N')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:16:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53466 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:17:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57105,53810,0,17,53295,53181,'DistributionType',TO_DATE('2009-04-07 17:17:19','YYYY-MM-DD HH24:MI:SS'),100,'Type of quantity distribution calculation using comparison qty and order qty as operand','D',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Distribution Type',0,TO_DATE('2009-04-07 17:17:19','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:17:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:18:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53811,0,'DistributionSorting',TO_DATE('2009-04-07 17:18:51','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting by unit price','D','Y','Distribution Sorting','Distribution Sorting',TO_DATE('2009-04-07 17:18:51','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:18:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53811 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53296,TO_DATE('2009-04-07 17:20:22','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting direction','D','Y','N','M_PromotionDistribution Sorting',TO_DATE('2009-04-07 17:20:22','YYYY-MM-DD HH24:MI:SS'),100,'C','L')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53296 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53467,53296,TO_DATE('2009-04-07 17:20:38','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Ascending',TO_DATE('2009-04-07 17:20:38','YYYY-MM-DD HH24:MI:SS'),100,'A')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53467 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53468,53296,TO_DATE('2009-04-07 17:20:51','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Descending',TO_DATE('2009-04-07 17:20:51','YYYY-MM-DD HH24:MI:SS'),100,'D')
|
|
;
|
|
|
|
-- Apr 7, 2009 5:20:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53468 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)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:21:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57106,53811,0,17,53296,53181,'DistributionSorting',TO_DATE('2009-04-07 17:21:43','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting by unit price','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Distribution Sorting',0,TO_DATE('2009-04-07 17:21:43','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 7, 2009 5:21:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:41:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53182,'3','N',TO_DATE('2009-04-09 15:41:55','YYYY-MM-DD HH24:MI:SS'),100,'Setup reward for the promotion','D','N','Y','N','Y','N','N','N',0,'Promotion Reward','L','M_PromotionReward',TO_DATE('2009-04-09 15:41:55','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:41:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53182 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57107,102,0,19,53182,129,'AD_Client_ID',TO_DATE('2009-04-09 15:43:21','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','N','Client',0,TO_DATE('2009-04-09 15:43:21','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57108,113,0,19,53182,104,'AD_Org_ID',TO_DATE('2009-04-09 15:43:26','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','N','Organization',0,TO_DATE('2009-04-09 15:43:26','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57109,245,0,16,53182,'Created',TO_DATE('2009-04-09 15:43:27','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','N','Created',0,TO_DATE('2009-04-09 15:43:27','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57110,246,0,18,110,53182,'CreatedBy',TO_DATE('2009-04-09 15:43:40','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','N','Created By',0,TO_DATE('2009-04-09 15:43:40','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:41 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57111,348,0,20,53182,'IsActive',TO_DATE('2009-04-09 15:43:41','YYYY-MM-DD HH24:MI:SS'),100,'Y','The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-04-09 15:43:41','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53812,0,'M_PromotionReward_ID',TO_DATE('2009-04-09 15:43:54','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Promotion Reward','Promotion Reward',TO_DATE('2009-04-09 15:43:54','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53812 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57112,53812,0,13,53182,'M_PromotionReward_ID',TO_DATE('2009-04-09 15:43:53','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','Y','Y','N','N','N','N','N','Promotion Reward',0,TO_DATE('2009-04-09 15:43:53','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:56 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57112 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57113,607,0,16,53182,'Updated',TO_DATE('2009-04-09 15:43:56','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','N','Updated',0,TO_DATE('2009-04-09 15:43:56','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:57 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57113 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57114,608,0,18,110,53182,'UpdatedBy',TO_DATE('2009-04-09 15:43:57','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','N','Updated By',0,TO_DATE('2009-04-09 15:43:57','YYYY-MM-DD HH24:MI:SS'),100,1)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:43:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57114 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:45:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57115,566,0,11,53182,'SeqNo',TO_DATE('2009-04-09 15:45:26','YYYY-MM-DD HH24:MI:SS'),100,'@SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionReward WHERE M_PromotionReward_ID=@M_PromotionReward_ID@','Method of ordering records; lowest number comes first','D',22,'The Sequence indicates the order of records','Y','N','N','N','N','Y','N','N','N','N','Y','Sequence',0,TO_DATE('2009-04-09 15:45:26','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:45:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57115 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:57:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53813,0,'IsForAllDistribution',TO_DATE('2009-04-09 15:57:48','YYYY-MM-DD HH24:MI:SS'),100,'This reward is for all distribution','D','Y','For all distribution','For all distribution',TO_DATE('2009-04-09 15:57:48','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 3:57:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53813 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:04:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53814,0,'IsSameDistribution',TO_DATE('2009-04-09 16:04:29','YYYY-MM-DD HH24:MI:SS'),100,'Use the same distribution for source and target','D','Use the same distribution for source and target. Source distribution is for the entitlement of the reward, target distribution is the distribution to get the product to apply the reward to','Y','Same distribution for source and target','Same distribution for source and target',TO_DATE('2009-04-09 16:04:29','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:04:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53814 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:06:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53815,0,'M_TargetDistribution_ID',TO_DATE('2009-04-09 16:06:19','YYYY-MM-DD HH24:MI:SS'),100,'Get product from target distribution to apply the promotion reward','D','Y','Target distribution','Target distribution',TO_DATE('2009-04-09 16:06:19','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:06:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53815 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:07:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53816,0,'RewardType',TO_DATE('2009-04-09 16:07:16','YYYY-MM-DD HH24:MI:SS'),100,'Type of reward which consists of percentage discount, flat discount or absolute amount','D','Y','Reward Type','Reward Type',TO_DATE('2009-04-09 16:07:16','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:07:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53816 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:08:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57116,53813,0,20,53182,'IsForAllDistribution',TO_DATE('2009-04-09 16:08:42','YYYY-MM-DD HH24:MI:SS'),100,'N','This reward is for all distribution','D',1,'Y','N','N','N','N','Y','N','N','N','N','Y','For all distribution',0,TO_DATE('2009-04-09 16:08:42','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:08:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57116 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:14:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,52048,'M_PromotionDistribution.M_Promotion_ID = @M_Promotion_ID@',TO_DATE('2009-04-09 16:14:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','M_PromotionDistribution of M_Promotion','S',TO_DATE('2009-04-09 16:14:00','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:14:51 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,MandatoryLogic,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57117,53891,0,19,53182,52048,'M_PromotionDistribution_ID',TO_DATE('2009-04-09 16:14:41','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','@IsForAllDistribution@=N','Promotion Distribution','@IsForAllDistribution@=Y',0,TO_DATE('2009-04-09 16:14:41','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:14:51 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57117 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:15:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57118,53802,0,19,53182,'M_Promotion_ID',TO_DATE('2009-04-09 16:15:25','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','Y','N','N','N','N','Promotion',0,TO_DATE('2009-04-09 16:15:25','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:15:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57118 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:16:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57119,53814,0,20,53182,'IsSameDistribution',TO_DATE('2009-04-09 16:16:38','YYYY-MM-DD HH24:MI:SS'),100,'Y','Use the same distribution for source and target','D',1,'Use the same distribution for source and target. Source distribution is for the entitlement of the reward, target distribution is the distribution to get the product to apply the reward to','Y','N','N','N','N','N','N','N','N','N','Y','Same distribution for source and target','@IsForAllDistribution@=Y',0,TO_DATE('2009-04-09 16:16:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:16:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57119 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:20:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53297,TO_DATE('2009-04-09 16:20:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','M_PromotionDistribution',TO_DATE('2009-04-09 16:20:34','YYYY-MM-DD HH24:MI:SS'),100,'T')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:20:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53297 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:23:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,57102,57098,0,53297,53181,TO_DATE('2009-04-09 16:23:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2009-04-09 16:23:07','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:24:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,MandatoryLogic,Name,ReadOnlyLogic,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57120,53815,0,18,53297,53182,52048,'M_TargetDistribution_ID',TO_DATE('2009-04-09 16:24:44','YYYY-MM-DD HH24:MI:SS'),100,'Get product from target distribution to apply the promotion reward','D',22,'Y','N','N','N','N','N','N','N','N','N','Y','@IsForAllDistribution@=N&@IsSameDistribution@=N','Target distribution','@IsForAllDistribution@=Y|@IsSameDistribution@=Y',0,TO_DATE('2009-04-09 16:24:44','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:24:49 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57120 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:26:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,Description,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,VFormat,ValidationType) VALUES (0,0,53298,TO_DATE('2009-04-09 16:26:11','YYYY-MM-DD HH24:MI:SS'),100,NULL,'D','Y','N','M_PromotionReward Type',TO_DATE('2009-04-09 16:26:11','YYYY-MM-DD HH24:MI:SS'),100,'L','L')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:26:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53298 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:26:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53469,53298,TO_DATE('2009-04-09 16:26:32','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Percentage',TO_DATE('2009-04-09 16:26:32','YYYY-MM-DD HH24:MI:SS'),100,'P')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:26:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53469 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)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:27:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53470,53298,TO_DATE('2009-04-09 16:27:13','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Flat Discount',TO_DATE('2009-04-09 16:27:13','YYYY-MM-DD HH24:MI:SS'),100,'F')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:27:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53470 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)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:27:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53471,53298,TO_DATE('2009-04-09 16:27:32','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Absolute Amount',TO_DATE('2009-04-09 16:27:32','YYYY-MM-DD HH24:MI:SS'),100,'A')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:27:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53471 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)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:28:33 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57121,53816,0,17,53298,53182,'RewardType',TO_DATE('2009-04-09 16:28:32','YYYY-MM-DD HH24:MI:SS'),100,'Type of reward which consists of percentage discount, flat discount or absolute amount','D',1,'Y','N','N','N','N','Y','N','N','N','N','Y','Reward Type',0,TO_DATE('2009-04-09 16:28:32','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:28:33 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57121 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:29:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57122,1367,0,12,53182,'Amount',TO_DATE('2009-04-09 16:29:24','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency','D',22,'The Amount indicates the amount for this document line.','Y','N','N','N','N','N','N','N','N','N','Y','Amount',0,TO_DATE('2009-04-09 16:29:24','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:29:25 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57122 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:30:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57123,53811,0,17,53296,53182,'DistributionSorting',TO_DATE('2009-04-09 16:30:36','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting by unit price','D',1,'Y','N','N','N','N','N','N','N','N','N','Y','Distribution Sorting',0,TO_DATE('2009-04-09 16:30:36','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:30:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57123 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:31:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57124,526,0,29,53182,'Qty',TO_DATE('2009-04-09 16:31:20','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','D',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','N','N','N','N','N','Y','Quantity',0,TO_DATE('2009-04-09 16:31:20','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:31:27 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57124 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:32:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57125,968,0,19,53182,'C_Charge_ID',TO_DATE('2009-04-09 16:31:57','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges','D',22,'The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','N','N','N','N','N','N','N','N','N','Y','Charge',0,TO_DATE('2009-04-09 16:31:57','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:32:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57125 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:36:35 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,52049,'M_PromotionLine.M_Promotion_ID = @M_Promotion_ID@',TO_DATE('2009-04-09 16:36:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','M_PromotionLine of M_Promotion','S',TO_DATE('2009-04-09 16:36:31','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:37:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57126,53804,0,19,53181,52049,'M_PromotionLine_ID',TO_DATE('2009-04-09 16:37:05','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','Y','N','N','N','N','Y','Promotion Line',0,TO_DATE('2009-04-09 16:37:05','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:37:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57126 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:41:45 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionGroup (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, Description NVARCHAR2(255), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, M_PromotionGroup_ID NUMBER(10) NOT NULL, Name NVARCHAR2(60) NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionGroup_Key PRIMARY KEY (M_PromotionGroup_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:42:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionGroupLine (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, M_Product_ID NUMBER(10) NOT NULL, M_PromotionGroupLine_ID NUMBER(10) NOT NULL, M_PromotionGroup_ID NUMBER(10) NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionGroupLine_Key PRIMARY KEY (M_PromotionGroupLine_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:42:26 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_Promotion (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, Description NVARCHAR2(255), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, M_Promotion_ID NUMBER(10) NOT NULL, Name NVARCHAR2(60) NOT NULL, PromotionPriority NUMBER(10) DEFAULT 0 NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_Promotion_Key PRIMARY KEY (M_Promotion_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:42:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionPreCondition (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, C_BP_Group_ID NUMBER(10), C_BPartner_ID NUMBER(10), Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, EndDate DATE, IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, M_PriceList_ID NUMBER(10), M_PromotionPreCondition_ID NUMBER(10) NOT NULL, M_Promotion_ID NUMBER(10) NOT NULL, M_Warehouse_ID NUMBER(10), PromotionCode NVARCHAR2(30), PromotionCounter NUMBER(10) DEFAULT 0, PromotionUsageLimit NUMBER(10) DEFAULT 0, SeqNo NUMBER(10) DEFAULT 0 NOT NULL, StartDate DATE NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionPreCondition_Key PRIMARY KEY (M_PromotionPreCondition_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:42:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionLine (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, IsMandatoryPL CHAR(1) DEFAULT 'Y' CHECK (IsMandatoryPL IN ('Y','N')) NOT NULL, M_PromotionGroup_ID NUMBER(10), M_PromotionLine_ID NUMBER(10) NOT NULL, M_Promotion_ID NUMBER(10) NOT NULL, MinimumAmt NUMBER, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionLine_Key PRIMARY KEY (M_PromotionLine_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:43:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionDistribution (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, DistributionSorting CHAR(1), DistributionType CHAR(1) NOT NULL, IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, M_PromotionDistribution_ID NUMBER(10) NOT NULL, M_PromotionLine_ID NUMBER(10) NOT NULL, M_Promotion_ID NUMBER(10) NOT NULL, Operation NVARCHAR2(2) NOT NULL, Qty NUMBER DEFAULT 0 NOT NULL, SeqNo NUMBER(10) DEFAULT NULL NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionDistribution_Key PRIMARY KEY (M_PromotionDistribution_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:43:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
CREATE TABLE M_PromotionReward (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, Amount NUMBER, C_Charge_ID NUMBER(10), Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, DistributionSorting CHAR(1), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, IsForAllDistribution CHAR(1) DEFAULT 'N' CHECK (IsForAllDistribution IN ('Y','N')) NOT NULL, IsSameDistribution CHAR(1) DEFAULT 'Y' CHECK (IsSameDistribution IN ('Y','N')), M_PromotionDistribution_ID NUMBER(10), M_PromotionReward_ID NUMBER(10) NOT NULL, M_Promotion_ID NUMBER(10) NOT NULL, M_TargetDistribution_ID NUMBER(10), Qty NUMBER, RewardType CHAR(1) NOT NULL, SeqNo NUMBER(10) DEFAULT NULL NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT M_PromotionReward_Key PRIMARY KEY (M_PromotionReward_ID))
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,WinHeight,WinWidth,WindowType) VALUES (0,0,53073,TO_DATE('2009-04-09 16:49:11','YYYY-MM-DD HH24:MI:SS'),100,'Grouping of product for promotion setup','D','Y','N','N','Y','Promotion Group','N',TO_DATE('2009-04-09 16:49:11','YYYY-MM-DD HH24:MI:SS'),100,0,0,'M')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53073 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53073,TO_DATE('2009-04-09 16:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:49:15','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53073,TO_DATE('2009-04-09 16:49:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:49:15','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53073,TO_DATE('2009-04-09 16:49:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:49:16','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:49:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53073,TO_DATE('2009-04-09 16:49:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:49:16','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:50:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53201,53176,53073,TO_DATE('2009-04-09 16:50:50','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Promotion Group','N',10,0,TO_DATE('2009-04-09 16:50:50','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:50:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53201 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57035,56838,0,53201,TO_DATE('2009-04-09 16:51:05','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 16:51:05','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56838 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57030,56839,0,53201,TO_DATE('2009-04-09 16:51:06','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 16:51:06','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56839 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57034,56840,0,53201,TO_DATE('2009-04-09 16:51:11','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2009-04-09 16:51:11','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56840 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:13 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57037,56841,0,53201,TO_DATE('2009-04-09 16:51:12','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2009-04-09 16:51:12','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:13 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56841 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57031,56842,0,53201,TO_DATE('2009-04-09 16:51:13','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 16:51:13','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56842 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57036,56843,0,53201,TO_DATE('2009-04-09 16:51:14','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Group',TO_DATE('2009-04-09 16:51:14','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56843 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56839
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56842
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56841
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56840
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56838
|
|
;
|
|
|
|
-- Apr 9, 2009 4:51:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-04-09 16:51:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56842
|
|
;
|
|
|
|
-- Apr 9, 2009 4:53:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53202,53177,53073,TO_DATE('2009-04-09 16:53:53','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Group Line','N',20,0,TO_DATE('2009-04-09 16:53:53','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:53:54 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53202 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57045,56844,0,53202,TO_DATE('2009-04-09 16:54:01','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 16:54:01','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56844 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57040,56845,0,53202,TO_DATE('2009-04-09 16:55:04','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 16:55:04','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56845 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57041,56846,0,53202,TO_DATE('2009-04-09 16:55:08','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 16:55:08','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:55:29 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56846 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57050,56847,0,53202,TO_DATE('2009-04-09 16:55:29','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item',22,'D','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2009-04-09 16:55:29','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:00 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56847 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57049,56848,0,53202,TO_DATE('2009-04-09 16:56:00','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion Group',TO_DATE('2009-04-09 16:56:00','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56848 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57046,56849,0,53202,TO_DATE('2009-04-09 16:56:06','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Group Line',TO_DATE('2009-04-09 16:56:06','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56849 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56845
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56846
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56844
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56848
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56847
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:48 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-04-09 16:56:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56846
|
|
;
|
|
|
|
-- Apr 9, 2009 4:56:59 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2009-04-09 16:56:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53202
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,WinHeight,WinWidth,WindowType) VALUES (0,0,53074,TO_DATE('2009-04-09 16:57:36','YYYY-MM-DD HH24:MI:SS'),100,'Setup promotion rule','D','Y','N','N','Y','Promotion','N',TO_DATE('2009-04-09 16:57:36','YYYY-MM-DD HH24:MI:SS'),100,0,0,'M')
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53074 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53074,TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53074,TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53074,TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:57:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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,53074,TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-04-09 16:57:37','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53203,53178,53074,TO_DATE('2009-04-09 16:58:12','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Promotion','N',10,0,TO_DATE('2009-04-09 16:58:12','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53203 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57056,56850,0,53203,TO_DATE('2009-04-09 16:58:20','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 16:58:20','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56850 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:32 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57051,56851,0,53203,TO_DATE('2009-04-09 16:58:24','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 16:58:24','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:32 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56851 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:48 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57055,56852,0,53203,TO_DATE('2009-04-09 16:58:32','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2009-04-09 16:58:32','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:48 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56852 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57058,56853,0,53203,TO_DATE('2009-04-09 16:58:48','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2009-04-09 16:58:48','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:58:55 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56853 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57052,56854,0,53203,TO_DATE('2009-04-09 16:58:55','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 16:58:55','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56854 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57057,56855,0,53203,TO_DATE('2009-04-09 16:59:16','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion',TO_DATE('2009-04-09 16:59:16','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56855 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57061,56856,0,53203,TO_DATE('2009-04-09 16:59:18','YYYY-MM-DD HH24:MI:SS'),100,'Which promotion should be apply to a product',22,'D','The relative priority indicate the promotion to use when a product exists in more than one promotion. Promotion with the highest priority take precedence.','Y','Y','Y','N','N','N','N','N','Relative Priority',TO_DATE('2009-04-09 16:59:18','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56856 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56851
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56854
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56850
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56853
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56852
|
|
;
|
|
|
|
-- Apr 9, 2009 4:59:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56856
|
|
;
|
|
|
|
-- Apr 9, 2009 5:00:01 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-04-09 17:00:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56854
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53204,53180,53074,TO_DATE('2009-04-09 17:00:55','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','Pre Condition','N',20,1,TO_DATE('2009-04-09 17:00:55','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53204 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57078,56857,0,53204,TO_DATE('2009-04-09 17:01:18','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 17:01:18','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:24 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56857 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57083,56858,0,53204,TO_DATE('2009-04-09 17:01:24','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',22,'D','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_DATE('2009-04-09 17:01:24','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56858 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57084,56859,0,53204,TO_DATE('2009-04-09 17:01:31','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group',22,'D','The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','Y','N','N','N','N','N','Business Partner Group',TO_DATE('2009-04-09 17:01:31','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:37 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56859 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:43 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57074,56860,0,53204,TO_DATE('2009-04-09 17:01:37','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 17:01:37','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:01:43 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56860 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:02:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57090,56861,0,53204,TO_DATE('2009-04-09 17:01:43','YYYY-MM-DD HH24:MI:SS'),100,'Last effective date (inclusive)',7,'D','The End Date indicates the last date in this range.','Y','Y','Y','N','N','N','N','N','End Date',TO_DATE('2009-04-09 17:01:43','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:02:02 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56861 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:02:32 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57075,56862,0,53204,TO_DATE('2009-04-09 17:02:02','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 17:02:02','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:02:32 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56862 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57086,56863,0,53204,TO_DATE('2009-04-09 17:02:32','YYYY-MM-DD HH24:MI:SS'),100,'Unique identifier of a Price List',22,'D','Price Lists are used to determine the pricing, margin and cost of items purchased or sold.','Y','Y','Y','N','N','N','N','N','Price List',TO_DATE('2009-04-09 17:02:32','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:10 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56863 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57082,56864,0,53204,TO_DATE('2009-04-09 17:03:10','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion',TO_DATE('2009-04-09 17:03:10','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56864 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57092,56865,0,53204,TO_DATE('2009-04-09 17:03:14','YYYY-MM-DD HH24:MI:SS'),100,'User entered promotion code at sales time',30,'D','If present, user entered the promotion code at sales time to get this promotion','Y','Y','Y','N','N','N','N','N','Promotion Code',TO_DATE('2009-04-09 17:03:14','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:16 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56865 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57079,56866,0,53204,TO_DATE('2009-04-09 17:03:16','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Pre Condition',TO_DATE('2009-04-09 17:03:16','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:17 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56866 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57091,56867,0,53204,TO_DATE('2009-04-09 17:03:17','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first',22,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_DATE('2009-04-09 17:03:17','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56867 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:22 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57089,56868,0,53204,TO_DATE('2009-04-09 17:03:21','YYYY-MM-DD HH24:MI:SS'),100,'First effective day (inclusive)',7,'D','The Start Date indicates the first or starting date','Y','Y','Y','N','N','N','N','N','Start Date',TO_DATE('2009-04-09 17:03:21','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:22 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56868 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57087,56869,0,53204,TO_DATE('2009-04-09 17:03:22','YYYY-MM-DD HH24:MI:SS'),100,'Usage counter',22,'D','Counter to record how many times this promotion have been used','Y','Y','Y','N','N','N','N','N','Usage Counter',TO_DATE('2009-04-09 17:03:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:34 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56869 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:35 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57088,56870,0,53204,TO_DATE('2009-04-09 17:03:34','YYYY-MM-DD HH24:MI:SS'),100,'Maximum usage limit',22,'D','Maximum number of time this promotion can be use','Y','Y','Y','N','N','N','N','N','Usage Limit',TO_DATE('2009-04-09 17:03:34','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:35 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56870 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57085,56871,0,53204,TO_DATE('2009-04-09 17:03:35','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point',22,'D','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','N','N','Warehouse',TO_DATE('2009-04-09 17:03:35','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:03:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56871 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56860
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56862
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56857
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56864
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56867
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56858
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56859
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56863
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56871
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56865
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56869
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56870
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56868
|
|
;
|
|
|
|
-- Apr 9, 2009 5:04:58 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56861
|
|
;
|
|
|
|
-- Apr 9, 2009 5:05:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53205,53179,53074,TO_DATE('2009-04-09 17:05:45','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Promotion Line','N',30,1,TO_DATE('2009-04-09 17:05:45','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:05:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53205 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:06:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57066,56872,0,53205,TO_DATE('2009-04-09 17:05:52','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 17:05:52','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:06:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56872 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:06:22 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57062,56873,0,53205,TO_DATE('2009-04-09 17:06:21','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 17:06:21','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:06:22 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56873 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:08:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57073,56874,0,53205,TO_DATE('2009-04-09 17:06:22','YYYY-MM-DD HH24:MI:SS'),100,'Order must have this promotion line',1,'D','The mandatory promotion check box indicates that the order must have this promotion line','Y','Y','Y','N','N','N','N','N','Mandatory Promotion Line',TO_DATE('2009-04-09 17:06:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:08:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56874 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:09:20 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57072,56875,0,53205,TO_DATE('2009-04-09 17:08:21','YYYY-MM-DD HH24:MI:SS'),100,'Minumum Amout in Document Currency',22,'D','Y','Y','Y','N','N','N','N','N','Minimum Amt',TO_DATE('2009-04-09 17:08:21','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:09:20 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56875 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:09:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57063,56876,0,53205,TO_DATE('2009-04-09 17:09:20','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 17:09:20','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:09:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56876 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57070,56877,0,53205,TO_DATE('2009-04-09 17:09:21','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion',TO_DATE('2009-04-09 17:09:21','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:11 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56877 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57071,56878,0,53205,TO_DATE('2009-04-09 17:10:11','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion Group',TO_DATE('2009-04-09 17:10:11','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56878 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57067,56879,0,53205,TO_DATE('2009-04-09 17:10:15','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Line',TO_DATE('2009-04-09 17:10:15','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:18 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56879 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56873
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56876
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56872
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56877
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56878
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56875
|
|
;
|
|
|
|
-- Apr 9, 2009 5:10:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56874
|
|
;
|
|
|
|
-- Apr 9, 2009 5:11:28 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53206,53181,53074,TO_DATE('2009-04-09 17:11:26','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Quantity Distribution','N',40,1,TO_DATE('2009-04-09 17:11:26','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:11:28 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53206 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:11:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57097,56880,0,53206,TO_DATE('2009-04-09 17:11:30','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 17:11:30','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:11:31 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56880 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:12:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57093,56881,0,53206,TO_DATE('2009-04-09 17:11:31','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 17:11:31','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:12:15 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56881 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57106,56882,0,53206,TO_DATE('2009-04-09 17:12:15','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting by unit price',1,'D','Y','Y','Y','N','N','N','N','N','Distribution Sorting',TO_DATE('2009-04-09 17:12:15','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:04 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56882 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57105,56883,0,53206,TO_DATE('2009-04-09 17:14:04','YYYY-MM-DD HH24:MI:SS'),100,'Type of quantity distribution calculation using comparison qty and order qty as operand',1,'D','Y','Y','Y','N','N','N','N','N','Distribution Type',TO_DATE('2009-04-09 17:14:04','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:05 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56883 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57103,56884,0,53206,TO_DATE('2009-04-09 17:14:05','YYYY-MM-DD HH24:MI:SS'),100,'Compare Operation',2,'D','Y','Y','Y','N','N','N','N','N','Operation',TO_DATE('2009-04-09 17:14:05','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:06 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56884 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57094,56885,0,53206,TO_DATE('2009-04-09 17:14:06','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 17:14:06','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56885 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57101,56886,0,53206,TO_DATE('2009-04-09 17:14:07','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion',TO_DATE('2009-04-09 17:14:07','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56886 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57098,56887,0,53206,TO_DATE('2009-04-09 17:14:42','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Distribution',TO_DATE('2009-04-09 17:14:42','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:44 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56887 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:45 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57126,56888,0,53206,TO_DATE('2009-04-09 17:14:44','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion Line',TO_DATE('2009-04-09 17:14:44','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:45 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56888 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57104,56889,0,53206,TO_DATE('2009-04-09 17:14:45','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',22,'D','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_DATE('2009-04-09 17:14:45','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:46 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56889 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:47 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57102,56890,0,53206,TO_DATE('2009-04-09 17:14:46','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first',22,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_DATE('2009-04-09 17:14:46','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:14:47 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56890 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56881
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56885
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56880
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56886
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56890
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56888
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56884
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56889
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56883
|
|
;
|
|
|
|
-- Apr 9, 2009 5:17:12 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56882
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53207,53182,53074,TO_DATE('2009-04-09 17:18:29','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','Reward','N',50,1,TO_DATE('2009-04-09 17:18:29','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53207 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:35 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57111,56891,0,53207,TO_DATE('2009-04-09 17:18:34','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
|
|
There are two reasons for de-activating and not deleting records:
|
|
(1) The system requires the record for audit purposes.
|
|
(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-04-09 17:18:34','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:35 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56891 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57122,56892,0,53207,TO_DATE('2009-04-09 17:18:35','YYYY-MM-DD HH24:MI:SS'),100,'Amount in a defined currency',22,'D','The Amount indicates the amount for this document line.','Y','Y','Y','N','N','N','N','N','Amount',TO_DATE('2009-04-09 17:18:35','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:18:36 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56892 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57125,56893,0,53207,TO_DATE('2009-04-09 17:18:36','YYYY-MM-DD HH24:MI:SS'),100,'Additional document charges',22,'D','The Charge indicates a type of Charge (Handling, Shipping, Restocking)','Y','Y','Y','N','N','N','N','N','Charge',TO_DATE('2009-04-09 17:18:36','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:14 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56893 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:28 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57107,56894,0,53207,TO_DATE('2009-04-09 17:19:14','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-04-09 17:19:14','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:28 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56894 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57123,56895,0,53207,TO_DATE('2009-04-09 17:19:28','YYYY-MM-DD HH24:MI:SS'),100,'Quantity distribution sorting by unit price',1,'D','Y','Y','Y','N','N','N','N','N','Distribution Sorting',TO_DATE('2009-04-09 17:19:28','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:19:30 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56895 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57116,56896,0,53207,TO_DATE('2009-04-09 17:19:30','YYYY-MM-DD HH24:MI:SS'),100,'This reward is for all distribution',1,'D','Y','Y','Y','N','N','N','N','N','For all distribution',TO_DATE('2009-04-09 17:19:30','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56896 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57108,56897,0,53207,TO_DATE('2009-04-09 17:20:07','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-04-09 17:20:07','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56897 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57118,56898,0,53207,TO_DATE('2009-04-09 17:20:08','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion',TO_DATE('2009-04-09 17:20:08','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56898 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57117,56899,0,53207,TO_DATE('2009-04-09 17:20:09','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','Y','N','N','N','N','N','Promotion Distribution',TO_DATE('2009-04-09 17:20:09','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:21 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56899 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57112,56900,0,53207,TO_DATE('2009-04-09 17:20:22','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','Promotion Reward',TO_DATE('2009-04-09 17:20:22','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:20:23 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56900 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57124,56901,0,53207,TO_DATE('2009-04-09 17:20:23','YYYY-MM-DD HH24:MI:SS'),100,'Quantity',22,'D','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','N','N','Quantity',TO_DATE('2009-04-09 17:20:23','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:07 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56901 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57121,56902,0,53207,TO_DATE('2009-04-09 17:21:07','YYYY-MM-DD HH24:MI:SS'),100,'Type of reward which consists of percentage discount, flat discount or absolute amount',1,'D','Y','Y','Y','N','N','N','N','N','Reward Type',TO_DATE('2009-04-09 17:21:07','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:08 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56902 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57119,56903,0,53207,TO_DATE('2009-04-09 17:21:08','YYYY-MM-DD HH24:MI:SS'),100,'Use the same distribution for source and target',1,'D','Use the same distribution for source and target. Source distribution is for the entitlement of the reward, target distribution is the distribution to get the product to apply the reward to','Y','Y','Y','N','N','N','N','N','Same distribution for source and target',TO_DATE('2009-04-09 17:21:08','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:09 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56903 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57115,56904,0,53207,TO_DATE('2009-04-09 17:21:09','YYYY-MM-DD HH24:MI:SS'),100,'Method of ordering records; lowest number comes first',22,'D','The Sequence indicates the order of records','Y','Y','Y','N','N','N','N','N','Sequence',TO_DATE('2009-04-09 17:21:09','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:39 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56904 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57120,56905,0,53207,TO_DATE('2009-04-09 17:21:39','YYYY-MM-DD HH24:MI:SS'),100,'Get product from target distribution to apply the promotion reward',22,'D','Y','Y','Y','N','N','N','N','N','Target distribution',TO_DATE('2009-04-09 17:21:39','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:21:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56905 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56894
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56897
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56891
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56898
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:52 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56904
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56896
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56899
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56903
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56905
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56902
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56892
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56901
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56895
|
|
;
|
|
|
|
-- Apr 9, 2009 5:22:53 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56893
|
|
;
|
|
|
|
-- Apr 10, 2009 10:55:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53210,0,53073,'W',TO_DATE('2009-04-10 10:55:48','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','Y','N','Promotion Group',TO_DATE('2009-04-10 10:55:48','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:55:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53210 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:55:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53210, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53210)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=268
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=125
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=422
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=107
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=130
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=188
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=227
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=126
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=421
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=267
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=490
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=132
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=310
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=585
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:22 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53210
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:45 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53211,0,53074,'W',TO_DATE('2009-04-10 10:56:44','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','Y','N','Promotion',TO_DATE('2009-04-10 10:56:44','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:45 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
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=53211 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:45 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53211, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53211)
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=268
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=125
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=422
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=107
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=130
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=188
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=227
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=381
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=126
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=421
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=267
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=490
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=132
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=310
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=128
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=585
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53210
|
|
;
|
|
|
|
-- Apr 10, 2009 10:56:51 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_TreeNodeMM SET Parent_ID=167, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53211
|
|
;
|
|
|
|
-- Apr 10, 2009 11:08:41 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET IsIdentifier='Y',Updated=TO_DATE('2009-04-10 11:08:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57071
|
|
;
|
|
|
|
-- Apr 10, 2009 11:08:47 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET IsIdentifier='Y',Updated=TO_DATE('2009-04-10 11:08:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57072
|
|
;
|
|
|
|
-- Apr 10, 2009 11:09:34 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET IsIdentifier='Y',Updated=TO_DATE('2009-04-10 11:09:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57126
|
|
;
|
|
|
|
-- Apr 10, 2009 11:09:40 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET IsIdentifier='Y',Updated=TO_DATE('2009-04-10 11:09:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57102
|
|
;
|
|
|
|
-- Apr 13, 2009 5:37:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2009-04-13 17:37:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57125
|
|
;
|
|
|
|
-- Apr 13, 2009 5:39:40 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET MandatoryLogic='@Qty@!0', ReadOnlyLogic='@Qty@=0',Updated=TO_DATE('2009-04-13 17:39:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57123
|
|
;
|
|
|
|
-- Apr 15, 2009 5:07:47 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_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,57127,53809,0,10,259,'PromotionCode',TO_DATE('2009-04-15 05:07:45','YYYY-MM-DD HH24:MI:SS'),100,'User entered promotion code at sales time','D',30,'If present, user entered the promotion code at sales time to get this promotion','Y','N','N','N','N','N','N','N','N','N','Y','Promotion Code',0,TO_DATE('2009-04-15 05:07:45','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:07:47 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57127 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:07:56 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
ALTER TABLE C_Order ADD PromotionCode NVARCHAR2(30)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:08:48 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT 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,57128,53802,0,19,260,'M_Promotion_ID',TO_DATE('2009-04-15 05:08:46','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','N','N','N','N','N','N','N','N','N','Y','Promotion',0,TO_DATE('2009-04-15 05:08:46','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:08:48 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=57128 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:08:54 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
ALTER TABLE C_OrderLine ADD M_Promotion_ID NUMBER(10)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:11:49 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,57127,56906,0,186,TO_DATE('2009-04-15 05:11:46','YYYY-MM-DD HH24:MI:SS'),100,'User entered promotion code at sales time',20,'D','If present, user entered the promotion code at sales time to get this promotion','Y','Y','Y','N','N','N','N','N','Promotion Code',470,0,TO_DATE('2009-04-15 05:11:46','YYYY-MM-DD HH24:MI:SS'),100)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:11:49 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56906 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56906
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2593
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=2589
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=1324
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=7038
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=7826
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7825
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:03 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=1112
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=1113
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=1082
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=1084
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=6560
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=1083
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=3660
|
|
;
|
|
|
|
-- Apr 15, 2009 5:12:04 AM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=52014
|
|
;
|
|
|
|
-- Apr 20, 2009 3:22:42 PM MYT
|
|
-- FR [2723091] Sponsored Development: Promotions
|
|
UPDATE AD_Column SET DefaultValue='@SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM M_PromotionReward WHERE M_Promotion_ID=@M_Promotion_ID@',Updated=TO_DATE('2009-04-20 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57115
|
|
;
|
|
|
|
COMMIT;
|
|
|