Ticket #1001003:IDEMPIERE-364 Integrating revie comments and fixing Grid layout issues

This commit is contained in:
Deepak Pansheriya 2012-08-13 13:11:24 +05:30
parent 9f6ba491dd
commit 66001b85aa
14 changed files with 184 additions and 50 deletions

View File

@ -15,7 +15,7 @@ INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNe
-- Aug 10, 2012 9:11:43 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200254,'U','Y','N','N',0,'N',10,'N',19,'N','N',102,'N','Y','acccad07-6b1b-4a90-b49a-f2e6b2dc0b8e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',100,TO_DATE('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200254,'D','Y','N','N',0,'N',10,'N',19,'N','N',102,'N','Y','acccad07-6b1b-4a90-b49a-f2e6b2dc0b8e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',100,TO_DATE('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:11:43 PM IST
@ -25,7 +25,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:14:34 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200255,'U','Y','N','N',0,'N',10,'N',19,'N','N',113,'N','Y','09102aa5-35f2-4f01-88d6-f13349ddf85f','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',100,TO_DATE('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200255,'D','Y','N','N',0,'N',10,'N',19,'N','N',113,'N','Y','09102aa5-35f2-4f01-88d6-f13349ddf85f','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',100,TO_DATE('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:14:34 PM IST
@ -45,7 +45,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:28:52 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200256,'U','N','N','N',0,'N',10,'N',13,'N','Y',200081,'N','Y','3b84e2e6-fe63-40a6-bb7d-d4bcc5691e94','N','N','N','AD_Tab_Customization_ID','Tab Customization','N',100,TO_DATE('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200256,'D','N','N','N',0,'N',10,'N',13,'N','Y',200081,'N','Y','3b84e2e6-fe63-40a6-bb7d-d4bcc5691e94','N','N','N','AD_Tab_Customization_ID','Tab Customization','N',100,TO_DATE('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:28:52 PM IST
@ -55,7 +55,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:29:53 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200257,'U','N','N','N',0,'N',22,'N',19,'N','N',125,'N','Y','58805cb1-51c3-47a0-ac10-338e64ff53d6','N','Y','N','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',100,TO_DATE('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200257,'D','N','N','N',0,'N',22,'N',19,'N','N',125,'N','Y','58805cb1-51c3-47a0-ac10-338e64ff53d6','N','Y','N','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',100,TO_DATE('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:29:53 PM IST
@ -65,7 +65,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:30:33 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200258,'U','Y','N','N',0,'N',22,'N',19,'N','N',138,'N','Y','84795887-a568-4ef3-9a02-1b5e3e7a5d0c','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact','Y',100,TO_DATE('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200258,'D','Y','N','N',0,'N',22,'N',19,'N','N',138,'N','Y','84795887-a568-4ef3-9a02-1b5e3e7a5d0c','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact','Y',100,TO_DATE('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:30:33 PM IST
@ -75,7 +75,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:31:20 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200259,'U','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','Y','e2e511e1-7f19-4368-9043-2b62e42023e5','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',100,TO_DATE('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200259,'D','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','Y','e2e511e1-7f19-4368-9043-2b62e42023e5','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',100,TO_DATE('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:31:20 PM IST
@ -85,7 +85,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:32:10 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200260,'U',110,'Y','N','N',0,'N',10,'N',18,'N','N',246,'N','Y','161e2f80-1cce-4f35-b16d-f19804b684d3','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',100,TO_DATE('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200260,'D',110,'Y','N','N',0,'N',10,'N',18,'N','N',246,'N','Y','161e2f80-1cce-4f35-b16d-f19804b684d3','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',100,TO_DATE('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:32:10 PM IST
@ -105,7 +105,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:33:41 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200261,'U','Y','N','N',0,'N',2000,'N',10,'N','N',200082,'N','Y','3be04407-eba4-4afe-8e37-c151944231f8','N','Y','N','Custom','Custom','Y',100,TO_DATE('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200261,'D','Y','N','N',0,'N',2000,'N',10,'N','N',200082,'N','Y','3be04407-eba4-4afe-8e37-c151944231f8','N','Y','N','Custom','Custom','Y',100,TO_DATE('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:33:41 PM IST
@ -115,7 +115,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:34:13 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200262,'U','Y','N','N',0,'N',1,'N',20,'N','N',348,'N','Y','20d47288-2df0-4720-9b30-4fd92748044e','N','Y','N','IsActive','The record is active in the system','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.
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200262,'D','Y','N','N',0,'N',1,'N',20,'N','N',348,'N','Y','20d47288-2df0-4720-9b30-4fd92748044e','N','Y','N','IsActive','The record is active in the system','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',100,TO_DATE('2012-08-10 21:34:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:34:12','YYYY-MM-DD HH24:MI:SS'),100,0)
@ -128,7 +128,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:34:45 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200263,'U','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','Y','446e4633-c822-46e1-9971-dfb5d61c1d3d','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',100,TO_DATE('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200263,'D','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','Y','446e4633-c822-46e1-9971-dfb5d61c1d3d','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',100,TO_DATE('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:34:45 PM IST
@ -138,7 +138,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:37:17 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200264,'U',110,'Y','N','N',0,'N',10,'N',18,'N','N',608,'N','Y','37526f39-0004-42aa-9943-44a376298a0c','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',100,TO_DATE('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200264,'D',110,'Y','N','N',0,'N',10,'N',18,'N','N',608,'N','Y','37526f39-0004-42aa-9943-44a376298a0c','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',100,TO_DATE('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:37:17 PM IST
@ -163,7 +163,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:47:13 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200265,'U','N','N','N',0,'N',1,'N',20,'N','N',200083,'N','Y','0eacadc5-a92e-4ca2-a1f7-ca9e463bc34f','N','Y','N','IsDisplayedGrid','Y','Show in Grid','Y',100,TO_DATE('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200265,'D','N','N','N',0,'N',1,'N',20,'N','N',200083,'N','Y','0eacadc5-a92e-4ca2-a1f7-ca9e463bc34f','N','Y','N','IsDisplayedGrid','Y','Show in Grid','Y',100,TO_DATE('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:47:13 PM IST
@ -183,7 +183,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:50:05 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200266,'U','N','N','N',0,'N',22,'N',11,'N','N',200084,'N','Y','363b94b4-d830-4fdc-83db-bc3de77f02ab','N','Y','N','SeqNoGrid','@SQL=SELECT NVL(MAX(GridSeqNo),0)+10 AS DefaultValue FROM AD_Field WHERE AD_Tab_ID=@AD_Tab_ID@','Grid Sequence No','Y',100,TO_DATE('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200266,'D','N','N','N',0,'N',22,'N',11,'N','N',200084,'N','Y','363b94b4-d830-4fdc-83db-bc3de77f02ab','N','Y','N','SeqNoGrid','@SQL=SELECT NVL(MAX(GridSeqNo),0)+10 AS DefaultValue FROM AD_Field WHERE AD_Tab_ID=@AD_Tab_ID@','Grid Sequence No','Y',100,TO_DATE('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:50:05 PM IST
@ -218,7 +218,7 @@ INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTran
-- Aug 10, 2012 9:52:08 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,22,'N','N',200266,'Y',200274,'N','U','Grid Sequence No','N','Y','ae7dc496-8beb-430b-88d3-d684612f8240',100,0,TO_DATE('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),'Y')
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,22,'N','N',200266,'Y',200274,'N','D','Grid Sequence No','N','Y','ae7dc496-8beb-430b-88d3-d684612f8240',100,0,TO_DATE('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Aug 10, 2012 9:52:08 PM IST
@ -238,7 +238,7 @@ INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTran
-- Aug 10, 2012 9:52:09 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,1,'N','N',200265,'Y',200276,'N','U','Show in Grid','N','Y','26931797-3bde-42ae-acfc-e61ab4948abd',100,0,TO_DATE('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),'Y')
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,1,'N','N',200265,'Y',200276,'N','D','Show in Grid','N','Y','26931797-3bde-42ae-acfc-e61ab4948abd',100,0,TO_DATE('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Aug 10, 2012 9:52:09 PM IST
@ -358,7 +358,7 @@ UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2012-08-10 21:53:58','YYYY-M
-- Aug 10, 2012 9:57:04 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,AD_ColumnSortYesNo_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_ColumnSortOrder_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',102,65,'N','Y',107,'N','N','N','N',200265,'Y','N',2,'27d1dcc7-2696-45e2-bbf8-6c1f51c3e48f','U','Grid Sequence','Defined field order for grid layout',200009,200266,0,0,TO_DATE('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y')
INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,AD_ColumnSortYesNo_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_ColumnSortOrder_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',102,65,'N','Y',107,'N','N','N','N',200265,'Y','N',2,'27d1dcc7-2696-45e2-bbf8-6c1f51c3e48f','D','Grid Sequence','Defined field order for grid layout',200009,200266,0,0,TO_DATE('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y')
;
-- Aug 10, 2012 9:57:04 PM IST
@ -366,3 +366,13 @@ INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD
INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Help,CommitWarning,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Tab_Trl_UU ) SELECT l.AD_Language,t.AD_Tab_ID, t.Help,t.CommitWarning,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=200009 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID)
;
Update ad_field set isDisplayedGrid = isDisplayed;
Update ad_field set seqNoGrid = seqNo;
UPDATE AD_System
SET LastMigrationScriptApplied='872_IDEMPIERE-364_Customizable_Grid_oracle.sql'
WHERE LastMigrationScriptApplied<'872_IDEMPIERE-364_Customizable_Grid_oracle.sql'
OR LastMigrationScriptApplied IS NULL
;

View File

@ -15,7 +15,7 @@ SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_
c.IsSelectionColumn,
tbl.TableName, c.ValueMin, c.ValueMax,
fg.NAME AS FieldGroup, vr.Code AS ValidationCode,
f.Included_Tab_ID, fg.FieldGroupType,
f.Included_Tab_ID, fg.FieldGroupType,fg.iscollapsedbydefault, COALESCE(f.infofactoryclass, c.infofactoryclass) AS infofactoryclass, c.isautocomplete, COALESCE(f.isallowcopy, c.isallowcopy) AS isallowcopy,
f.isdisplayedgrid,
f.seqnogrid
FROM AD_FIELD f
@ -28,3 +28,48 @@ FROM AD_FIELD f
WHERE f.IsActive = 'Y'
AND c.IsActive = 'Y'
;
CREATE OR REPLACE VIEW AD_FIELD_VT AS
SELECT trl.AD_LANGUAGE, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
trl.NAME, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
f.IsEncrypted AS IsEncryptedField, f.ObscureType,
c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
c.IsKey, c.IsParent,
COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
c.IsIdentifier, c.IsTranslated, COALESCE(f.AD_Reference_Value_ID, c.AD_Reference_Value_ID) AS AD_Reference_Value_ID,
c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID) as AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
tbl.TableName, c.ValueMin, c.ValueMax,
fgt.NAME AS FieldGroup, vr.Code AS ValidationCode,
f.Included_Tab_ID, fg.FieldGroupType, fg.IsCollapsedByDefault,
COALESCE(f.InfoFactoryClass, c.InfoFactoryClass) as InfoFactoryClass,
c.IsAutocomplete, COALESCE(f.IsAllowCopy, c.IsAllowCopy) AS IsAllowCopy,
f.isdisplayedgrid,
f.seqnogrid
FROM AD_FIELD f
INNER JOIN AD_FIELD_TRL trl ON (f.AD_Field_ID = trl.AD_Field_ID)
INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
LEFT OUTER JOIN AD_FIELDGROUP_TRL fgt ON
(f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_LANGUAGE=fgt.AD_LANGUAGE)
LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
LEFT OUTER JOIN AD_VAL_RULE vr ON (vr.AD_Val_Rule_ID=COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID))
WHERE f.IsActive = 'Y'
AND c.IsActive = 'Y';
UPDATE AD_System
SET LastMigrationScriptApplied='873_IDEMPIERE-364_AD_Field_oracle.sql'
WHERE LastMigrationScriptApplied<'873_IDEMPIERE-364_AD_Field_oracle.sql'
OR LastMigrationScriptApplied IS NULL
;

View File

@ -0,0 +1,10 @@
-- Aug 10, 2012 3:55:26 PM COT
-- IDEMPIERE-364 Improve Grid Layout
INSERT INTO AD_ToolBarButton (Name,ComponentName,Classname,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_Client_ID,AD_Org_ID,Created,CreatedBy,AD_ToolBarButton_ID,Updated,UpdatedBy,IsActive,AD_ToolBarButton_UU) VALUES ('zk Window - Customize','Customize','org.adempiere.webui.component.CWindowToolbar','N',0,0,0,0,TO_DATE('2012-08-10 15:55:25','YYYY-MM-DD HH24:MI:SS'),100,200058,TO_DATE('2012-08-10 15:55:25','YYYY-MM-DD HH24:MI:SS'),100,'Y','73e850aa-66dc-4fd8-a7e0-72623ed457f1')
;
UPDATE AD_System
SET LastMigrationScriptApplied='875_IDEMPIERE-364.sql'
WHERE LastMigrationScriptApplied<'875_IDEMPIERE-364.sql'
OR LastMigrationScriptApplied IS NULL
;

View File

@ -15,7 +15,7 @@ INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNe
-- Aug 10, 2012 9:11:43 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200254,'U','Y','N','N',0,'N',10,'N',19,'N','N',102,'N','Y','acccad07-6b1b-4a90-b49a-f2e6b2dc0b8e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',100,TO_TIMESTAMP('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200254,'D','Y','N','N',0,'N',10,'N',19,'N','N',102,'N','Y','acccad07-6b1b-4a90-b49a-f2e6b2dc0b8e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',100,TO_TIMESTAMP('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:11:42','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:11:43 PM IST
@ -25,7 +25,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:14:34 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200255,'U','Y','N','N',0,'N',10,'N',19,'N','N',113,'N','Y','09102aa5-35f2-4f01-88d6-f13349ddf85f','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',100,TO_TIMESTAMP('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200255,'D','Y','N','N',0,'N',10,'N',19,'N','N',113,'N','Y','09102aa5-35f2-4f01-88d6-f13349ddf85f','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',100,TO_TIMESTAMP('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:14:33','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:14:34 PM IST
@ -45,7 +45,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:28:52 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200256,'U','N','N','N',0,'N',10,'N',13,'N','Y',200081,'N','Y','3b84e2e6-fe63-40a6-bb7d-d4bcc5691e94','N','N','N','AD_Tab_Customization_ID','Tab Customization','N',100,TO_TIMESTAMP('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200256,'D','N','N','N',0,'N',10,'N',13,'N','Y',200081,'N','Y','3b84e2e6-fe63-40a6-bb7d-d4bcc5691e94','N','N','N','AD_Tab_Customization_ID','Tab Customization','N',100,TO_TIMESTAMP('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:28:51','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:28:52 PM IST
@ -55,7 +55,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:29:53 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200257,'U','N','N','N',0,'N',22,'N',19,'N','N',125,'N','Y','58805cb1-51c3-47a0-ac10-338e64ff53d6','N','Y','N','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',100,TO_TIMESTAMP('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200257,'D','N','N','N',0,'N',22,'N',19,'N','N',125,'N','Y','58805cb1-51c3-47a0-ac10-338e64ff53d6','N','Y','N','AD_Tab_ID','Tab within a Window','The Tab indicates a tab that displays within a window.','Tab','Y',100,TO_TIMESTAMP('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:29:52','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:29:53 PM IST
@ -65,7 +65,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:30:33 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200258,'U','Y','N','N',0,'N',22,'N',19,'N','N',138,'N','Y','84795887-a568-4ef3-9a02-1b5e3e7a5d0c','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact','Y',100,TO_TIMESTAMP('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200258,'D','Y','N','N',0,'N',22,'N',19,'N','N',138,'N','Y','84795887-a568-4ef3-9a02-1b5e3e7a5d0c','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact','Y',100,TO_TIMESTAMP('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:30:32','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:30:33 PM IST
@ -75,7 +75,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:31:20 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200259,'U','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','Y','e2e511e1-7f19-4368-9043-2b62e42023e5','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',100,TO_TIMESTAMP('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200259,'D','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','Y','e2e511e1-7f19-4368-9043-2b62e42023e5','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',100,TO_TIMESTAMP('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:31:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:31:20 PM IST
@ -85,7 +85,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:32:10 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200260,'U',110,'Y','N','N',0,'N',10,'N',18,'N','N',246,'N','Y','161e2f80-1cce-4f35-b16d-f19804b684d3','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',100,TO_TIMESTAMP('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200260,'D',110,'Y','N','N',0,'N',10,'N',18,'N','N',246,'N','Y','161e2f80-1cce-4f35-b16d-f19804b684d3','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',100,TO_TIMESTAMP('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:32:10','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:32:10 PM IST
@ -105,7 +105,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:33:41 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200261,'U','Y','N','N',0,'N',2000,'N',10,'N','N',200082,'N','Y','3be04407-eba4-4afe-8e37-c151944231f8','N','Y','N','Custom','Custom','Y',100,TO_TIMESTAMP('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200261,'D','Y','N','N',0,'N',2000,'N',10,'N','N',200082,'N','Y','3be04407-eba4-4afe-8e37-c151944231f8','N','Y','N','Custom','Custom','Y',100,TO_TIMESTAMP('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:33:40','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:33:41 PM IST
@ -115,7 +115,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:34:13 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200262,'U','Y','N','N',0,'N',1,'N',20,'N','N',348,'N','Y','20d47288-2df0-4720-9b30-4fd92748044e','N','Y','N','IsActive','The record is active in the system','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.
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200262,'D','Y','N','N',0,'N',1,'N',20,'N','N',348,'N','Y','20d47288-2df0-4720-9b30-4fd92748044e','N','Y','N','IsActive','The record is active in the system','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',100,TO_TIMESTAMP('2012-08-10 21:34:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:34:12','YYYY-MM-DD HH24:MI:SS'),100,0)
@ -128,7 +128,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:34:45 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200263,'U','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','Y','446e4633-c822-46e1-9971-dfb5d61c1d3d','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',100,TO_TIMESTAMP('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200263,'D','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','Y','446e4633-c822-46e1-9971-dfb5d61c1d3d','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',100,TO_TIMESTAMP('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:34:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:34:45 PM IST
@ -138,7 +138,7 @@ INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Clien
-- Aug 10, 2012 9:37:17 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200264,'U',110,'Y','N','N',0,'N',10,'N',18,'N','N',608,'N','Y','37526f39-0004-42aa-9943-44a376298a0c','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',100,TO_TIMESTAMP('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200008,200264,'D',110,'Y','N','N',0,'N',10,'N',18,'N','N',608,'N','Y','37526f39-0004-42aa-9943-44a376298a0c','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',100,TO_TIMESTAMP('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:37:14','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:37:17 PM IST
@ -163,7 +163,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:47:13 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200265,'U','N','N','N',0,'N',1,'N',20,'N','N',200083,'N','Y','0eacadc5-a92e-4ca2-a1f7-ca9e463bc34f','N','Y','N','IsDisplayedGrid','Y','Show in Grid','Y',100,TO_TIMESTAMP('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200265,'D','N','N','N',0,'N',1,'N',20,'N','N',200083,'N','Y','0eacadc5-a92e-4ca2-a1f7-ca9e463bc34f','N','Y','N','IsDisplayedGrid','Y','Show in Grid','Y',100,TO_TIMESTAMP('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:47:13','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:47:13 PM IST
@ -183,7 +183,7 @@ INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_He
-- Aug 10, 2012 9:50:05 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200266,'U','N','N','N',0,'N',22,'N',11,'N','N',200084,'N','Y','363b94b4-d830-4fdc-83db-bc3de77f02ab','N','Y','N','SeqNoGrid','@SQL=SELECT NVL(MAX(GridSeqNo),0)+10 AS DefaultValue FROM AD_Field WHERE AD_Tab_ID=@AD_Tab_ID@','Grid Sequence No','Y',100,TO_TIMESTAMP('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),100,0)
INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,107,200266,'D','N','N','N',0,'N',22,'N',11,'N','N',200084,'N','Y','363b94b4-d830-4fdc-83db-bc3de77f02ab','N','Y','N','SeqNoGrid','@SQL=SELECT NVL(MAX(GridSeqNo),0)+10 AS DefaultValue FROM AD_Field WHERE AD_Tab_ID=@AD_Tab_ID@','Grid Sequence No','Y',100,TO_TIMESTAMP('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-08-10 21:50:04','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Aug 10, 2012 9:50:05 PM IST
@ -218,7 +218,7 @@ INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTran
-- Aug 10, 2012 9:52:08 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,22,'N','N',200266,'Y',200274,'N','U','Grid Sequence No','N','Y','ae7dc496-8beb-430b-88d3-d684612f8240',100,0,TO_TIMESTAMP('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),'Y')
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,22,'N','N',200266,'Y',200274,'N','D','Grid Sequence No','N','Y','ae7dc496-8beb-430b-88d3-d684612f8240',100,0,TO_TIMESTAMP('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-08-10 21:52:07','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Aug 10, 2012 9:52:08 PM IST
@ -238,7 +238,7 @@ INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTran
-- Aug 10, 2012 9:52:09 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,1,'N','N',200265,'Y',200276,'N','U','Show in Grid','N','Y','26931797-3bde-42ae-acfc-e61ab4948abd',100,0,TO_TIMESTAMP('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),'Y')
INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',107,1,'N','N',200265,'Y',200276,'N','D','Show in Grid','N','Y','26931797-3bde-42ae-acfc-e61ab4948abd',100,0,TO_TIMESTAMP('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-08-10 21:52:09','YYYY-MM-DD HH24:MI:SS'),'Y')
;
-- Aug 10, 2012 9:52:09 PM IST
@ -358,10 +358,20 @@ UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2012-08-10 21:53:58','Y
-- Aug 10, 2012 9:57:04 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,AD_ColumnSortYesNo_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_ColumnSortOrder_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',102,65,'N','Y',107,'N','N','N','N',200265,'Y','N',2,'27d1dcc7-2696-45e2-bbf8-6c1f51c3e48f','U','Grid Sequence','Defined field order for grid layout',200009,200266,0,0,TO_TIMESTAMP('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y')
INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,AD_ColumnSortYesNo_ID,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_ColumnSortOrder_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',102,65,'N','Y',107,'N','N','N','N',200265,'Y','N',2,'27d1dcc7-2696-45e2-bbf8-6c1f51c3e48f','D','Grid Sequence','Defined field order for grid layout',200009,200266,0,0,TO_TIMESTAMP('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-08-10 21:57:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Y')
;
-- Aug 10, 2012 9:57:04 PM IST
-- Customizable Grid View IDEMPIERE-364
INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Help,CommitWarning,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Tab_Trl_UU ) SELECT l.AD_Language,t.AD_Tab_ID, t.Help,t.CommitWarning,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=200009 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID)
;
Update ad_field set isDisplayedGrid = isDisplayed;
Update ad_field set seqNoGrid = seqNo;
UPDATE AD_System
SET LastMigrationScriptApplied='872_IDEMPIERE-364_Customizable_Grid_postgresql.sql'
WHERE LastMigrationScriptApplied<'872_IDEMPIERE-364_Customizable_Grid_postgresql.sql'
OR LastMigrationScriptApplied IS NULL;

View File

@ -9,3 +9,25 @@ CREATE OR REPLACE VIEW ad_field_v AS
JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
LEFT JOIN ad_val_rule vr ON vr.ad_val_rule_id = COALESCE(f.ad_val_rule_id, c.ad_val_rule_id)
WHERE f.isactive = 'Y'::bpchar AND c.isactive = 'Y'::bpchar;
CREATE OR REPLACE VIEW ad_field_vt AS
SELECT trl.ad_language, t.ad_window_id, f.ad_tab_id, f.ad_field_id, tbl.ad_table_id, f.ad_column_id, trl.name, trl.description, trl.help, f.isdisplayed, f.displaylogic, f.displaylength, f.seqno, f.sortno, f.issameline, f.isheading, f.isfieldonly, f.isreadonly, f.isencrypted AS isencryptedfield, f.obscuretype, c.columnname, c.columnsql, c.fieldlength, c.vformat, COALESCE(f.defaultvalue, c.defaultvalue) AS defaultvalue, c.iskey, c.isparent, COALESCE(f.ismandatory, c.ismandatory) AS ismandatory, c.isidentifier, c.istranslated, COALESCE(f.ad_reference_value_id, c.ad_reference_value_id) AS ad_reference_value_id, c.callout, COALESCE(f.ad_reference_id, c.ad_reference_id) AS ad_reference_id, COALESCE(f.ad_val_rule_id, c.ad_val_rule_id) AS ad_val_rule_id, c.ad_process_id, c.isalwaysupdateable, c.readonlylogic, c.mandatorylogic, c.isupdateable, c.isencrypted AS isencryptedcolumn, c.isselectioncolumn, tbl.tablename, c.valuemin, c.valuemax, fgt.name AS fieldgroup, vr.code AS validationcode, f.included_tab_id, fg.fieldgrouptype, fg.iscollapsedbydefault, COALESCE(f.infofactoryclass, c.infofactoryclass) AS infofactoryclass, c.isautocomplete, COALESCE(f.isallowcopy, c.isallowcopy) AS isallowcopy, f.isdisplayedgrid, f.seqnogrid
FROM ad_field f
JOIN ad_field_trl trl ON f.ad_field_id = trl.ad_field_id
JOIN ad_tab t ON f.ad_tab_id = t.ad_tab_id
LEFT JOIN ad_fieldgroup fg ON f.ad_fieldgroup_id = fg.ad_fieldgroup_id
LEFT JOIN ad_fieldgroup_trl fgt ON f.ad_fieldgroup_id = fgt.ad_fieldgroup_id AND trl.ad_language::text = fgt.ad_language::text
LEFT JOIN ad_column c ON f.ad_column_id = c.ad_column_id
JOIN ad_table tbl ON c.ad_table_id = tbl.ad_table_id
JOIN ad_reference r ON c.ad_reference_id = r.ad_reference_id
LEFT JOIN ad_val_rule vr ON vr.ad_val_rule_id = COALESCE(f.ad_val_rule_id, c.ad_val_rule_id)
WHERE f.isactive = 'Y'::bpchar AND c.isactive = 'Y'::bpchar;
UPDATE AD_System
SET LastMigrationScriptApplied='873_IDEMPIERE-364_AD_Field_postgresql.sql'
WHERE LastMigrationScriptApplied<'873_IDEMPIERE-364_AD_Field_postgresql.sql'
OR LastMigrationScriptApplied IS NULL;
;

View File

@ -0,0 +1,10 @@
-- Aug 10, 2012 3:55:26 PM COT
-- IDEMPIERE-364 Improve Grid Layout
INSERT INTO AD_ToolBarButton (Name,ComponentName,Classname,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_Client_ID,AD_Org_ID,Created,CreatedBy,AD_ToolBarButton_ID,Updated,UpdatedBy,IsActive,AD_ToolBarButton_UU) VALUES ('zk Window - Customize','Customize','org.adempiere.webui.component.CWindowToolbar','N',0,0,0,0,TO_TIMESTAMP('2012-08-10 15:55:25','YYYY-MM-DD HH24:MI:SS'),100,200058,TO_TIMESTAMP('2012-08-10 15:55:25','YYYY-MM-DD HH24:MI:SS'),100,'Y','73e850aa-66dc-4fd8-a7e0-72623ed457f1')
;
UPDATE AD_System
SET LastMigrationScriptApplied='875_IDEMPIERE-364.sql'
WHERE LastMigrationScriptApplied<'875_IDEMPIERE-364.sql'
OR LastMigrationScriptApplied IS NULL
;

View File

@ -368,7 +368,17 @@ public class GridField
*/
public boolean isEditable (boolean checkContext)
{
return isEditable(m_vo.ctx, checkContext);
return isEditable(m_vo.ctx, checkContext,false);
}
/**
* Is it Editable in Grid- checks IsActive, IsUpdateable, and isDisplayedGrid
* @param checkContext if true checks Context for Active, IsProcessed, LinkColumn
* @return true, if editable
*/
public boolean isEditableGrid (boolean checkContext)
{
return isEditable(m_vo.ctx, checkContext,true);
}
/**
@ -376,7 +386,7 @@ public class GridField
* @param checkContext if true checks Context for Active, IsProcessed, LinkColumn
* @return true, if editable
*/
public boolean isEditable (Properties ctx, boolean checkContext)
public boolean isEditable (Properties ctx, boolean checkContext,boolean isGrid)
{
if (isVirtualColumn())
return false;
@ -461,6 +471,9 @@ public class GridField
return false;
// ultimately visibility decides
if(isGrid)
return isDisplayedGrid();
return isDisplayed (ctx, checkContext);
} // isEditable
@ -1677,7 +1690,7 @@ public class GridField
int AD_Window_ID = 0;
boolean readOnly = false;
String sql = GridFieldVO.getSQL(ctx," ORDER BY IsDisplayed DESC, SeqNo");
String sql = GridFieldVO.getSQL(ctx);
PreparedStatement pstmt = null;
try
{

View File

@ -51,7 +51,7 @@ public class GridFieldVO implements Serializable, SystemIDs
* @param ctx context
* @return SQL with or w/o translation and 1 parameter
*/
public static String getSQL (Properties ctx, String orderedBy)
public static String getSQL (Properties ctx)
{
// IsActive is part of View
String sql = "SELECT * FROM AD_Field_v WHERE AD_Tab_ID=?"
@ -59,7 +59,7 @@ public class GridFieldVO implements Serializable, SystemIDs
if (!Env.isBaseLanguage(ctx, "AD_Tab"))
sql = "SELECT * FROM AD_Field_vt WHERE AD_Tab_ID=?"
+ " AND AD_Language='" + Env.getAD_Language(ctx) + "'"
+ orderedBy;
+ " ORDER BY IsDisplayed DESC, SeqNo";
return sql;
} // getSQL

View File

@ -278,7 +278,7 @@ public class GridTabVO implements Evaluatee, Serializable
//local only or remote fail for vpn profile
mTabVO.Fields = new ArrayList<GridFieldVO>();
String sql = GridFieldVO.getSQL(mTabVO.ctx," ORDER BY IsDisplayed DESC, SeqNo");
String sql = GridFieldVO.getSQL(mTabVO.ctx);
try
{
PreparedStatement pstmt = DB.prepareStatement(sql, null);

View File

@ -584,7 +584,7 @@ public class GridController extends CPanel
else
{
// need to set CellEditor explicitly as default editor based on class causes problem (YesNo-> Boolean)
if (mField.isDisplayed ())
if (mField.isDisplayedGrid())
{
tc.setCellRenderer (new VCellRenderer (mField));
VCellEditor ce = new VCellEditor (mField);

View File

@ -698,11 +698,11 @@ public class GridPanel extends Borderlayout implements EventListener<Event>
else
{
comp.dynamicDisplay();
boolean rw = mField.isEditable(true); // r/w - check Context
boolean rw = mField.isEditableGrid(true); // r/w - check Context
comp.setReadWrite(rw);
}
comp.setVisible(mField.isDisplayed(true));
comp.setVisible(mField.isDisplayedGrid());
}
} // all components
}
@ -767,6 +767,10 @@ public class GridPanel extends Borderlayout implements EventListener<Event>
public void reInit() {
this.setupFields(gridTab);
if(listbox.getFrozen()!=null)
{
listbox.removeChild(listbox.getFrozen());
}
if (listbox.getColumns() != null) {
listbox.removeChild(listbox.getColumns());
}

View File

@ -120,7 +120,7 @@ public class GridTabListItemRenderer implements ListitemRenderer, ListitemRender
}
for (int i = 0; i < columnCount; i++) {
if (!listPanelFields[i].isDisplayed()) {
if (!listPanelFields[i].isDisplayedGrid()) {
continue;
}
if (editors.get(listPanelFields[i]) == null)

View File

@ -227,7 +227,7 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
GridRowCtx gridRowCtx = new GridRowCtx(Env.getCtx(), gridTab, rowIndex);
WButtonEditor editor = new WButtonEditor(gridField, rowIndex);
editor.setValue(gridTab.getValue(rowIndex, gridField.getColumnName()));
editor.setReadWrite(gridField.isEditable(gridRowCtx, true));
editor.setReadWrite(gridField.isEditable(gridRowCtx, true,true));
editor.getComponent().setAttribute("grid.row.index", rowIndex);
editor.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent event) {
@ -406,7 +406,7 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
if (editors.get(gridPanelFields[i]) == null)
editors.put(gridPanelFields[i], WebEditorFactory.getEditor(gridPanelFields[i], true));
if (!gridPanelFields[i].isDisplayed()) {
if (!gridPanelFields[i].isDisplayedGrid()) {
continue;
}
colIndex ++;
@ -498,7 +498,7 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
//skip indicator column
int colIndex = 0;
for (int i = 0; i < columnCount; i++) {
if (!gridPanelFields[i].isDisplayed()) {
if (!gridPanelFields[i].isDisplayedGrid()) {
continue;
}
colIndex ++;
@ -522,11 +522,11 @@ public class GridTabRowRenderer implements RowRenderer<Object[]>, RowRendererExt
}
//check context
if (!gridPanelFields[i].isDisplayed(true))
if (!gridPanelFields[i].isDisplayedGrid())
{
editor.setVisible(false);
}
editor.setReadWrite(gridPanelFields[i].isEditable(true));
editor.setReadWrite(gridPanelFields[i].isEditableGrid(true));
}
}
editing = true;

View File

@ -20,6 +20,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
@ -330,6 +331,7 @@ public class CustomizeGridViewPanel extends Panel
pstmt.setInt(1, m_AD_Tab_ID);
rs = pstmt.executeQuery();
HashMap<Integer, ListElement> curTabSel = new HashMap<Integer, CustomizeGridViewPanel.ListElement>();
while (rs.next())
{
int key = rs.getInt(1);
@ -339,7 +341,7 @@ public class CustomizeGridViewPanel extends Panel
ListElement pp = new ListElement(key, name, AD_Client_ID, AD_Org_ID);
if (tableSeqs != null && tableSeqs.size() > 0 ) {
if (tableSeqs.contains(key)) {
yesModel.addElement(pp);
curTabSel.put(key, pp);
} else {
noModel.addElement(pp);
}
@ -347,6 +349,13 @@ public class CustomizeGridViewPanel extends Panel
noModel.addElement(pp);
}
}
if(tableSeqs!=null){
for(int key:tableSeqs){
if(curTabSel.get(key)!=null){
yesModel.addElement(curTabSel.get(key));
}
}
}
}
catch (SQLException e)
{
@ -358,6 +367,7 @@ public class CustomizeGridViewPanel extends Panel
rs = null; pstmt = null;
}
bAdd.setEnabled(true);
bRemove.setEnabled(true);
bUp.setEnabled(true);