-- IDEMPIERE-2837 Use in a better way saved searches
-- Nov 13, 2019, 2:21:30 PM CET
INSERTINTOAD_Column(AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml)VALUES(214110,0,'Window','Data entry or display window','The Window field identifies a unique Window in the system.',814,'AD_Window_ID',22,'N','N','Y','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2019-11-13 14:21:29','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:21:29','YYYY-MM-DD HH24:MI:SS'),100,143,'Y','N','D','N','N','N','Y','93cc9f06-9e31-4c4f-812f-703cdd3e7246','Y',0,'N','N','N','N')
INSERTINTOAD_Column(AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml)VALUES(214111,0,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',814,'AD_Role_ID',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2019-11-13 14:22:12','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:22:12','YYYY-MM-DD HH24:MI:SS'),100,123,'Y','N','D','N','N','N','Y','92d2a43c-1bab-4954-8824-f6ac0b963114','Y',0,'N','N','C','N')
INSERTINTOAD_Window(AD_Window_ID,Name,Description,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,WindowType,Processing,EntityType,IsSOTrx,IsDefault,WinHeight,WinWidth,IsBetaFunctionality,AD_Window_UU)VALUES(200109,'User Queries','View and maintain saved queries',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:54:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:54:09','YYYY-MM-DD HH24:MI:SS'),100,'M','N','D','Y','N',0,0,'N','80f23fc9-ca11-410d-96fa-e77a2c0698cf')
;
-- Nov 13, 2019, 2:55:59 PM CET
INSERTINTOAD_Tab(AD_Tab_ID,Name,Description,AD_Window_ID,SeqNo,IsSingleRow,AD_Table_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,HasTree,IsInfoTab,IsTranslationTab,IsReadOnly,Processing,ImportFields,TabLevel,IsSortTab,EntityType,IsInsertRecord,IsAdvancedTab,AD_Tab_UU,TreeDisplayedOn)VALUES(200275,'User Queries','View and maintain saved queries',200109,10,'Y',814,0,0,'Y',TO_TIMESTAMP('2019-11-13 14:55:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:55:59','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',0,'N','D','Y','N','69116c36-1b86-42b5-85a2-6449c466d7c3','B')
;
-- Nov 13, 2019, 2:56:06 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206298,'Client','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.',200275,14350,'Y',10,10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:06','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:06','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a954fc33-69e3-483d-8fae-1fc4236afe9c','Y',10,2)
;
-- Nov 13, 2019, 2:56:07 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsAllowCopy,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan)VALUES(206299,'Organization','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.',200275,14351,'Y',10,20,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ef5a0c2f-8efc-4d48-b037-7f0eb4b1ea16','Y','Y',20,4,2)
;
-- Nov 13, 2019, 2:56:07 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206300,'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.',200275,14357,'Y',60,30,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f72155fa-cb35-4abf-9a74-3761f78ad058','Y',30,5)
;
-- Nov 13, 2019, 2:56:07 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206301,'Description','Optional short description of the record','A description is limited to 255 characters.',200275,14358,'Y',255,40,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','7efba272-19e1-4072-abd9-9141a8d197a2','Y',40,5)
;
-- Nov 13, 2019, 2:56:08 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan)VALUES(206302,'User Query','Saved User Query',200275,14349,'N',10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:07','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','63d375de-c962-4247-a72f-e9dcf2230522','N',2)
;
-- Nov 13, 2019, 2:56:08 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206303,'User/Contact','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',200275,14359,'Y',10,50,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','dcba9aa1-8cd6-47e1-9ec6-bbfc18cda40f','Y',50,2)
;
-- Nov 13, 2019, 2:56:08 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206304,'Table','Database Table information','The Database Table provides the information of the table definition',200275,14360,'Y',10,60,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','216bf9c3-a823-4b93-8270-cebecfb4e70b','Y',60,2)
;
-- Nov 13, 2019, 2:56:09 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan,NumLines)VALUES(206305,'Validation code','Validation Code','The Validation Code displays the date, time and message of the error.',200275,14361,'Y',2000,70,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:08','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','d7328786-3df5-4b0c-ab76-a9f443563524','Y',70,5,5)
;
-- Nov 13, 2019, 2:56:09 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206306,'Tab','Tab within a Window','The Tab indicates a tab that displays within a window.',200275,53251,'Y',10,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','616f6380-09c3-4477-ab68-12e0443ec7c1','Y',80,2)
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206308,'Window','Data entry or display window','The Window field identifies a unique Window in the system.',200275,214110,'Y',22,90,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','e9b211a4-d7f1-485f-a7bc-efc5ad4c62e1','Y',90,2)
;
-- Nov 13, 2019, 2:56:10 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan)VALUES(206309,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',200275,214111,'Y',22,100,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-11-13 14:56:10','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 14:56:10','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','6dfa486a-ae01-4913-b521-a68a97722faa','Y',100,2)
;
-- Nov 13, 2019, 2:56:10 PM CET
INSERTINTOAD_Field(AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan)VALUES(206310,'Active','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.
INSERTINTOAD_Menu(AD_Menu_ID,Name,Description,"action",AD_Window_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,AD_Menu_UU)VALUES(200172,'User Queries','View and maintain saved queries','W',200109,0,0,'Y',TO_TIMESTAMP('2019-11-13 15:31:37','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-13 15:31:37','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','D','Y','d0d9f558-adaa-4ef4-91b7-04b5195d4efa')
;
-- Nov 14, 2019, 12:10:20 PM CET
INSERTINTOAD_Message(MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU)VALUES('I','Share search filter with all users',0,0,'Y',TO_TIMESTAMP('2019-11-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-11-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100,200581,'ShareFilter','D','9e9e6256-79cf-4dc0-b8c9-f06d0b51797c')