IDEMPIERE-1150 Status Line window / based on patch from Nicolas Micoud

This commit is contained in:
Carlos Ruiz 2014-01-12 15:51:11 -05:00
parent 536f700fa4
commit ce00df6052
11 changed files with 2195 additions and 4 deletions

View File

@ -0,0 +1,536 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Jan 12, 2014 3:22:55 PM COT
-- IDEMPIERE-1150 Status Line window
INSERT INTO AD_Window (Processing,WindowType,IsSOTrx,IsDefault,WinHeight,IsBetaFunctionality,WinWidth,EntityType,Name,AD_Window_ID,AD_Window_UU,Created,Updated,AD_Org_ID,IsActive,UpdatedBy,CreatedBy,AD_Client_ID) VALUES ('N','M','Y','N',0,'N',0,'D','Status Line',200049,'8847fa98-d9d7-43b5-a910-f10f9034a7b0',TO_DATE('2014-01-12 15:22:52','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:22:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',100,100,0)
;
-- Jan 12, 2014 3:22:56 PM COT
INSERT INTO AD_Table (ImportTable,CopyColumnsFromTable,IsSecurityEnabled,AccessLevel,LoadSeq,AD_Window_ID,AD_Table_ID,IsHighVolume,IsView,IsChangeLog,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Name,IsActive,CreatedBy,Updated,UpdatedBy,Created,AD_Client_ID,Processing,EntityType,AD_Org_ID) VALUES ('N','N','N','4',0,200049,200107,'N','N','Y','L','088ac05d-ec44-41ec-87f1-406da2cc4c34','Y','Y','AD_StatusLine','Status Line','Y',100,TO_DATE('2014-01-12 15:22:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:22:55','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0)
;
-- Jan 12, 2014 3:22:58 PM COT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,StartNo,AD_Client_ID) VALUES ('N',200000,'Y',1000000,'N','Y',200155,'Table AD_StatusLine','AD_StatusLine',1,'1bc91406-9381-440a-a014-ce9d471fc650',0,TO_DATE('2014-01-12 15:22:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:22:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',1000000,0)
;
-- Jan 12, 2014 3:23:01 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLine_ID',202635,'Status Line','Status Line','98650fe7-ec21-43e6-970e-fac282926066',TO_DATE('2014-01-12 15:22:58','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:22:58','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:05 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210898,'Y','N','N','N',22,'N','Y','N','Y','8f8b3b0b-c822-40e9-9762-ae63a4b1e3d8','N','AD_StatusLine_ID','Status Line','N',TO_DATE('2014-01-12 15:23:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:02','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202635,13,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:05 PM COT
CREATE TABLE AD_StatusLine (AD_StatusLine_ID NUMBER(10) NOT NULL, CONSTRAINT AD_StatusLine_Key PRIMARY KEY (AD_StatusLine_ID))
;
-- Jan 12, 2014 3:23:08 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210899,'Y','N','N','N',22,'N','N','1=1','N','Y','706e1423-ed75-4019-ba3f-37e6057f4b46','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',TO_DATE('2014-01-12 15:23:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:05','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADClient_ADStatusLine','N',102,19,200107,129,0,0,'D')
;
-- Jan 12, 2014 3:23:08 PM COT
ALTER TABLE AD_StatusLine ADD AD_Client_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:10 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210900,'Y','N','N','N',22,'N','N','N','Y','63376a3d-e493-46d3-9d0b-3fcba268ccf9','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',TO_DATE('2014-01-12 15:23:08','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:08','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADOrg_ADStatusLine','N',113,19,200107,104,0,0,'D')
;
-- Jan 12, 2014 3:23:10 PM COT
ALTER TABLE AD_StatusLine ADD AD_Org_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:12 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLine_UU',202636,'AD_StatusLine_UU','AD_StatusLine_UU','c014d151-29f5-4182-83d6-c0c752acdc67',TO_DATE('2014-01-12 15:23:10','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:23:10','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:15 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210901,'N','N','N','N',36,'N','N','N','Y','7694bf6d-043a-45a6-ace0-ba396d77bb86','Y','AD_StatusLine_UU','AD_StatusLine_UU','N',TO_DATE('2014-01-12 15:23:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:12','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202636,10,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:15 PM COT
ALTER TABLE AD_StatusLine ADD AD_StatusLine_UU VARCHAR2(36) DEFAULT NULL
;
-- Jan 12, 2014 3:23:15 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT AD_StatusLine_UU_idx UNIQUE (AD_StatusLine_UU)
;
-- Jan 12, 2014 3:23:17 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210902,'Y','N','N','N',7,'N','N','N','Y','6d011fcb-a04e-4764-bdc1-5d99d274961f','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',TO_DATE('2014-01-12 15:23:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:15','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',245,16,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:17 PM COT
ALTER TABLE AD_StatusLine ADD Created DATE NOT NULL
;
-- Jan 12, 2014 3:23:19 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210903,'Y','N','N','N',22,'N','N','N','Y','0722a218-8972-481d-a2c6-fb35bba96c03','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',TO_DATE('2014-01-12 15:23:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:17','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','CreatedBy_ADStatusLine','N',246,18,110,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:19 PM COT
ALTER TABLE AD_StatusLine ADD CreatedBy NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:20 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210904,'Y','N','N',0,'N',40,'N','N','@EntityType@=D','N','Y','99e1b16a-694e-45ab-8838-de6f6213cc26','Y','EntityType','Dictionary Entity Type; Determines ownership and synchronization','D','The Entity Types "Dictionary", "iDempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
For customizations, copy the entity and select "User"!','Entity Type','Y',TO_DATE('2014-01-12 15:23:19','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:19','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','EntityType_ADStatusLine','N',1682,18,389,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:20 PM COT
ALTER TABLE AD_StatusLine ADD EntityType VARCHAR2(40) DEFAULT 'D' NOT NULL
;
-- Jan 12, 2014 3:23:21 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210905,'Y','N','N','N',1,'N','N','N','Y','5f2b1bd6-167c-4615-92ff-4b7b404b752a','Y','IsActive','The record is active in the system','Y','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.','Active','N',TO_DATE('2014-01-12 15:23:20','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:20','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',348,20,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:21 PM COT
ALTER TABLE AD_StatusLine ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:23 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210906,'Y','N','Y',1,'N',60,'Y','N','N','Y','9cfc31eb-769b-4402-b2ba-1e9061bc5e1b','Y','Name','Alphanumeric identifier of the entity','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.','Name','Y',TO_DATE('2014-01-12 15:23:21','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:21','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',469,10,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:23 PM COT
ALTER TABLE AD_StatusLine ADD Name VARCHAR2(60) NOT NULL
;
-- Jan 12, 2014 3:23:25 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210907,'Y','N','N','N',7,'N','N','N','Y','9d6674e9-d2cc-4ddd-abd4-1fc041d1a81e','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',TO_DATE('2014-01-12 15:23:23','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:23','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',607,16,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:25 PM COT
ALTER TABLE AD_StatusLine ADD Updated DATE NOT NULL
;
-- Jan 12, 2014 3:23:27 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210908,'Y','N','N','N',22,'N','N','N','Y','f3c90cf1-75d1-431a-981b-4ee1a8fa1693','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',TO_DATE('2014-01-12 15:23:25','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:25','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','UpdatedBy_ADStatusLine','N',608,18,110,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:27 PM COT
ALTER TABLE AD_StatusLine ADD UpdatedBy NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:29 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210909,'Y','N','N',0,'N',22,'N','N','N','Y','b21ad355-68a2-4d40-b681-7f09e90f3140','Y','AD_Message_ID','System Message','Information and Error messages','Message','Y',TO_DATE('2014-01-12 15:23:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:27','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADMessage_ADStatusLine','N',1752,19,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:29 PM COT
ALTER TABLE AD_StatusLine ADD AD_Message_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:31 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210910,'Y','N','N',0,'N',2000,'N','N','N','Y','09ed0f8f-3ea3-4e03-9738-5dccaceeac66','Y','SQLStatement','SQLStatement','Y',TO_DATE('2014-01-12 15:23:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:29','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',50028,14,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:31 PM COT
ALTER TABLE AD_StatusLine ADD SQLStatement VARCHAR2(2000) NOT NULL
;
-- Jan 12, 2014 3:23:33 PM COT
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID,AD_Table_ID) VALUES ('N','N','Y',200049,10,'N','N','N','N','N','Y','N',0,'0cd0bd95-f7c8-44a8-b8af-0a06c3c198d2','D','Status Line',200114,0,TO_DATE('2014-01-12 15:23:31','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:31','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200107)
;
-- Jan 12, 2014 3:23:35 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',0,'Y',202559,'N','Status Line','843a1fee-c479-496d-8c31-4065db96d145','N','N',100,TO_DATE('2014-01-12 15:23:33','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:33','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210898,'D',0)
;
-- Jan 12, 2014 3:23:35 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,36,'N','N',0,'Y',202560,'N','AD_StatusLine_UU','e4413182-f072-4f49-89da-8cfeec9320c2','N','N',100,TO_DATE('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210901,'D',0)
;
-- Jan 12, 2014 3:23:36 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',10,'Y',202561,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client/Tenant for this installation.','Client','5a9bfebe-6ebc-4d8f-b0f0-36e56d84c64d','Y','N',100,TO_DATE('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210899,'D',0)
;
-- Jan 12, 2014 3:23:36 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,IsAllowCopy,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'Y','N',20,'Y',202562,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organizational entity within client','Organization','218d3b22-9140-4767-8377-5341a1835f23','Y','N','Y',100,TO_DATE('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),'Y','N',4,'N',0,2,1,'N','N',210900,'D',0)
;
-- Jan 12, 2014 3:23:37 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,60,'N','N',30,'Y',202563,'N','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.','Alphanumeric identifier of the entity','Name','f9f9be63-f2be-49c0-a222-f70f344e9634','Y','N',100,TO_DATE('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,5,1,'N','N',210906,'D',0)
;
-- Jan 12, 2014 3:23:38 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',40,'Y',202564,'N','Information and Error messages','System Message','Message','8e401333-ae4a-49ad-b521-6b4ead4e0a0e','Y','N',100,TO_DATE('2014-01-12 15:23:37','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:37','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,5,1,'N','N',210909,'D',0)
;
-- Jan 12, 2014 3:23:38 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,2000,'N','N',50,'Y',202565,'N','SQLStatement','6adc7d7f-573c-4728-b380-2ac97b2e1f30','Y','N',100,TO_DATE('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,1,'N',0,5,8,'N','N',210910,'D',0)
;
-- Jan 12, 2014 3:23:39 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,10,'N','N',60,'Y',202566,'N','The Entity Types "Dictionary", "iDempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
For customizations, copy the entity and select "User"!','Dictionary Entity Type; Determines ownership and synchronization','Entity Type','b87e9e3e-a3b0-47e2-9fe8-3d88ea06b9a6','Y','N',100,TO_DATE('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),'Y','Y',40,1,'N',0,2,1,'N','N',210904,'D',0)
;
-- Jan 12, 2014 3:23:39 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,1,'Y','N',70,'Y',202567,'N','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.','The record is active in the system','Active','03586f0e-8ac7-4b9b-b6c5-7c0f217259ec','Y','N',100,TO_DATE('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),'Y','Y',50,5,'N',0,2,1,'N','N',210905,'D',0)
;
-- Jan 12, 2014 3:23:40 PM COT
INSERT INTO AD_Table (ImportTable,CopyColumnsFromTable,IsSecurityEnabled,AccessLevel,LoadSeq,AD_Window_ID,AD_Table_ID,IsHighVolume,IsView,IsChangeLog,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Name,IsActive,CreatedBy,Updated,UpdatedBy,Created,AD_Client_ID,Processing,EntityType,AD_Org_ID) VALUES ('N','N','N','4',0,200049,200108,'N','N','Y','L','0442ac38-5ff3-48c1-9c3c-2bb2d33d0846','Y','Y','AD_StatusLineUsedIn','Status Line used in','Y',100,TO_DATE('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0)
;
-- Jan 12, 2014 3:23:40 PM COT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,StartNo,AD_Client_ID) VALUES ('N',200000,'Y',1000000,'N','Y',200156,'Table AD_StatusLineUsedIn','AD_StatusLineUsedIn',1,'50c5eacc-8dbb-44f5-b185-1ecf8171cdf9',0,TO_DATE('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',1000000,0)
;
-- Jan 12, 2014 3:23:41 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLineUsedIn_ID',202637,'AD_StatusLineUsedIn','AD_StatusLineUsedIn','254cf4f8-3aad-4390-8a8a-30f8f2e6eae7',TO_DATE('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:41 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210911,'Y','N','N','N',22,'N','Y','N','Y','630ce21f-1b9d-4920-9409-5cab09dcd096','N','AD_StatusLineUsedIn_ID','AD_StatusLineUsedIn','N',TO_DATE('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202637,13,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:41 PM COT
CREATE TABLE AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID NUMBER(10) NOT NULL, CONSTRAINT AD_StatusLineUsedIn_Key PRIMARY KEY (AD_StatusLineUsedIn_ID))
;
-- Jan 12, 2014 3:23:42 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210912,'Y','N','N','N',22,'N','N','1=1','N','Y','a9497823-8c58-45a2-bfe3-cb5d04843dd4','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',TO_DATE('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADClient_ADStatusLineUsedIn','N',102,19,200108,129,0,0,'D')
;
-- Jan 12, 2014 3:23:42 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_Client_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:43 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210913,'Y','N','N','N',22,'N','N','N','Y','2f4dca6b-dd61-4547-b67c-f4a459b055fe','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',TO_DATE('2014-01-12 15:23:42','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:42','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADOrg_ADStatusLineUsedIn','N',113,19,200108,104,0,0,'D')
;
-- Jan 12, 2014 3:23:43 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_Org_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:43 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLineUsedIn_UU',202638,'AD_StatusLineUsedIn_UU','AD_StatusLineUsedIn_UU','7c48afac-dc95-4c12-9648-292bb52fe445',TO_DATE('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210914,'N','N','N','N',36,'N','N','N','Y','ed3b4567-2c6b-4e83-aeae-64f63295b58a','Y','AD_StatusLineUsedIn_UU','AD_StatusLineUsedIn_UU','N',TO_DATE('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202638,10,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_StatusLineUsedIn_UU VARCHAR2(36) DEFAULT NULL
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT AD_StatusLineUsedIn_UU_idx UNIQUE (AD_StatusLineUsedIn_UU)
;
-- Jan 12, 2014 3:23:44 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210915,'Y','N','N',0,'Y',22,'N','N','N','Y','3b1528dc-c428-400c-8600-980ec93759e9','N','AD_StatusLine_ID','Status Line','Y',TO_DATE('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADStatusLine_ADStatusLineUsedI','N',202635,30,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_StatusLine_ID NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:45 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210916,'Y','N','N','N',7,'N','N','N','Y','b37ddd58-36c2-47a7-bd7f-0870c8e7dd20','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',TO_DATE('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',245,16,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:45 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD Created DATE NOT NULL
;
-- Jan 12, 2014 3:23:46 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210917,'Y','N','N','N',22,'N','N','N','Y','d8dd22a4-568a-45ce-9f3b-112f58fd5341','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',TO_DATE('2014-01-12 15:23:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:45','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','CreatedBy_ADStatusLineUsedIn','N',246,18,110,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:46 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CreatedBy NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:46 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210918,'Y','N','N','N',1,'N','N','N','Y','602735af-0851-4914-843b-e183e3770e8f','Y','IsActive','The record is active in the system','Y','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.','Active','N',TO_DATE('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',348,20,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:46 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:47 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210919,'Y','N','N','N',7,'N','N','N','Y','9d687961-5fc4-459c-ac62-408372e6400c','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',TO_DATE('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',607,16,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:47 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD Updated DATE NOT NULL
;
-- Jan 12, 2014 3:23:48 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210920,'Y','N','N','N',22,'N','N','N','Y','f66886c6-30d4-4a00-bbce-73229ca24ed3','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',TO_DATE('2014-01-12 15:23:47','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:47','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','UpdatedBy_ADStatusLineUsedIn','N',608,18,110,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:48 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD UpdatedBy NUMBER(10) NOT NULL
;
-- Jan 12, 2014 3:23:49 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210921,'N','N','N',0,'N',22,'N','N','N','Y','3779a8f3-ca5b-430c-b022-8fb876bc111e','Y','AD_Window_ID','Data entry or display window','The Window field identifies a unique Window in the system.','Window','Y',TO_DATE('2014-01-12 15:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:48','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADWindow_ADStatusLineUsedIn','N',143,19,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:49 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_Window_ID NUMBER(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:50 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210922,'N','N','N',0,'N',10,'N','N','N','Y','79c55587-62e5-47dc-aa63-e1e2d36f8aea','Y','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',TO_DATE('2014-01-12 15:23:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:49','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADTab_ADStatusLineUsedIn','N',125,19,200108,163,0,0,'D')
;
-- Jan 12, 2014 3:23:50 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_Tab_ID NUMBER(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:50 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Help,Name,Description,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('IsStatusLine',202639,'If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Status Line','Defines if this record refers to a status line or to a help widget','Status Line','2ec77e53-9733-40fe-8579-9d2080be9ec5',TO_DATE('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:51 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210923,'Y','N','N',0,'N',1,'N','N','N','Y','fcae468b-c00f-4944-ba95-0929da77057e','Y','IsStatusLine','Defines if this record refers to a status line or to a help widget','Y','If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Status Line','Y',TO_DATE('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202639,20,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:51 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD IsStatusLine CHAR(1) DEFAULT 'Y' CHECK (IsStatusLine IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:52 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210924,'N','N','N',0,'N',22,'N','N','N','Y','f5238112-0fbd-4ec5-9ad8-419baa7e7609','Y','SeqNo','Method of ordering records; lowest number comes first','The Sequence indicates the order of records','Sequence','Y',TO_DATE('2014-01-12 15:23:51','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:51','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',566,11,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:52 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD SeqNo NUMBER(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:52 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210925,'N','N','N',0,'N',10,'N','N','N','Y','d0fb6046-4e44-468f-9509-59312ad15065','Y','AD_Table_ID','Database Table information','The Database Table provides the information of the table definition','Table','Y',TO_DATE('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADTable_ADStatusLineUsedIn','N',126,19,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:52 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD AD_Table_ID NUMBER(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:53 PM COT
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID,AD_Table_ID) VALUES ('N','N','Y',200049,30,'N','N','N','N','N','Y','N',1,'c48e09b9-ca7a-4734-8385-da33d75f9b2b','D','Used In',200115,0,TO_DATE('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200108)
;
-- Jan 12, 2014 3:23:54 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,36,'N','N',0,'Y',202568,'N','AD_StatusLineUsedIn_UU','08519b29-fc8c-4d0f-832d-809c6e32d2cd','N','N',100,TO_DATE('2014-01-12 15:23:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:53','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210914,'D',0)
;
-- Jan 12, 2014 3:23:55 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',0,'Y',202569,'N','AD_StatusLineUsedIn','c61bd9d9-61fe-48db-922b-6f538d006734','N','N',100,TO_DATE('2014-01-12 15:23:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:54','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210911,'D',0)
;
-- Jan 12, 2014 3:23:56 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',10,'Y',202570,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client/Tenant for this installation.','Client','0143b368-78a3-49b4-935f-2ff6ed7e3ada','Y','N',100,TO_DATE('2014-01-12 15:23:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:55','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210912,'D',0)
;
-- Jan 12, 2014 3:23:58 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,IsAllowCopy,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'Y','N',20,'Y',202571,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organizational entity within client','Organization','64f4c901-a2d7-4d41-a13f-b85225256660','Y','N','Y',100,TO_DATE('2014-01-12 15:23:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:56','YYYY-MM-DD HH24:MI:SS'),'Y','N',4,'N',0,2,1,'N','N',210913,'D',0)
;
-- Jan 12, 2014 3:23:59 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',30,'Y',202572,'N','Status Line','8d6bfcc5-7951-47ee-937c-3766a26fc4d7','Y','N',100,TO_DATE('2014-01-12 15:23:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:58','YYYY-MM-DD HH24:MI:SS'),'Y','N',0,1,'N',0,5,1,'N','N',210915,'D',0)
;
-- Jan 12, 2014 3:24:00 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,10,'N','N',40,'Y',202573,'N','The Database Table provides the information of the table definition','@AD_Window_ID@=0','Database Table information','Table','6b573a8f-5dd7-43d1-bd88-20558297716a','Y','N',100,TO_DATE('2014-01-12 15:23:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:23:59','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,2,1,'N','N',210925,'D',0)
;
-- Jan 12, 2014 3:24:01 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',50,'Y',202574,'N','The Window field identifies a unique Window in the system.','@AD_Table_ID@=0','Data entry or display window','Window','81b65c87-88a9-447d-be31-5bad473c675f','Y','N',100,TO_DATE('2014-01-12 15:24:00','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:24:00','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,2,1,'N','N',210921,'D',0)
;
-- Jan 12, 2014 3:24:02 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,10,'N','N',60,'Y',202575,'N','The Tab indicates a tab that displays within a window.','@AD_Table_ID@=0','Tab within a Window','Tab','882010d2-2c6e-4b5c-b268-84e6bb1afbdd','Y','N',100,TO_DATE('2014-01-12 15:24:01','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:24:01','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,4,'N',0,2,1,'N','N',210922,'D',0)
;
-- Jan 12, 2014 3:24:03 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,1,'N','N',70,'Y',202576,'N','If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Defines if this record refers to a status line or to a help widget','Status Line','eb939c76-a6df-4f0f-bded-8ef79c747b99','Y','N',100,TO_DATE('2014-01-12 15:24:02','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:24:02','YYYY-MM-DD HH24:MI:SS'),'Y','Y',40,2,'N',0,2,1,'N','N',210923,'D',0)
;
-- Jan 12, 2014 3:24:04 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',80,'Y',202577,'N','The Sequence indicates the order of records','@IsStatusLine@=N','Method of ordering records; lowest number comes first','Sequence','48f82bf7-9967-4a3e-8f96-373ad7708f25','Y','N',100,TO_DATE('2014-01-12 15:24:03','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:24:03','YYYY-MM-DD HH24:MI:SS'),'Y','Y',50,4,'N',0,2,1,'N','N',210924,'D',0)
;
-- Jan 12, 2014 3:24:05 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,1,'N','N',90,'Y',202578,'N','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.','The record is active in the system','Active','db7d1ee6-0bd9-43d7-86cb-c2395dedde4c','Y','N',100,TO_DATE('2014-01-12 15:24:04','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2014-01-12 15:24:04','YYYY-MM-DD HH24:MI:SS'),'Y','Y',60,2,'N',0,2,1,'N','N',210918,'D',0)
;
-- Jan 12, 2014 3:24:06 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200000,0,0,'6f551ab3-bbbd-431a-8a0d-168e48d3057c',TO_DATE('2014-01-12 15:24:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OrderSummary',TO_DATE('2014-01-12 15:24:05','YYYY-MM-DD HH24:MI:SS'),100,377,'SELECT COUNT(DISTINCT C_OrderLine_ID) AS Lines,o.TotalLines,o.GrandTotal,c.ISO_Code, currencyBase(o.GrandTotal,o.C_Currency_ID,o.DateAcct, o.AD_Client_ID,o.AD_Org_ID) AS ConvAmt
FROM C_Order o
INNER JOIN C_Currency c ON (o.C_Currency_ID=c.C_Currency_ID)
LEFT JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID)
WHERE o.C_Order_ID=@C_Order_ID@
GROUP BY o.C_Currency_ID, c.ISO_Code, o.TotalLines, o.GrandTotal, o.DateAcct, o.AD_Client_ID, o.AD_Org_ID')
;
-- Jan 12, 2014 3:24:07 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200001,0,0,'cf2ade0c-a71b-4b86-8311-6afef2071e1d',TO_DATE('2014-01-12 15:24:06','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','InvoiceBatchSummary',TO_DATE('2014-01-12 15:24:06','YYYY-MM-DD HH24:MI:SS'),100,828,'SELECT COUNT(*), NVL(SUM(LineNetAmt),0), NVL(SUM(LineTotalAmt),0)
FROM C_InvoiceBatchLine
WHERE C_InvoiceBatch_ID=@C_InvoiceBatch_ID@ AND IsActive=''Y''')
;
-- Jan 12, 2014 3:24:08 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200002,0,0,'52d85f09-f71b-4f7b-abb1-a4161891bb36',TO_DATE('2014-01-12 15:24:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','InvoiceSummary',TO_DATE('2014-01-12 15:24:07','YYYY-MM-DD HH24:MI:SS'),100,377,'SELECT COUNT(DISTINCT C_InvoiceLine_ID) AS Lines,o.TotalLines,o.GrandTotal,c.ISO_Code, currencyBase(o.GrandTotal,o.C_Currency_ID,o.DateAcct, o.AD_Client_ID,o.AD_Org_ID) AS ConvAmt
FROM C_Invoice o
INNER JOIN C_Currency c ON (o.C_Currency_ID=c.C_Currency_ID)
LEFT JOIN C_InvoiceLine l ON (o.C_Invoice_ID=l.C_Invoice_ID)
WHERE o.C_Invoice_ID=@C_Invoice_ID@
GROUP BY o.C_Currency_ID, c.ISO_Code, o.TotalLines, o.GrandTotal, o.DateAcct, o.AD_Client_ID, o.AD_Org_ID')
;
-- Jan 12, 2014 3:24:09 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200003,0,0,'aed8f503-ef80-4b4c-9947-99abf3667c66',TO_DATE('2014-01-12 15:24:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ExpenseSummary',TO_DATE('2014-01-12 15:24:08','YYYY-MM-DD HH24:MI:SS'),100,623,'SELECT COUNT(*) AS Lines, SUM(ConvertedAmt*Qty), '' ''
FROM S_TimeExpenseLine
WHERE S_TimeExpense_ID=@S_TimeExpense_ID@')
;
-- Jan 12, 2014 3:24:10 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200000,0,0,'15df6822-bf23-4943-89f0-647a4901c402',200000,TO_DATE('2014-01-12 15:24:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,259)
;
-- Jan 12, 2014 3:24:11 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200001,0,0,'60ec0af6-338c-4ddd-b073-152283b40925',200000,TO_DATE('2014-01-12 15:24:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,260)
;
-- Jan 12, 2014 3:24:12 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200002,0,0,'1aab8980-db93-4bb2-899e-941af8b25637',200000,TO_DATE('2014-01-12 15:24:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200103)
;
-- Jan 12, 2014 3:24:12 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200003,0,0,'64e64e3f-2153-42a5-b077-65204d82966c',200000,TO_DATE('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200104)
;
-- Jan 12, 2014 3:24:13 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200004,0,0,'e4edfa4a-31e1-472c-a639-6162fa6771e3',200000,TO_DATE('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,53296)
;
-- Jan 12, 2014 3:24:14 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200005,0,0,'ab2e8306-d1ad-4b29-a25e-fa59d5b77c34',200000,TO_DATE('2014-01-12 15:24:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,314)
;
-- Jan 12, 2014 3:24:15 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200006,0,0,'f4b7d51c-3ab6-48f2-9884-abd644655ebc',200001,TO_DATE('2014-01-12 15:24:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,767)
;
-- Jan 12, 2014 3:24:15 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200007,0,0,'eb0594d6-c14e-4b1c-9839-e60bd4f1b97d',200001,TO_DATE('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,768)
;
-- Jan 12, 2014 3:24:16 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200008,0,0,'c1e3e096-8be2-43ca-84c3-b39bbf129238',200002,TO_DATE('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,318)
;
-- Jan 12, 2014 3:24:16 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200009,0,0,'62ad5b5d-b969-49bf-bba1-8b8e24cfad00',200002,TO_DATE('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,333)
;
-- Jan 12, 2014 3:24:17 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200010,0,0,'9e794307-756e-4bec-bd02-9cdae55570c3',200002,TO_DATE('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,551)
;
-- Jan 12, 2014 3:24:18 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200011,0,0,'10ad2e85-34b6-480c-8a6e-8934dd0aec23',200002,TO_DATE('2014-01-12 15:24:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,334)
;
-- Jan 12, 2014 3:24:18 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,AD_Window_ID,AD_Tab_ID,IsStatusLine,SeqNo) VALUES (200012,0,0,'fcb6d37c-8015-4d91-b01c-8deb35e6b31a',200003,TO_DATE('2014-01-12 15:24:18','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2014-01-12 15:24:18','YYYY-MM-DD HH24:MI:SS'),100,235,412,'Y',0)
;
-- Jan 12, 2014 3:24:19 PM COT
UPDATE AD_Message SET MsgText='{0,choice,0#No Lines|1#1 Line|1<{0} Lines} - {1,number,#,##0.00} - Total: {2,number,#,##0.00} {3} = {4,number,#,##0.00}', Updated=TO_DATE('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=377
;
UPDATE AD_Message_Trl SET MsgText='{0,choice,0#Sin Líneas|1#1 Línea|1<{0} Líneas} - {1,number,#,##0.00} - Total: {2,number,#,##0.00} {3} = {4,number,#,##0.00}' WHERE AD_Message_ID=377 AND AD_Language LIKE 'es_%'
;
-- Jan 12, 2014 3:24:19 PM COT
INSERT INTO AD_Menu (AD_Window_ID,AD_Menu_ID,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,Name,AD_Menu_UU,Action,IsActive,CreatedBy,Updated,Created,UpdatedBy,AD_Client_ID,AD_Org_ID) VALUES (200049,200072,'N','N','N','D','Y','Status Line','39478137-c380-4d3b-9892-b305d91e9f5a','W','Y',100,TO_DATE('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),100,0,0)
;
-- Jan 12, 2014 3:24:19 PM COT
INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 153,19, 10, 200072)
;
-- Jan 12, 2014 3:33:34 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADClient_ADStatusLine FOREIGN KEY (AD_Client_ID) REFERENCES ad_client(ad_client_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:34 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADOrg_ADStatusLine FOREIGN KEY (AD_Org_ID) REFERENCES ad_org(ad_org_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT CreatedBy_ADStatusLine FOREIGN KEY (CreatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT EntityType_ADStatusLine FOREIGN KEY (EntityType) REFERENCES ad_entitytype(entitytype) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT UpdatedBy_ADStatusLine FOREIGN KEY (UpdatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADMessage_ADStatusLine FOREIGN KEY (AD_Message_ID) REFERENCES ad_message(ad_message_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADClient_ADStatusLineUsedIn FOREIGN KEY (AD_Client_ID) REFERENCES ad_client(ad_client_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADOrg_ADStatusLineUsedIn FOREIGN KEY (AD_Org_ID) REFERENCES ad_org(ad_org_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADStatusLine_ADStatusLineUsedI FOREIGN KEY (AD_StatusLine_ID) REFERENCES ad_statusline(ad_statusline_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT CreatedBy_ADStatusLineUsedIn FOREIGN KEY (CreatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT UpdatedBy_ADStatusLineUsedIn FOREIGN KEY (UpdatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADWindow_ADStatusLineUsedIn FOREIGN KEY (AD_Window_ID) REFERENCES ad_window(ad_window_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADTab_ADStatusLineUsedIn FOREIGN KEY (AD_Tab_ID) REFERENCES ad_tab(ad_tab_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADTable_ADStatusLineUsedIn FOREIGN KEY (AD_Table_ID) REFERENCES ad_table(ad_table_id) DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('201401121525_IDEMPIERE-1150.sql') FROM dual
;

View File

@ -0,0 +1,533 @@
-- Jan 12, 2014 3:22:55 PM COT
-- IDEMPIERE-1150 Status Line window
INSERT INTO AD_Window (Processing,WindowType,IsSOTrx,IsDefault,WinHeight,IsBetaFunctionality,WinWidth,EntityType,Name,AD_Window_ID,AD_Window_UU,Created,Updated,AD_Org_ID,IsActive,UpdatedBy,CreatedBy,AD_Client_ID) VALUES ('N','M','Y','N',0,'N',0,'D','Status Line',200049,'8847fa98-d9d7-43b5-a910-f10f9034a7b0',TO_TIMESTAMP('2014-01-12 15:22:52','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:22:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',100,100,0)
;
-- Jan 12, 2014 3:22:56 PM COT
INSERT INTO AD_Table (ImportTable,CopyColumnsFromTable,IsSecurityEnabled,AccessLevel,LoadSeq,AD_Window_ID,AD_Table_ID,IsHighVolume,IsView,IsChangeLog,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Name,IsActive,CreatedBy,Updated,UpdatedBy,Created,AD_Client_ID,Processing,EntityType,AD_Org_ID) VALUES ('N','N','N','4',0,200049,200107,'N','N','Y','L','088ac05d-ec44-41ec-87f1-406da2cc4c34','Y','Y','AD_StatusLine','Status Line','Y',100,TO_TIMESTAMP('2014-01-12 15:22:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:22:55','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0)
;
-- Jan 12, 2014 3:22:58 PM COT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,StartNo,AD_Client_ID) VALUES ('N',200000,'Y',1000000,'N','Y',200155,'Table AD_StatusLine','AD_StatusLine',1,'1bc91406-9381-440a-a014-ce9d471fc650',0,TO_TIMESTAMP('2014-01-12 15:22:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:22:56','YYYY-MM-DD HH24:MI:SS'),100,'Y',1000000,0)
;
-- Jan 12, 2014 3:23:01 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLine_ID',202635,'Status Line','Status Line','98650fe7-ec21-43e6-970e-fac282926066',TO_TIMESTAMP('2014-01-12 15:22:58','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:22:58','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:05 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210898,'Y','N','N','N',22,'N','Y','N','Y','8f8b3b0b-c822-40e9-9762-ae63a4b1e3d8','N','AD_StatusLine_ID','Status Line','N',TO_TIMESTAMP('2014-01-12 15:23:02','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:02','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202635,13,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:05 PM COT
CREATE TABLE AD_StatusLine (AD_StatusLine_ID NUMERIC(10) NOT NULL, CONSTRAINT AD_StatusLine_Key PRIMARY KEY (AD_StatusLine_ID))
;
-- Jan 12, 2014 3:23:08 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210899,'Y','N','N','N',22,'N','N','1=1','N','Y','706e1423-ed75-4019-ba3f-37e6057f4b46','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',TO_TIMESTAMP('2014-01-12 15:23:05','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:05','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADClient_ADStatusLine','N',102,19,200107,129,0,0,'D')
;
-- Jan 12, 2014 3:23:08 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:10 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210900,'Y','N','N','N',22,'N','N','N','Y','63376a3d-e493-46d3-9d0b-3fcba268ccf9','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',TO_TIMESTAMP('2014-01-12 15:23:08','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:08','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADOrg_ADStatusLine','N',113,19,200107,104,0,0,'D')
;
-- Jan 12, 2014 3:23:10 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:12 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLine_UU',202636,'AD_StatusLine_UU','AD_StatusLine_UU','c014d151-29f5-4182-83d6-c0c752acdc67',TO_TIMESTAMP('2014-01-12 15:23:10','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:23:10','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:15 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210901,'N','N','N','N',36,'N','N','N','Y','7694bf6d-043a-45a6-ace0-ba396d77bb86','Y','AD_StatusLine_UU','AD_StatusLine_UU','N',TO_TIMESTAMP('2014-01-12 15:23:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:12','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202636,10,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:15 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN AD_StatusLine_UU VARCHAR(36) DEFAULT NULL
;
-- Jan 12, 2014 3:23:15 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT AD_StatusLine_UU_idx UNIQUE (AD_StatusLine_UU)
;
-- Jan 12, 2014 3:23:17 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210902,'Y','N','N','N',7,'N','N','N','Y','6d011fcb-a04e-4764-bdc1-5d99d274961f','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',TO_TIMESTAMP('2014-01-12 15:23:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:15','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',245,16,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:17 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN Created TIMESTAMP NOT NULL
;
-- Jan 12, 2014 3:23:19 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210903,'Y','N','N','N',22,'N','N','N','Y','0722a218-8972-481d-a2c6-fb35bba96c03','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',TO_TIMESTAMP('2014-01-12 15:23:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:17','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','CreatedBy_ADStatusLine','N',246,18,110,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:19 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:20 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210904,'Y','N','N',0,'N',40,'N','N','@EntityType@=D','N','Y','99e1b16a-694e-45ab-8838-de6f6213cc26','Y','EntityType','Dictionary Entity Type; Determines ownership and synchronization','D','The Entity Types "Dictionary", "iDempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
For customizations, copy the entity and select "User"!','Entity Type','Y',TO_TIMESTAMP('2014-01-12 15:23:19','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:19','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','EntityType_ADStatusLine','N',1682,18,389,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:20 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN EntityType VARCHAR(40) DEFAULT 'D' NOT NULL
;
-- Jan 12, 2014 3:23:21 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210905,'Y','N','N','N',1,'N','N','N','Y','5f2b1bd6-167c-4615-92ff-4b7b404b752a','Y','IsActive','The record is active in the system','Y','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.','Active','N',TO_TIMESTAMP('2014-01-12 15:23:20','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:20','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',348,20,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:21 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:23 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210906,'Y','N','Y',1,'N',60,'Y','N','N','Y','9cfc31eb-769b-4402-b2ba-1e9061bc5e1b','Y','Name','Alphanumeric identifier of the entity','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.','Name','Y',TO_TIMESTAMP('2014-01-12 15:23:21','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:21','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',469,10,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:23 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN Name VARCHAR(60) NOT NULL
;
-- Jan 12, 2014 3:23:25 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210907,'Y','N','N','N',7,'N','N','N','Y','9d6674e9-d2cc-4ddd-abd4-1fc041d1a81e','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',TO_TIMESTAMP('2014-01-12 15:23:23','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:23','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',607,16,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:25 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN Updated TIMESTAMP NOT NULL
;
-- Jan 12, 2014 3:23:27 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210908,'Y','N','N','N',22,'N','N','N','Y','f3c90cf1-75d1-431a-981b-4ee1a8fa1693','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',TO_TIMESTAMP('2014-01-12 15:23:25','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:25','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','UpdatedBy_ADStatusLine','N',608,18,110,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:27 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:29 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210909,'Y','N','N',0,'N',22,'N','N','N','Y','b21ad355-68a2-4d40-b681-7f09e90f3140','Y','AD_Message_ID','System Message','Information and Error messages','Message','Y',TO_TIMESTAMP('2014-01-12 15:23:27','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:27','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADMessage_ADStatusLine','N',1752,19,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:29 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN AD_Message_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:31 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210910,'Y','N','N',0,'N',2000,'N','N','N','Y','09ed0f8f-3ea3-4e03-9738-5dccaceeac66','Y','SQLStatement','SQLStatement','Y',TO_TIMESTAMP('2014-01-12 15:23:29','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:29','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',50028,14,200107,0,0,'D')
;
-- Jan 12, 2014 3:23:31 PM COT
ALTER TABLE AD_StatusLine ADD COLUMN SQLStatement VARCHAR(2000) NOT NULL
;
-- Jan 12, 2014 3:23:33 PM COT
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID,AD_Table_ID) VALUES ('N','N','Y',200049,10,'N','N','N','N','N','Y','N',0,'0cd0bd95-f7c8-44a8-b8af-0a06c3c198d2','D','Status Line',200114,0,TO_TIMESTAMP('2014-01-12 15:23:31','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:31','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200107)
;
-- Jan 12, 2014 3:23:35 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',0,'Y',202559,'N','Status Line','843a1fee-c479-496d-8c31-4065db96d145','N','N',100,TO_TIMESTAMP('2014-01-12 15:23:33','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:33','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210898,'D',0)
;
-- Jan 12, 2014 3:23:35 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,36,'N','N',0,'Y',202560,'N','AD_StatusLine_UU','e4413182-f072-4f49-89da-8cfeec9320c2','N','N',100,TO_TIMESTAMP('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210901,'D',0)
;
-- Jan 12, 2014 3:23:36 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',10,'Y',202561,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client/Tenant for this installation.','Client','5a9bfebe-6ebc-4d8f-b0f0-36e56d84c64d','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:35','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210899,'D',0)
;
-- Jan 12, 2014 3:23:36 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,IsAllowCopy,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'Y','N',20,'Y',202562,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organizational entity within client','Organization','218d3b22-9140-4767-8377-5341a1835f23','Y','N','Y',100,TO_TIMESTAMP('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),'Y','N',4,'N',0,2,1,'N','N',210900,'D',0)
;
-- Jan 12, 2014 3:23:37 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,60,'N','N',30,'Y',202563,'N','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.','Alphanumeric identifier of the entity','Name','f9f9be63-f2be-49c0-a222-f70f344e9634','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:36','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,5,1,'N','N',210906,'D',0)
;
-- Jan 12, 2014 3:23:38 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,22,'N','N',40,'Y',202564,'N','Information and Error messages','System Message','Message','8e401333-ae4a-49ad-b521-6b4ead4e0a0e','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:37','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:37','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,5,1,'N','N',210909,'D',0)
;
-- Jan 12, 2014 3:23:38 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,2000,'N','N',50,'Y',202565,'N','SQLStatement','6adc7d7f-573c-4728-b380-2ac97b2e1f30','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,1,'N',0,5,8,'N','N',210910,'D',0)
;
-- Jan 12, 2014 3:23:39 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,10,'N','N',60,'Y',202566,'N','The Entity Types "Dictionary", "iDempiere" and "Application" might be automatically synchronized and customizations deleted or overwritten.
For customizations, copy the entity and select "User"!','Dictionary Entity Type; Determines ownership and synchronization','Entity Type','b87e9e3e-a3b0-47e2-9fe8-3d88ea06b9a6','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:38','YYYY-MM-DD HH24:MI:SS'),'Y','Y',40,1,'N',0,2,1,'N','N',210904,'D',0)
;
-- Jan 12, 2014 3:23:39 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200114,1,'Y','N',70,'Y',202567,'N','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.','The record is active in the system','Active','03586f0e-8ac7-4b9b-b6c5-7c0f217259ec','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),'Y','Y',50,5,'N',0,2,1,'N','N',210905,'D',0)
;
-- Jan 12, 2014 3:23:40 PM COT
INSERT INTO AD_Table (ImportTable,CopyColumnsFromTable,IsSecurityEnabled,AccessLevel,LoadSeq,AD_Window_ID,AD_Table_ID,IsHighVolume,IsView,IsChangeLog,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Name,IsActive,CreatedBy,Updated,UpdatedBy,Created,AD_Client_ID,Processing,EntityType,AD_Org_ID) VALUES ('N','N','N','4',0,200049,200108,'N','N','Y','L','0442ac38-5ff3-48c1-9c3c-2bb2d33d0846','Y','Y','AD_StatusLineUsedIn','Status Line used in','Y',100,TO_TIMESTAMP('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:39','YYYY-MM-DD HH24:MI:SS'),0,'N','D',0)
;
-- Jan 12, 2014 3:23:40 PM COT
INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,StartNo,AD_Client_ID) VALUES ('N',200000,'Y',1000000,'N','Y',200156,'Table AD_StatusLineUsedIn','AD_StatusLineUsedIn',1,'50c5eacc-8dbb-44f5-b185-1ecf8171cdf9',0,TO_TIMESTAMP('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),100,'Y',1000000,0)
;
-- Jan 12, 2014 3:23:41 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLineUsedIn_ID',202637,'AD_StatusLineUsedIn','AD_StatusLineUsedIn','254cf4f8-3aad-4390-8a8a-30f8f2e6eae7',TO_TIMESTAMP('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:23:40','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:41 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210911,'Y','N','N','N',22,'N','Y','N','Y','630ce21f-1b9d-4920-9409-5cab09dcd096','N','AD_StatusLineUsedIn_ID','AD_StatusLineUsedIn','N',TO_TIMESTAMP('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202637,13,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:41 PM COT
CREATE TABLE AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID NUMERIC(10) NOT NULL, CONSTRAINT AD_StatusLineUsedIn_Key PRIMARY KEY (AD_StatusLineUsedIn_ID))
;
-- Jan 12, 2014 3:23:42 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,ReadOnlyLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210912,'Y','N','N','N',22,'N','N','1=1','N','Y','a9497823-8c58-45a2-bfe3-cb5d04843dd4','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',TO_TIMESTAMP('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:41','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADClient_ADStatusLineUsedIn','N',102,19,200108,129,0,0,'D')
;
-- Jan 12, 2014 3:23:42 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:43 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210913,'Y','N','N','N',22,'N','N','N','Y','2f4dca6b-dd61-4547-b67c-f4a459b055fe','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',TO_TIMESTAMP('2014-01-12 15:23:42','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:42','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADOrg_ADStatusLineUsedIn','N',113,19,200108,104,0,0,'D')
;
-- Jan 12, 2014 3:23:43 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:43 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Name,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('AD_StatusLineUsedIn_UU',202638,'AD_StatusLineUsedIn_UU','AD_StatusLineUsedIn_UU','7c48afac-dc95-4c12-9648-292bb52fe445',TO_TIMESTAMP('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210914,'N','N','N','N',36,'N','N','N','Y','ed3b4567-2c6b-4e83-aeae-64f63295b58a','Y','AD_StatusLineUsedIn_UU','AD_StatusLineUsedIn_UU','N',TO_TIMESTAMP('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:43','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202638,10,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_StatusLineUsedIn_UU VARCHAR(36) DEFAULT NULL
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT AD_StatusLineUsedIn_UU_idx UNIQUE (AD_StatusLineUsedIn_UU)
;
-- Jan 12, 2014 3:23:44 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210915,'Y','N','N',0,'Y',22,'N','N','N','Y','3b1528dc-c428-400c-8600-980ec93759e9','N','AD_StatusLine_ID','Status Line','Y',TO_TIMESTAMP('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADStatusLine_ADStatusLineUsedI','N',202635,30,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:44 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_StatusLine_ID NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:45 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210916,'Y','N','N','N',7,'N','N','N','Y','b37ddd58-36c2-47a7-bd7f-0870c8e7dd20','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',TO_TIMESTAMP('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',245,16,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:45 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN Created TIMESTAMP NOT NULL
;
-- Jan 12, 2014 3:23:46 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210917,'Y','N','N','N',22,'N','N','N','Y','d8dd22a4-568a-45ce-9f3b-112f58fd5341','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',TO_TIMESTAMP('2014-01-12 15:23:45','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:45','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','CreatedBy_ADStatusLineUsedIn','N',246,18,110,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:46 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:46 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210918,'Y','N','N','N',1,'N','N','N','Y','602735af-0851-4914-843b-e183e3770e8f','Y','IsActive','The record is active in the system','Y','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.','Active','N',TO_TIMESTAMP('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',348,20,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:46 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:47 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210919,'Y','N','N','N',7,'N','N','N','Y','9d687961-5fc4-459c-ac62-408372e6400c','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',TO_TIMESTAMP('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:46','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',607,16,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:47 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN Updated TIMESTAMP NOT NULL
;
-- Jan 12, 2014 3:23:48 PM COT
INSERT INTO AD_Column (IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES ('Y',1,210920,'Y','N','N','N',22,'N','N','N','Y','f66886c6-30d4-4a00-bbce-73229ca24ed3','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',TO_TIMESTAMP('2014-01-12 15:23:47','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:47','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','UpdatedBy_ADStatusLineUsedIn','N',608,18,110,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:48 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
;
-- Jan 12, 2014 3:23:49 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210921,'N','N','N',0,'N',22,'N','N','N','Y','3779a8f3-ca5b-430c-b022-8fb876bc111e','Y','AD_Window_ID','Data entry or display window','The Window field identifies a unique Window in the system.','Window','Y',TO_TIMESTAMP('2014-01-12 15:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:48','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADWindow_ADStatusLineUsedIn','N',143,19,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:49 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_Window_ID NUMERIC(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:50 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210922,'N','N','N',0,'N',10,'N','N','N','Y','79c55587-62e5-47dc-aa63-e1e2d36f8aea','Y','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',TO_TIMESTAMP('2014-01-12 15:23:49','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:49','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADTab_ADStatusLineUsedIn','N',125,19,200108,163,0,0,'D')
;
-- Jan 12, 2014 3:23:50 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_Tab_ID NUMERIC(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:50 PM COT
INSERT INTO AD_Element (ColumnName,AD_Element_ID,Help,Name,Description,PrintName,AD_Element_UU,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive,AD_Client_ID,EntityType) VALUES ('IsStatusLine',202639,'If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Status Line','Defines if this record refers to a status line or to a help widget','Status Line','2ec77e53-9733-40fe-8579-9d2080be9ec5',TO_TIMESTAMP('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y',0,'D')
;
-- Jan 12, 2014 3:23:51 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210923,'Y','N','N',0,'N',1,'N','N','N','Y','fcae468b-c00f-4944-ba95-0929da77057e','Y','IsStatusLine','Defines if this record refers to a status line or to a help widget','Y','If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Status Line','Y',TO_TIMESTAMP('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:50','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',202639,20,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:51 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN IsStatusLine CHAR(1) DEFAULT 'Y' CHECK (IsStatusLine IN ('Y','N')) NOT NULL
;
-- Jan 12, 2014 3:23:52 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210924,'N','N','N',0,'N',22,'N','N','N','Y','f5238112-0fbd-4ec5-9ad8-419baa7e7609','Y','SeqNo','Method of ordering records; lowest number comes first','The Sequence indicates the order of records','Sequence','Y',TO_TIMESTAMP('2014-01-12 15:23:51','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:51','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N',566,11,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:52 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN SeqNo NUMERIC(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:52 PM COT
INSERT INTO AD_Column (SeqNoSelection,IsSyncDatabase,Version,AD_Column_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,IsKey,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,Updated,CreatedBy,IsActive,Created,UpdatedBy,IsToolbarButton,IsAlwaysUpdateable,IsEncrypted,IsSecure,FKConstraintName,FKConstraintType,AD_Element_ID,AD_Reference_ID,AD_Table_ID,AD_Client_ID,AD_Org_ID,EntityType) VALUES (0,'Y',0,210925,'N','N','N',0,'N',10,'N','N','N','Y','d0fb6046-4e44-468f-9509-59312ad15065','Y','AD_Table_ID','Database Table information','The Database Table provides the information of the table definition','Table','Y',TO_TIMESTAMP('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','ADTable_ADStatusLineUsedIn','N',126,19,200108,0,0,'D')
;
-- Jan 12, 2014 3:23:52 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD COLUMN AD_Table_ID NUMERIC(10) DEFAULT NULL
;
-- Jan 12, 2014 3:23:53 PM COT
INSERT INTO AD_Tab (ImportFields,Processing,IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,AD_Client_ID,AD_Table_ID) VALUES ('N','N','Y',200049,30,'N','N','N','N','N','Y','N',1,'c48e09b9-ca7a-4734-8385-da33d75f9b2b','D','Used In',200115,0,TO_TIMESTAMP('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200108)
;
-- Jan 12, 2014 3:23:54 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,36,'N','N',0,'Y',202568,'N','AD_StatusLineUsedIn_UU','08519b29-fc8c-4d0f-832d-809c6e32d2cd','N','N',100,TO_TIMESTAMP('2014-01-12 15:23:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:53','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210914,'D',0)
;
-- Jan 12, 2014 3:23:55 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',0,'Y',202569,'N','AD_StatusLineUsedIn','c61bd9d9-61fe-48db-922b-6f538d006734','N','N',100,TO_TIMESTAMP('2014-01-12 15:23:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:54','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210911,'D',0)
;
-- Jan 12, 2014 3:23:56 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',10,'Y',202570,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client/Tenant for this installation.','Client','0143b368-78a3-49b4-935f-2ff6ed7e3ada','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:55','YYYY-MM-DD HH24:MI:SS'),'Y','N',1,'N',0,2,1,'N','N',210912,'D',0)
;
-- Jan 12, 2014 3:23:58 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,IsAllowCopy,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'Y','N',20,'Y',202571,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organizational entity within client','Organization','64f4c901-a2d7-4d41-a13f-b85225256660','Y','N','Y',100,TO_TIMESTAMP('2014-01-12 15:23:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:56','YYYY-MM-DD HH24:MI:SS'),'Y','N',4,'N',0,2,1,'N','N',210913,'D',0)
;
-- Jan 12, 2014 3:23:59 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',30,'Y',202572,'N','Status Line','8d6bfcc5-7951-47ee-937c-3766a26fc4d7','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:58','YYYY-MM-DD HH24:MI:SS'),'Y','N',0,1,'N',0,5,1,'N','N',210915,'D',0)
;
-- Jan 12, 2014 3:24:00 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,10,'N','N',40,'Y',202573,'N','The Database Table provides the information of the table definition','@AD_Window_ID@=0','Database Table information','Table','6b573a8f-5dd7-43d1-bd88-20558297716a','Y','N',100,TO_TIMESTAMP('2014-01-12 15:23:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:23:59','YYYY-MM-DD HH24:MI:SS'),'Y','Y',10,1,'N',0,2,1,'N','N',210925,'D',0)
;
-- Jan 12, 2014 3:24:01 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',50,'Y',202574,'N','The Window field identifies a unique Window in the system.','@AD_Table_ID@=0','Data entry or display window','Window','81b65c87-88a9-447d-be31-5bad473c675f','Y','N',100,TO_TIMESTAMP('2014-01-12 15:24:00','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:24:00','YYYY-MM-DD HH24:MI:SS'),'Y','Y',20,1,'N',0,2,1,'N','N',210921,'D',0)
;
-- Jan 12, 2014 3:24:02 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,10,'N','N',60,'Y',202575,'N','The Tab indicates a tab that displays within a window.','@AD_Table_ID@=0','Tab within a Window','Tab','882010d2-2c6e-4b5c-b268-84e6bb1afbdd','Y','N',100,TO_TIMESTAMP('2014-01-12 15:24:01','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:24:01','YYYY-MM-DD HH24:MI:SS'),'Y','Y',30,4,'N',0,2,1,'N','N',210922,'D',0)
;
-- Jan 12, 2014 3:24:03 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,1,'N','N',70,'Y',202576,'N','If checked the definition corresponds to a status line, when unchecked it corresponds to a help widget','Defines if this record refers to a status line or to a help widget','Status Line','eb939c76-a6df-4f0f-bded-8ef79c747b99','Y','N',100,TO_TIMESTAMP('2014-01-12 15:24:02','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:24:02','YYYY-MM-DD HH24:MI:SS'),'Y','Y',40,2,'N',0,2,1,'N','N',210923,'D',0)
;
-- Jan 12, 2014 3:24:04 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,DisplayLogic,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,22,'N','N',80,'Y',202577,'N','The Sequence indicates the order of records','@IsStatusLine@=N','Method of ordering records; lowest number comes first','Sequence','48f82bf7-9967-4a3e-8f96-373ad7708f25','Y','N',100,TO_TIMESTAMP('2014-01-12 15:24:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:24:03','YYYY-MM-DD HH24:MI:SS'),'Y','Y',50,4,'N',0,2,1,'N','N',210924,'D',0)
;
-- Jan 12, 2014 3:24:05 PM COT
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,SeqNo,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,Description,Name,AD_Field_UU,IsDisplayed,IsFieldOnly,UpdatedBy,Created,CreatedBy,Updated,IsActive,IsDisplayedGrid,SeqNoGrid,XPosition,IsQuickEntry,AD_Client_ID,ColumnSpan,NumLines,IsAdvancedField,IsDefaultFocus,AD_Column_ID,EntityType,AD_Org_ID) VALUES ('N',200115,1,'N','N',90,'Y',202578,'N','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.','The record is active in the system','Active','db7d1ee6-0bd9-43d7-86cb-c2395dedde4c','Y','N',100,TO_TIMESTAMP('2014-01-12 15:24:04','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2014-01-12 15:24:04','YYYY-MM-DD HH24:MI:SS'),'Y','Y',60,2,'N',0,2,1,'N','N',210918,'D',0)
;
-- Jan 12, 2014 3:24:06 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200000,0,0,'6f551ab3-bbbd-431a-8a0d-168e48d3057c',TO_TIMESTAMP('2014-01-12 15:24:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OrderSummary',TO_TIMESTAMP('2014-01-12 15:24:05','YYYY-MM-DD HH24:MI:SS'),100,377,'SELECT COUNT(DISTINCT C_OrderLine_ID) AS Lines,o.TotalLines,o.GrandTotal,c.ISO_Code, currencyBase(o.GrandTotal,o.C_Currency_ID,o.DateAcct, o.AD_Client_ID,o.AD_Org_ID) AS ConvAmt
FROM C_Order o
INNER JOIN C_Currency c ON (o.C_Currency_ID=c.C_Currency_ID)
LEFT JOIN C_OrderLine l ON (o.C_Order_ID=l.C_Order_ID)
WHERE o.C_Order_ID=@C_Order_ID@
GROUP BY o.C_Currency_ID, c.ISO_Code, o.TotalLines, o.GrandTotal, o.DateAcct, o.AD_Client_ID, o.AD_Org_ID')
;
-- Jan 12, 2014 3:24:07 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200001,0,0,'cf2ade0c-a71b-4b86-8311-6afef2071e1d',TO_TIMESTAMP('2014-01-12 15:24:06','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','InvoiceBatchSummary',TO_TIMESTAMP('2014-01-12 15:24:06','YYYY-MM-DD HH24:MI:SS'),100,828,'SELECT COUNT(*), NVL(SUM(LineNetAmt),0), NVL(SUM(LineTotalAmt),0)
FROM C_InvoiceBatchLine
WHERE C_InvoiceBatch_ID=@C_InvoiceBatch_ID@ AND IsActive=''Y''')
;
-- Jan 12, 2014 3:24:08 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200002,0,0,'52d85f09-f71b-4f7b-abb1-a4161891bb36',TO_TIMESTAMP('2014-01-12 15:24:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','InvoiceSummary',TO_TIMESTAMP('2014-01-12 15:24:07','YYYY-MM-DD HH24:MI:SS'),100,377,'SELECT COUNT(DISTINCT C_InvoiceLine_ID) AS Lines,o.TotalLines,o.GrandTotal,c.ISO_Code, currencyBase(o.GrandTotal,o.C_Currency_ID,o.DateAcct, o.AD_Client_ID,o.AD_Org_ID) AS ConvAmt
FROM C_Invoice o
INNER JOIN C_Currency c ON (o.C_Currency_ID=c.C_Currency_ID)
LEFT JOIN C_InvoiceLine l ON (o.C_Invoice_ID=l.C_Invoice_ID)
WHERE o.C_Invoice_ID=@C_Invoice_ID@
GROUP BY o.C_Currency_ID, c.ISO_Code, o.TotalLines, o.GrandTotal, o.DateAcct, o.AD_Client_ID, o.AD_Org_ID')
;
-- Jan 12, 2014 3:24:09 PM COT
INSERT INTO AD_StatusLine (AD_StatusLine_ID,AD_Client_ID,AD_Org_ID,AD_StatusLine_UU,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Message_ID,SQLStatement) VALUES (200003,0,0,'aed8f503-ef80-4b4c-9947-99abf3667c66',TO_TIMESTAMP('2014-01-12 15:24:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','ExpenseSummary',TO_TIMESTAMP('2014-01-12 15:24:08','YYYY-MM-DD HH24:MI:SS'),100,623,'SELECT COUNT(*) AS Lines, SUM(ConvertedAmt*Qty), '' ''
FROM S_TimeExpenseLine
WHERE S_TimeExpense_ID=@S_TimeExpense_ID@')
;
-- Jan 12, 2014 3:24:10 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200000,0,0,'15df6822-bf23-4943-89f0-647a4901c402',200000,TO_TIMESTAMP('2014-01-12 15:24:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,259)
;
-- Jan 12, 2014 3:24:11 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200001,0,0,'60ec0af6-338c-4ddd-b073-152283b40925',200000,TO_TIMESTAMP('2014-01-12 15:24:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:10','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,260)
;
-- Jan 12, 2014 3:24:12 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200002,0,0,'1aab8980-db93-4bb2-899e-941af8b25637',200000,TO_TIMESTAMP('2014-01-12 15:24:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:11','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200103)
;
-- Jan 12, 2014 3:24:12 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200003,0,0,'64e64e3f-2153-42a5-b077-65204d82966c',200000,TO_TIMESTAMP('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,200104)
;
-- Jan 12, 2014 3:24:13 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200004,0,0,'e4edfa4a-31e1-472c-a639-6162fa6771e3',200000,TO_TIMESTAMP('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:12','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,53296)
;
-- Jan 12, 2014 3:24:14 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200005,0,0,'ab2e8306-d1ad-4b29-a25e-fa59d5b77c34',200000,TO_TIMESTAMP('2014-01-12 15:24:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,314)
;
-- Jan 12, 2014 3:24:15 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200006,0,0,'f4b7d51c-3ab6-48f2-9884-abd644655ebc',200001,TO_TIMESTAMP('2014-01-12 15:24:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,767)
;
-- Jan 12, 2014 3:24:15 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200007,0,0,'eb0594d6-c14e-4b1c-9839-e60bd4f1b97d',200001,TO_TIMESTAMP('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,768)
;
-- Jan 12, 2014 3:24:16 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200008,0,0,'c1e3e096-8be2-43ca-84c3-b39bbf129238',200002,TO_TIMESTAMP('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:15','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,318)
;
-- Jan 12, 2014 3:24:16 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200009,0,0,'62ad5b5d-b969-49bf-bba1-8b8e24cfad00',200002,TO_TIMESTAMP('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,333)
;
-- Jan 12, 2014 3:24:17 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200010,0,0,'9e794307-756e-4bec-bd02-9cdae55570c3',200002,TO_TIMESTAMP('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:16','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,551)
;
-- Jan 12, 2014 3:24:18 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,IsStatusLine,SeqNo,AD_Table_ID) VALUES (200011,0,0,'10ad2e85-34b6-480c-8a6e-8934dd0aec23',200002,TO_TIMESTAMP('2014-01-12 15:24:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:17','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,334)
;
-- Jan 12, 2014 3:24:18 PM COT
INSERT INTO AD_StatusLineUsedIn (AD_StatusLineUsedIn_ID,AD_Client_ID,AD_Org_ID,AD_StatusLineUsedIn_UU,AD_StatusLine_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy,AD_Window_ID,AD_Tab_ID,IsStatusLine,SeqNo) VALUES (200012,0,0,'fcb6d37c-8015-4d91-b01c-8deb35e6b31a',200003,TO_TIMESTAMP('2014-01-12 15:24:18','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2014-01-12 15:24:18','YYYY-MM-DD HH24:MI:SS'),100,235,412,'Y',0)
;
-- Jan 12, 2014 3:24:19 PM COT
UPDATE AD_Message SET MsgText='{0,choice,0#No Lines|1#1 Line|1<{0} Lines} - {1,number,#,##0.00} - Total: {2,number,#,##0.00} {3} = {4,number,#,##0.00}', Updated=TO_TIMESTAMP('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Message_ID=377
;
UPDATE AD_Message_Trl SET MsgText='{0,choice,0#Sin Líneas|1#1 Línea|1<{0} Líneas} - {1,number,#,##0.00} - Total: {2,number,#,##0.00} {3} = {4,number,#,##0.00}' WHERE AD_Message_ID=377 AND AD_Language LIKE 'es_%'
;
-- Jan 12, 2014 3:24:19 PM COT
INSERT INTO AD_Menu (AD_Window_ID,AD_Menu_ID,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,Name,AD_Menu_UU,"action",IsActive,CreatedBy,Updated,Created,UpdatedBy,AD_Client_ID,AD_Org_ID) VALUES (200049,200072,'N','N','N','D','Y','Status Line','39478137-c380-4d3b-9892-b305d91e9f5a','W','Y',100,TO_TIMESTAMP('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2014-01-12 15:24:19','YYYY-MM-DD HH24:MI:SS'),100,0,0)
;
-- Jan 12, 2014 3:24:19 PM COT
INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 153,19, 10, 200072)
;
-- Jan 12, 2014 3:33:34 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADClient_ADStatusLine FOREIGN KEY (AD_Client_ID) REFERENCES ad_client(ad_client_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:34 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADOrg_ADStatusLine FOREIGN KEY (AD_Org_ID) REFERENCES ad_org(ad_org_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT CreatedBy_ADStatusLine FOREIGN KEY (CreatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT EntityType_ADStatusLine FOREIGN KEY (EntityType) REFERENCES ad_entitytype(entitytype) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT UpdatedBy_ADStatusLine FOREIGN KEY (UpdatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:35 PM COT
ALTER TABLE AD_StatusLine ADD CONSTRAINT ADMessage_ADStatusLine FOREIGN KEY (AD_Message_ID) REFERENCES ad_message(ad_message_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADClient_ADStatusLineUsedIn FOREIGN KEY (AD_Client_ID) REFERENCES ad_client(ad_client_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADOrg_ADStatusLineUsedIn FOREIGN KEY (AD_Org_ID) REFERENCES ad_org(ad_org_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADStatusLine_ADStatusLineUsedI FOREIGN KEY (AD_StatusLine_ID) REFERENCES ad_statusline(ad_statusline_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:33:59 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT CreatedBy_ADStatusLineUsedIn FOREIGN KEY (CreatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT UpdatedBy_ADStatusLineUsedIn FOREIGN KEY (UpdatedBy) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADWindow_ADStatusLineUsedIn FOREIGN KEY (AD_Window_ID) REFERENCES ad_window(ad_window_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADTab_ADStatusLineUsedIn FOREIGN KEY (AD_Tab_ID) REFERENCES ad_tab(ad_tab_id) DEFERRABLE INITIALLY DEFERRED
;
-- Jan 12, 2014 3:34:00 PM COT
ALTER TABLE AD_StatusLineUsedIn ADD CONSTRAINT ADTable_ADStatusLineUsedIn FOREIGN KEY (AD_Table_ID) REFERENCES ad_table(ad_table_id) DEFERRABLE INITIALLY DEFERRED
;
SELECT register_migration_script('201401121525_IDEMPIERE-1150.sql') FROM dual
;

View File

@ -26,7 +26,11 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.text.ChoiceFormat;
import java.text.DecimalFormat;
import java.text.Format;
import java.text.MessageFormat;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
@ -112,7 +116,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
/**
*
*/
private static final long serialVersionUID = -4022944302529684348L;
private static final long serialVersionUID = -2502318175715266604L;
public static final String DEFAULT_STATUS_MESSAGE = "NavigateOrUpdate";
@ -1798,6 +1802,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
* Transaction support.
* Depending on Table returns transaction info
* @return info
* @deprecated use getStatusLine and configure Status Line instead
*/
public String getTrxInfo()
{
@ -2033,6 +2038,82 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
return null;
} // getTrxInfo
/**************************************************************************
* Status Line support
* Depending on Window/Tab returns transaction info
* @return info
*/
public String getStatusLine()
{
MStatusLine sl = MStatusLine.getSL(getAD_Window_ID(), getAD_Tab_ID(), getAD_Table_ID());
if (sl != null)
{
String sql = sl.getSQLStatement();
if (sql.indexOf("@") >= 0) {
sql = Env.parseContext(Env.getCtx(), getWindowNo(), sql, false, false);
if (sql.length() == 0) {
return null;
}
}
if (log.isLoggable(Level.FINE)) log.fine(m_vo.TableName);
MessageFormat mf = null;
String msgValue = sl.getAD_Message().getValue();
try
{
mf = new MessageFormat(Msg.getMsg(Env.getAD_Language(m_vo.ctx), msgValue), Env.getLanguage(m_vo.ctx).getLocale());
}
catch (Exception e)
{
log.log(Level.SEVERE, msgValue + "=" + Msg.getMsg(Env.getAD_Language(m_vo.ctx), msgValue), e);
}
if (mf == null)
return null;
Format[] fmts = mf.getFormatsByArgumentIndex();
Object[] arguments = new Object[fmts.length];
boolean filled = false;
PreparedStatement stmt = null;
ResultSet rs = null;
try
{
stmt = DB.prepareStatement(sql, null);
rs = stmt.executeQuery();
if (rs.next())
{
for (int idx = 0; idx < fmts.length; idx++) {
Format fmt = fmts[idx];
Object obj;
if (fmt instanceof DecimalFormat || fmt instanceof ChoiceFormat) {
obj = rs.getDouble(idx+1);
} else if (fmt instanceof SimpleDateFormat) {
obj = rs.getTimestamp(idx+1);
} else {
obj = rs.getString(idx+1);
}
arguments[idx] = obj;
}
filled = true;
}
}
catch (SQLException e)
{
log.log(Level.WARNING, sql, e);
}
finally
{
DB.close(rs, stmt);
rs = null; stmt = null;
}
if (filled)
return mf.format(arguments);
}
return null;
} // getStatusLine
/**
* Load Dependent Information
*/

View File

@ -0,0 +1,179 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for AD_StatusLine
* @author iDempiere (generated)
* @version Release 2.0
*/
public interface I_AD_StatusLine
{
/** TableName=AD_StatusLine */
public static final String Table_Name = "AD_StatusLine";
/** AD_Table_ID=200107 */
public static final int Table_ID = 200107;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 4 - System
*/
BigDecimal accessLevel = BigDecimal.valueOf(4);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Message_ID */
public static final String COLUMNNAME_AD_Message_ID = "AD_Message_ID";
/** Set Message.
* System Message
*/
public void setAD_Message_ID (int AD_Message_ID);
/** Get Message.
* System Message
*/
public int getAD_Message_ID();
public org.compiere.model.I_AD_Message getAD_Message() throws RuntimeException;
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name AD_StatusLine_ID */
public static final String COLUMNNAME_AD_StatusLine_ID = "AD_StatusLine_ID";
/** Set Status Line */
public void setAD_StatusLine_ID (int AD_StatusLine_ID);
/** Get Status Line */
public int getAD_StatusLine_ID();
/** Column name AD_StatusLine_UU */
public static final String COLUMNNAME_AD_StatusLine_UU = "AD_StatusLine_UU";
/** Set AD_StatusLine_UU */
public void setAD_StatusLine_UU (String AD_StatusLine_UU);
/** Get AD_StatusLine_UU */
public String getAD_StatusLine_UU();
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name EntityType */
public static final String COLUMNNAME_EntityType = "EntityType";
/** Set Entity Type.
* Dictionary Entity Type;
Determines ownership and synchronization
*/
public void setEntityType (String EntityType);
/** Get Entity Type.
* Dictionary Entity Type;
Determines ownership and synchronization
*/
public String getEntityType();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
/** Set Name.
* Alphanumeric identifier of the entity
*/
public void setName (String Name);
/** Get Name.
* Alphanumeric identifier of the entity
*/
public String getName();
/** Column name SQLStatement */
public static final String COLUMNNAME_SQLStatement = "SQLStatement";
/** Set SQLStatement */
public void setSQLStatement (String SQLStatement);
/** Get SQLStatement */
public String getSQLStatement();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -0,0 +1,211 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import org.compiere.util.KeyNamePair;
/** Generated Interface for AD_StatusLineUsedIn
* @author iDempiere (generated)
* @version Release 2.0
*/
public interface I_AD_StatusLineUsedIn
{
/** TableName=AD_StatusLineUsedIn */
public static final String Table_Name = "AD_StatusLineUsedIn";
/** AD_Table_ID=200108 */
public static final int Table_ID = 200108;
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 4 - System
*/
BigDecimal accessLevel = BigDecimal.valueOf(4);
/** Load Meta Data */
/** Column name AD_Client_ID */
public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID";
/** Get Client.
* Client/Tenant for this installation.
*/
public int getAD_Client_ID();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name AD_StatusLine_ID */
public static final String COLUMNNAME_AD_StatusLine_ID = "AD_StatusLine_ID";
/** Set Status Line */
public void setAD_StatusLine_ID (int AD_StatusLine_ID);
/** Get Status Line */
public int getAD_StatusLine_ID();
public I_AD_StatusLine getAD_StatusLine() throws RuntimeException;
/** Column name AD_StatusLineUsedIn_ID */
public static final String COLUMNNAME_AD_StatusLineUsedIn_ID = "AD_StatusLineUsedIn_ID";
/** Set AD_StatusLineUsedIn */
public void setAD_StatusLineUsedIn_ID (int AD_StatusLineUsedIn_ID);
/** Get AD_StatusLineUsedIn */
public int getAD_StatusLineUsedIn_ID();
/** Column name AD_StatusLineUsedIn_UU */
public static final String COLUMNNAME_AD_StatusLineUsedIn_UU = "AD_StatusLineUsedIn_UU";
/** Set AD_StatusLineUsedIn_UU */
public void setAD_StatusLineUsedIn_UU (String AD_StatusLineUsedIn_UU);
/** Get AD_StatusLineUsedIn_UU */
public String getAD_StatusLineUsedIn_UU();
/** Column name AD_Tab_ID */
public static final String COLUMNNAME_AD_Tab_ID = "AD_Tab_ID";
/** Set Tab.
* Tab within a Window
*/
public void setAD_Tab_ID (int AD_Tab_ID);
/** Get Tab.
* Tab within a Window
*/
public int getAD_Tab_ID();
public org.compiere.model.I_AD_Tab getAD_Tab() throws RuntimeException;
/** Column name AD_Table_ID */
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
/** Set Table.
* Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID);
/** Get Table.
* Database Table information
*/
public int getAD_Table_ID();
public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException;
/** Column name AD_Window_ID */
public static final String COLUMNNAME_AD_Window_ID = "AD_Window_ID";
/** Set Window.
* Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID);
/** Get Window.
* Data entry or display window
*/
public int getAD_Window_ID();
public org.compiere.model.I_AD_Window getAD_Window() throws RuntimeException;
/** Column name Created */
public static final String COLUMNNAME_Created = "Created";
/** Get Created.
* Date this record was created
*/
public Timestamp getCreated();
/** Column name CreatedBy */
public static final String COLUMNNAME_CreatedBy = "CreatedBy";
/** Get Created By.
* User who created this records
*/
public int getCreatedBy();
/** Column name IsActive */
public static final String COLUMNNAME_IsActive = "IsActive";
/** Set Active.
* The record is active in the system
*/
public void setIsActive (boolean IsActive);
/** Get Active.
* The record is active in the system
*/
public boolean isActive();
/** Column name IsStatusLine */
public static final String COLUMNNAME_IsStatusLine = "IsStatusLine";
/** Set Status Line.
* Defines if this record refers to a status line or to a help widget
*/
public void setIsStatusLine (boolean IsStatusLine);
/** Get Status Line.
* Defines if this record refers to a status line or to a help widget
*/
public boolean isStatusLine();
/** Column name SeqNo */
public static final String COLUMNNAME_SeqNo = "SeqNo";
/** Set Sequence.
* Method of ordering records;
lowest number comes first
*/
public void setSeqNo (int SeqNo);
/** Get Sequence.
* Method of ordering records;
lowest number comes first
*/
public int getSeqNo();
/** Column name Updated */
public static final String COLUMNNAME_Updated = "Updated";
/** Get Updated.
* Date this record was updated
*/
public Timestamp getUpdated();
/** Column name UpdatedBy */
public static final String COLUMNNAME_UpdatedBy = "UpdatedBy";
/** Get Updated By.
* User who updated this records
*/
public int getUpdatedBy();
}

View File

@ -0,0 +1,119 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.util.CCache;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**
* Status Line Model
*
* @author Nicolas Micoud
* @version $Id: MStatusLine.java
*/
public class MStatusLine extends X_AD_StatusLine
{
/**
*
*/
private static final long serialVersionUID = 9135428468215857507L;
/** Logging */
private static CLogger s_log = CLogger.getCLogger(MStatusLine.class);
/** Status Line Cache */
private static CCache<String, MStatusLine> s_cache = new CCache<String, MStatusLine>(Table_Name, 10);
/**
* Standard Constructor
* @param ctx context
* @param AD_Window_ID
* @param trxName transaction
*/
public MStatusLine (Properties ctx, int AD_StatusLine_ID, String trxName)
{
super (ctx, AD_StatusLine_ID, trxName);
} // MStatusLine
/**
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction
*/
public MStatusLine (Properties ctx, ResultSet rs, String trxName)
{
super(ctx, rs, trxName);
} // MStatusLine
/**
* @param window_ID
* @param tab_ID
* @param table_ID
* @return first status line discovered, from particular to general, first check win+tab, then just win, then just tab
*/
public static MStatusLine getSL(int window_ID, int tab_ID, int table_ID) {
StringBuilder key = new StringBuilder().append(window_ID).append("|").append(tab_ID).append("|").append(table_ID);
MStatusLine retValue = null;
if (s_cache.containsKey(key.toString()))
{
retValue = s_cache.get(key.toString());
if (s_log.isLoggable(Level.FINEST)) s_log.finest("Cache: " + retValue);
return retValue;
}
String sql = ""
+ "SELECT AD_StatusLine_ID "
+ "FROM AD_StatusLineUsedIn "
+ "WHERE IsActive = 'Y' "
+ " AND IsStatusLine = 'Y' "
+ " AND AD_Window_ID = ? "
+ " AND AD_Tab_ID = ?";
int slid = DB.getSQLValueEx(null, sql, window_ID, tab_ID);
if (slid <= 0) {
sql = ""
+ "SELECT AD_StatusLine_ID "
+ "FROM AD_StatusLineUsedIn "
+ "WHERE IsActive = 'Y' "
+ " AND IsStatusLine = 'Y' "
+ " AND AD_Window_ID = ? "
+ " AND AD_Tab_ID IS NULL";
slid = DB.getSQLValueEx(null, sql, window_ID);
}
if (slid <= 0) {
sql = ""
+ "SELECT AD_StatusLine_ID "
+ "FROM AD_StatusLineUsedIn "
+ "WHERE IsActive = 'Y' "
+ " AND IsStatusLine = 'Y' "
+ " AND AD_Table_ID = ?";
slid = DB.getSQLValueEx(null, sql, table_ID);
}
if (slid > 0) {
retValue = new MStatusLine(Env.getCtx(), slid, null);
}
s_cache.put(key.toString(), retValue);
return retValue;
}
} // MStatusLine

View File

@ -0,0 +1,73 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.Msg;
/**
* Status Line Used In Model
*
* @author Carlos Ruiz
* @version $Id: MStatusLineUsedIn.java
*/
public class MStatusLineUsedIn extends X_AD_StatusLineUsedIn
{
/**
*
*/
private static final long serialVersionUID = -6341924761622666560L;
/**
* Standard Constructor
* @param ctx context
* @param AD_Window_ID
* @param trxName transaction
*/
public MStatusLineUsedIn (Properties ctx, int AD_StatusLineUsedIn_ID, String trxName)
{
super (ctx, AD_StatusLineUsedIn_ID, trxName);
} // MStatusLineUsedIn
/**
* Load Constructor
* @param ctx context
* @param rs result set
* @param trxName transaction
*/
public MStatusLineUsedIn (Properties ctx, ResultSet rs, String trxName)
{
super(ctx, rs, trxName);
} // MStatusLineUsedIn
@Override
protected boolean beforeSave(boolean newRecord) {
if (getAD_Table_ID() > 0) {
setAD_Window_ID(0);
setAD_Tab_ID(0);
} else {
if (getAD_Window_ID() <= 0) {
log.saveError("SaveError", Msg.parseTranslation(getCtx(), "@FillMandatory@ @AD_Table_ID@ @AD_Window_ID@"));
return false;
}
}
return true;
}
} // MStatusLineUsedIn

View File

@ -0,0 +1,198 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
import org.compiere.util.KeyNamePair;
/** Generated Model for AD_StatusLine
* @author iDempiere (generated)
* @version Release 2.0 - $Id$ */
public class X_AD_StatusLine extends PO implements I_AD_StatusLine, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20140112L;
/** Standard Constructor */
public X_AD_StatusLine (Properties ctx, int AD_StatusLine_ID, String trxName)
{
super (ctx, AD_StatusLine_ID, trxName);
/** if (AD_StatusLine_ID == 0)
{
setAD_Message_ID (0);
setAD_StatusLine_ID (0);
setEntityType (null);
// U
setName (null);
setSQLStatement (null);
} */
}
/** Load Constructor */
public X_AD_StatusLine (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 4 - System
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_AD_StatusLine[")
.append(get_ID()).append("]");
return sb.toString();
}
public org.compiere.model.I_AD_Message getAD_Message() throws RuntimeException
{
return (org.compiere.model.I_AD_Message)MTable.get(getCtx(), org.compiere.model.I_AD_Message.Table_Name)
.getPO(getAD_Message_ID(), get_TrxName()); }
/** Set Message.
@param AD_Message_ID
System Message
*/
public void setAD_Message_ID (int AD_Message_ID)
{
if (AD_Message_ID < 1)
set_Value (COLUMNNAME_AD_Message_ID, null);
else
set_Value (COLUMNNAME_AD_Message_ID, Integer.valueOf(AD_Message_ID));
}
/** Get Message.
@return System Message
*/
public int getAD_Message_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Message_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Status Line.
@param AD_StatusLine_ID Status Line */
public void setAD_StatusLine_ID (int AD_StatusLine_ID)
{
if (AD_StatusLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_StatusLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_StatusLine_ID, Integer.valueOf(AD_StatusLine_ID));
}
/** Get Status Line.
@return Status Line */
public int getAD_StatusLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_StatusLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set AD_StatusLine_UU.
@param AD_StatusLine_UU AD_StatusLine_UU */
public void setAD_StatusLine_UU (String AD_StatusLine_UU)
{
set_Value (COLUMNNAME_AD_StatusLine_UU, AD_StatusLine_UU);
}
/** Get AD_StatusLine_UU.
@return AD_StatusLine_UU */
public String getAD_StatusLine_UU ()
{
return (String)get_Value(COLUMNNAME_AD_StatusLine_UU);
}
/** EntityType AD_Reference_ID=389 */
public static final int ENTITYTYPE_AD_Reference_ID=389;
/** Set Entity Type.
@param EntityType
Dictionary Entity Type; Determines ownership and synchronization
*/
public void setEntityType (String EntityType)
{
set_Value (COLUMNNAME_EntityType, EntityType);
}
/** Get Entity Type.
@return Dictionary Entity Type; Determines ownership and synchronization
*/
public String getEntityType ()
{
return (String)get_Value(COLUMNNAME_EntityType);
}
/** Set Name.
@param Name
Alphanumeric identifier of the entity
*/
public void setName (String Name)
{
set_Value (COLUMNNAME_Name, Name);
}
/** Get Name.
@return Alphanumeric identifier of the entity
*/
public String getName ()
{
return (String)get_Value(COLUMNNAME_Name);
}
/** Get Record ID/ColumnName
@return ID/ColumnName pair
*/
public KeyNamePair getKeyNamePair()
{
return new KeyNamePair(get_ID(), getName());
}
/** Set SQLStatement.
@param SQLStatement SQLStatement */
public void setSQLStatement (String SQLStatement)
{
set_Value (COLUMNNAME_SQLStatement, SQLStatement);
}
/** Get SQLStatement.
@return SQLStatement */
public String getSQLStatement ()
{
return (String)get_Value(COLUMNNAME_SQLStatement);
}
}

View File

@ -0,0 +1,261 @@
/******************************************************************************
* Product: iDempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2012 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program, if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
/** Generated Model - DO NOT CHANGE */
package org.compiere.model;
import java.sql.ResultSet;
import java.util.Properties;
/** Generated Model for AD_StatusLineUsedIn
* @author iDempiere (generated)
* @version Release 2.0 - $Id$ */
public class X_AD_StatusLineUsedIn extends PO implements I_AD_StatusLineUsedIn, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20140112L;
/** Standard Constructor */
public X_AD_StatusLineUsedIn (Properties ctx, int AD_StatusLineUsedIn_ID, String trxName)
{
super (ctx, AD_StatusLineUsedIn_ID, trxName);
/** if (AD_StatusLineUsedIn_ID == 0)
{
setAD_StatusLine_ID (0);
setAD_StatusLineUsedIn_ID (0);
setIsStatusLine (true);
// Y
} */
}
/** Load Constructor */
public X_AD_StatusLineUsedIn (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 4 - System
*/
protected int get_AccessLevel()
{
return accessLevel.intValue();
}
/** Load Meta Data */
protected POInfo initPO (Properties ctx)
{
POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName());
return poi;
}
public String toString()
{
StringBuffer sb = new StringBuffer ("X_AD_StatusLineUsedIn[")
.append(get_ID()).append("]");
return sb.toString();
}
public I_AD_StatusLine getAD_StatusLine() throws RuntimeException
{
return (I_AD_StatusLine)MTable.get(getCtx(), I_AD_StatusLine.Table_Name)
.getPO(getAD_StatusLine_ID(), get_TrxName()); }
/** Set Status Line.
@param AD_StatusLine_ID Status Line */
public void setAD_StatusLine_ID (int AD_StatusLine_ID)
{
if (AD_StatusLine_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_StatusLine_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_StatusLine_ID, Integer.valueOf(AD_StatusLine_ID));
}
/** Get Status Line.
@return Status Line */
public int getAD_StatusLine_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_StatusLine_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set AD_StatusLineUsedIn.
@param AD_StatusLineUsedIn_ID AD_StatusLineUsedIn */
public void setAD_StatusLineUsedIn_ID (int AD_StatusLineUsedIn_ID)
{
if (AD_StatusLineUsedIn_ID < 1)
set_ValueNoCheck (COLUMNNAME_AD_StatusLineUsedIn_ID, null);
else
set_ValueNoCheck (COLUMNNAME_AD_StatusLineUsedIn_ID, Integer.valueOf(AD_StatusLineUsedIn_ID));
}
/** Get AD_StatusLineUsedIn.
@return AD_StatusLineUsedIn */
public int getAD_StatusLineUsedIn_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_StatusLineUsedIn_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set AD_StatusLineUsedIn_UU.
@param AD_StatusLineUsedIn_UU AD_StatusLineUsedIn_UU */
public void setAD_StatusLineUsedIn_UU (String AD_StatusLineUsedIn_UU)
{
set_Value (COLUMNNAME_AD_StatusLineUsedIn_UU, AD_StatusLineUsedIn_UU);
}
/** Get AD_StatusLineUsedIn_UU.
@return AD_StatusLineUsedIn_UU */
public String getAD_StatusLineUsedIn_UU ()
{
return (String)get_Value(COLUMNNAME_AD_StatusLineUsedIn_UU);
}
public org.compiere.model.I_AD_Tab getAD_Tab() throws RuntimeException
{
return (org.compiere.model.I_AD_Tab)MTable.get(getCtx(), org.compiere.model.I_AD_Tab.Table_Name)
.getPO(getAD_Tab_ID(), get_TrxName()); }
/** Set Tab.
@param AD_Tab_ID
Tab within a Window
*/
public void setAD_Tab_ID (int AD_Tab_ID)
{
if (AD_Tab_ID < 1)
set_Value (COLUMNNAME_AD_Tab_ID, null);
else
set_Value (COLUMNNAME_AD_Tab_ID, Integer.valueOf(AD_Tab_ID));
}
/** Get Tab.
@return Tab within a Window
*/
public int getAD_Tab_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Tab_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException
{
return (org.compiere.model.I_AD_Table)MTable.get(getCtx(), org.compiere.model.I_AD_Table.Table_Name)
.getPO(getAD_Table_ID(), get_TrxName()); }
/** Set Table.
@param AD_Table_ID
Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID)
{
if (AD_Table_ID < 1)
set_Value (COLUMNNAME_AD_Table_ID, null);
else
set_Value (COLUMNNAME_AD_Table_ID, Integer.valueOf(AD_Table_ID));
}
/** Get Table.
@return Database Table information
*/
public int getAD_Table_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Table_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public org.compiere.model.I_AD_Window getAD_Window() throws RuntimeException
{
return (org.compiere.model.I_AD_Window)MTable.get(getCtx(), org.compiere.model.I_AD_Window.Table_Name)
.getPO(getAD_Window_ID(), get_TrxName()); }
/** Set Window.
@param AD_Window_ID
Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID)
{
if (AD_Window_ID < 1)
set_Value (COLUMNNAME_AD_Window_ID, null);
else
set_Value (COLUMNNAME_AD_Window_ID, Integer.valueOf(AD_Window_ID));
}
/** Get Window.
@return Data entry or display window
*/
public int getAD_Window_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Window_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Status Line.
@param IsStatusLine
Defines if this record refers to a status line or to a help widget
*/
public void setIsStatusLine (boolean IsStatusLine)
{
set_Value (COLUMNNAME_IsStatusLine, Boolean.valueOf(IsStatusLine));
}
/** Get Status Line.
@return Defines if this record refers to a status line or to a help widget
*/
public boolean isStatusLine ()
{
Object oo = get_Value(COLUMNNAME_IsStatusLine);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Sequence.
@param SeqNo
Method of ordering records; lowest number comes first
*/
public void setSeqNo (int SeqNo)
{
set_Value (COLUMNNAME_SeqNo, Integer.valueOf(SeqNo));
}
/** Get Sequence.
@return Method of ordering records; lowest number comes first
*/
public int getSeqNo ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_SeqNo);
if (ii == null)
return 0;
return ii.intValue();
}
}

View File

@ -167,7 +167,7 @@ public final class APanel extends CPanel
/**
*
*/
private static final long serialVersionUID = -253840959387736456L;
private static final long serialVersionUID = 8668865618093531311L;
private boolean isNested = false;
private boolean ToolBarMenuRestictionLoaded = false;
@ -1261,7 +1261,7 @@ public final class APanel extends CPanel
aHistory.setPressed(!m_curTab.isOnlyCurrentRows());
// Transaction info
String trxInfo = m_curTab.getTrxInfo();
String trxInfo = m_curTab.getStatusLine();
if (trxInfo != null)
statusBar.setInfo(trxInfo);

View File

@ -1532,7 +1532,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
// Transaction info
if (!detailTab)
{
String trxInfo = adTabbox.getSelectedGridTab().getTrxInfo();
String trxInfo = adTabbox.getSelectedGridTab().getStatusLine();
if (trxInfo != null)
{
statusBar.setInfo(trxInfo);