diff --git a/migration/i7.1z/oracle/202009290730_IDEMPIERE-4459.sql b/migration/i7.1z/oracle/202009290730_IDEMPIERE-4459.sql new file mode 100644 index 0000000000..8e3e45ef69 --- /dev/null +++ b/migration/i7.1z/oracle/202009290730_IDEMPIERE-4459.sql @@ -0,0 +1,1320 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-4459 +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Window (AD_Window_ID,Name,Description,Help,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,WindowType,Processing,EntityType,IsSOTrx,IsDefault,IsBetaFunctionality,AD_Window_UU) VALUES (200110,'Info Window Customization','Define Info Window Customization for Role/User','The customization values defined here overwrite/replace the default system definition if defined.',0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'M','N','D','Y','N','N','49fe86de-d43f-4069-98a4-e649a837e6ce') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,AD_Window_ID,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200266,'User defined Info Window',200110,'AD_UserDef_Info',135,'6',0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','bf0ce772-b06d-4c8a-87f2-42adfa5b31a2','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info',1000000,'N','N','Table AD_UserDef_Info','Y','Y',0,0,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,200332,'Y',1000000,1,200000,'e6ff4b12-be71-49dd-8c7c-47ef5e3e7ef7') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203433,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_ID','User defined Info Window','User Info Win','D','f59f4c84-4613-48a8-b297-9f2b65aabf7c') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214227,0.0,'User defined Info Window',200266,'AD_UserDef_Info_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','b148f025-8d82-46ae-8126-27afd1a0269f','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +CREATE TABLE AD_UserDef_Info (AD_UserDef_Info_ID NUMBER(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Key PRIMARY KEY (AD_UserDef_Info_ID)) +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214228,0.0,'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.',200266,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','49081b54-d21c-4626-a519-0f6b9587b87c','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214229,0.0,'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.',200266,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','88359471-f67b-4c75-854c-f9a842db05ca','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214230,0.0,'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. +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.',200266,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','ac4ed706-e659-42e4-8c9a-30f91674b6b3','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214231,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200266,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','02ba72c6-ebb4-484c-9562-f5ffca19afa5','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD Created DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214232,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200266,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','6e420cdc-23ee-4373-99e8-8b31f9a05e43','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214233,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200266,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','53704635-02ba-4cb1-b166-08b6b27070a6','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD Updated DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214234,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200266,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','0f9a1dc0-55c3-4396-8bf8-5547ec3d6314','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214235,0.0,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',200266,'AD_Role_ID',10,'N','N','N','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,123,'Y','N','D','Y','N','N','Y','fe8cb3f5-3a35-4226-aa43-66a6015b0785','Y','N','N','adrole_aduserdefinfo','C','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_Role_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214236,0.0,'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',200266,'AD_User_ID',10,'N','N','N','N','N','N',30,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,138,'Y','N','D','Y','N','N','Y','79532b19-8765-4cd9-af0a-fb3a7a063202','Y','N','N','aduser_aduserdefinfo','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_User_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214237,0.0,'Info Window','Info and search/select Window','The Info window is used to search and select records as well as display information relevant to the selection.',200266,'AD_InfoWindow_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,3068,'N','N','D','Y','N','N','Y','355c6b3b-a540-4bf5-983d-3a5ac0a6dc78','Y','N','N','C','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_InfoWindow_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214238,0.0,'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.',200266,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','cf743c89-f7dd-4679-aa63-9dc34b4b5cc5','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD Name VARCHAR2(60 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214239,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200266,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','d787f330-ec55-4874-87c5-4f3ee56cec7b','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD Description VARCHAR2(255 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214240,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200266,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','701db25f-33b4-4e8b-afde-38cc917f594e','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD Help VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214241,0.0,'Language','Language for this entity','The Language identifies the language to use for display and formatting',200266,'AD_Language',6,'N','N','N','N','N','N',18,106,0,0,'Y',TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,109,'Y','N','D','Y','N','N','Y','22154794-072c-4240-891e-ad3623df3b93','Y','N','N','adlangu_aduserdefinfo','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_Language VARCHAR2(6 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203436,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_UU','AD_UserDef_Info_UU','AD_UserDef_Info_UU','D','445df916-338b-4a70-8838-a7331b4d25c2') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214245,0.0,'AD_UserDef_Info_UU',200266,'AD_UserDef_Info_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203436,'N','N','D','Y','N','N','Y','04f2c9c7-d3e3-4847-93b0-edb8fc829af0','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info ADD AD_UserDef_Info_UU VARCHAR2(36 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT AD_UserDef_Info_UU_idx UNIQUE (AD_UserDef_Info_UU) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200268,'User defined Info Window Column','AD_UserDef_Info_Column',135,'6',0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','50038b97-2f94-40f0-8ae2-79b517c07390','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info_Column',1000000,'N','N','Table AD_UserDef_Info_Column','Y','Y',0,0,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,200333,'Y',1000000,1,200000,'9100f403-1c05-42b3-9cb7-889e024f201f') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203434,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Column_ID','User defined Info Column','User Info Column','D','c6764b46-7e2f-47f7-93dc-fd2485211131') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214271,0.0,'User defined Info Column',200268,'AD_UserDef_Info_Column_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203434,'N','N','D','Y','N','N','Y','b370b463-85ec-41d2-aa8f-2a121041d7a7','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +CREATE TABLE AD_UserDef_Info_Column (AD_UserDef_Info_Column_ID NUMBER(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Column_Key PRIMARY KEY (AD_UserDef_Info_Column_ID)) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214272,0.0,'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.',200268,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','d39252c7-ae85-458c-b20b-9e13c47b7808','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214273,0.0,'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.',200268,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','2c6e10f1-d702-4f9a-9420-1e3b8b7d49f7','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214274,0.0,'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. +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.',200268,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','dc7884f2-06ca-419f-bfdc-025b1f94de88','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214275,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200268,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','bf072bc6-b62b-4a04-acaa-e015c235c0cc','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Created DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214276,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200268,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','2056c54d-0543-4454-b660-28a3dba7ed1c','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214277,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200268,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','e9767da8-79cd-4cf0-9acf-52a33269ee2b','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Updated DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214278,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200268,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','857ea778-427d-4e25-8ba8-7dcbe2261069','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214279,0.0,'Info Column','Info Window Column','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',200268,200065,'AD_InfoColumn_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,3069,'N','N','D','Y','N','N','Y','c8b226ca-a750-4f36-bbae-f0c9d8d681b8','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_InfoColumn_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214280,0.0,'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.',200268,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','2a4a9c5a-7abc-4556-b793-a021b9cd881b','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Name VARCHAR2(60 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214281,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200268,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','dc13fdf2-6024-45f1-b5e1-1f038a471378','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Description VARCHAR2(255 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214282,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200268,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','1ca3f676-fc63-4a53-9093-d3971d3da078','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Help VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203438,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Column_UU','AD_UserDef_Info_Column_UU','AD_UserDef_Info_Column_UU','D','5caacb44-b85b-4041-aca9-c2537b53ce49') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214283,0.0,'AD_UserDef_Info_Column_UU',200268,'AD_UserDef_Info_Column_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203438,'N','N','D','Y','N','N','Y','515c5930-6520-4e23-8dd2-a3046d30c573','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_UserDef_Info_Column_UU VARCHAR2(36 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT AD_UserDef_Info_Column_UU_idx UNIQUE (AD_UserDef_Info_Column_UU) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214286,0.0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200268,'SeqNo',10,'N','N','Y','N','N','N',11,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','Y','N','N','Y','ade452ae-74c9-4c71-baff-7f5e98a35df0','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD SeqNo NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214287,0.0,'Displayed','Determines, if this field is displayed','If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed',200268,'IsDisplayed',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,368,'Y','N','D','Y','N','N','Y','0f88487a-4f36-44a3-957b-88c5cbace276','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsDisplayed CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214288,0.0,'Query Criteria','The column is also used as a query criteria','The column is used to enter queries - the SQL cannot be an expression',200268,'IsQueryCriteria',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,3070,'Y','N','D','Y','N','N','Y','15006214-23ce-4ee9-98c8-938401993124','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsQueryCriteria CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214290,0.0,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200268,'AD_Reference_ID',10,'N','N','N','N','N','N',18,1,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,120,'Y','N','D','Y','N','N','Y','9fe08529-33ae-4a29-b0d5-fa3268fd13fc','Y','N','N','adreference_aduserdefcolumn','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_Reference_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214292,0.0,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200268,115,'AD_Reference_Value_ID',10,'N','N','N','N','N','N',18,4,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,121,'Y','N','D','Y','N','N','Y','fda4d3fe-9b79-4c5c-b51d-8023dcbd3cee','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_Reference_Value_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214293,0.0,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200268,'AD_Val_Rule_ID',10,'N','N','N','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,139,'Y','N','D','Y','N','N','Y','7db14722-0d54-4cd1-be09-3341053e3ea2','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_Val_Rule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214295,0.0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200268,'DisplayLogic',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','Y','N','N','Y','06877dff-75a8-4d5c-b9a2-86e08406cbb7','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD DisplayLogic VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,MandatoryLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214297,0.0,'Query Operator','Operator for database query',200268,'QueryOperator',10,'N','N','N','N','N','N',17,200061,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,202188,'Y','N','D','Y','N','@IsQueryCriteria@=Y','N','Y','f77da0c5-bdac-40a9-83e3-9c1e2c0a86ac','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD QueryOperator VARCHAR2(10 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214298,0.0,'Query Function','Database function for query','Database function for user query. If the database function takes more than just the column name parameter, use ? to indicate where the column name should goes to. E.g: Upper, Trunc and To_Char(?,''MM'')',200268,'QueryFunction',2000,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,202189,'Y','N','D','Y','N','N','Y','df3004cf-ef37-4c71-869f-54e3b31281ba','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD QueryFunction VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214300,0.0,'Selection Column Sequence','Selection Column Sequence','For ordering sequence of selection column',200268,'SeqNoSelection','0',10,'N','N','N','N','N','N',11,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,200096,'Y','N','D','Y','N','N','Y','4248b59c-2f42-47f9-8f7c-65c8a0aa591b','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD SeqNoSelection NUMBER(10) DEFAULT 0 +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214305,0.0,'Default Logic','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200268,'DefaultValue',2000,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,272,'Y','N','D','Y','N','N','Y','7f881248-d5d8-4b64-910b-cca588e38931','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD DefaultValue VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214307,0.0,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200268,'IsMandatory',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,392,'Y','N','D','Y','N','N','Y','409d763f-d6a0-46a7-9d16-4834a5de43af','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsMandatory CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214309,0.0,'Read Only','Field is read only','The Read Only indicates that this field may only be Read. It may not be updated.',200268,'IsReadOnly',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,405,'Y','N','D','Y','N','N','Y','0c9661b8-33e5-49fe-a9be-411db249faf3','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsReadOnly CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214310,0.0,'Placeholder',200268,'Placeholder',255,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203163,'Y','N','D','Y','N','N','Y','8abd7b94-9da0-487f-a1dc-ca2f02ccae47','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD Placeholder VARCHAR2(255 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214311,0.0,'Input field validation','Input field validaton query','Input field validaton query',200268,'InputFieldValidation',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203216,'Y','N','D','Y','N','N','Y','13dba0ff-8984-49a6-9876-2562a96a4aa1','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD InputFieldValidation VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214312,0.0,'Field Style','Field CSS Style ',200268,'AD_FieldStyle_ID',10,'N','N','N','N','N','N',18,200121,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203012,'Y','N','D','Y','N','N','Y','b760d164-353e-4e61-98e9-61b4c1a7b2af','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_FieldStyle_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214313,0.0,'Autocomplete','Automatic completion for textfields','The autocompletion uses all existing values (from the same client and organization) of the field.',200268,'IsAutocomplete',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,53655,'Y','N','D','Y','N','N','Y','1ae09f15-49e6-42c1-a802-a43c410f857b','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD IsAutocomplete CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,DefaultValue,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,FKConstraintName,FKConstraintType,IsHtml) VALUES (214314,0,'User defined Info Window',200268,'AD_UserDef_Info_ID','@AD_UserDef_Info_ID@',22,'N','Y','Y','N','N',0,'N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','8758377a-2340-4fb1-9f59-9949d1a3dcab','Y',0,'N','N','ADUserDefInfo_ADUserDefInfoCol','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD AD_UserDef_Info_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200267,'User defined Info Window Related','AD_UserDef_Info_Related',135,'6',0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','c7a35973-e80a-45a3-885f-ced286ba7d10','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info_Related',1000000,'N','N','Table AD_UserDef_Info_Related','Y','Y',0,0,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,200334,'Y',1000000,1,200000,'55a3ccf3-6dad-4b0c-992a-ab53ec67041d') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203435,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Related_ID','User defined Info Related','User Info Related','D','60154684-1e81-4868-8295-99c3f8d22fbc') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214246,0.0,'User defined Info Related',200267,'AD_UserDef_Info_Related_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203435,'N','N','D','Y','N','N','Y','ee258c88-b40b-47eb-9336-367ffaaf0c4f','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +CREATE TABLE AD_UserDef_Info_Related (AD_UserDef_Info_Related_ID NUMBER(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Related_Key PRIMARY KEY (AD_UserDef_Info_Related_ID)) +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214247,0.0,'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.',200267,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','75d6a16c-350f-435d-ad3a-14c3bd766de4','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD AD_Client_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214248,0.0,'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.',200267,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','6f22c7ac-8e32-4d38-9dfb-6708920a6d14','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD AD_Org_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214249,0.0,'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. +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.',200267,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','0c7aabc6-4a40-42b0-b05a-44cdd06006bf','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214250,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200267,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','268d8df0-7714-40ad-a745-63f91b4921e2','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD Created DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214251,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200267,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','8c0d4db1-8807-4646-b7c4-60c6a42040ee','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CreatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214252,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200267,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','4b228dfd-2fd0-4b47-8879-b33d45e26cf8','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD Updated DATE DEFAULT SYSDATE NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214253,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200267,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','16493810-fd33-4ca6-bb8d-20800c7a1184','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD UpdatedBy NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214254,0.0,'User defined Info Window',200267,'AD_UserDef_Info_ID','@AD_UserDef_Info_ID@',10,'N','Y','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','9f604bf1-cfa8-49c1-a180-3aecfa55d681','Y','N','N','ADUserDefInfo_ADUserDefInfoRel','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD AD_UserDef_Info_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Val_Rule (AD_Val_Rule_ID,Name,Type,Code,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Val_Rule_UU) VALUES (200141,'AD_InfoRelated Windows','S','AD_InfoRelated.AD_InfoWindow_ID=@AD_InfoWindow_ID@',0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'D','1857d9ec-905b-4352-922d-dd9e46fab36c') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214255,0.0,'InfoRelated',200267,200141,'AD_InfoRelated_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,202556,'N','N','D','Y','N','N','Y','33359872-aa10-4fa2-bc06-5d1a828c971f','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD AD_InfoRelated_ID NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214256,0.0,'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.',200267,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','887484d9-7533-474a-b0dd-f5bf391398c8','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD Name VARCHAR2(60 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214257,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200267,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','004544c7-eb56-47dc-8e3f-2205c9a9e047','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD Description VARCHAR2(255 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214258,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200267,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','382d2129-4772-4554-8086-16bfea67929c','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD Help VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203437,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Related_UU','AD_UserDef_Info_Related_UU','AD_UserDef_Info_Related_UU','D','61fbc58b-539b-4181-9eac-91867d39a6cf') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214261,0.0,'AD_UserDef_Info_Related_UU',200267,'AD_UserDef_Info_Related_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203437,'N','N','D','Y','N','N','Y','f0b0a8d8-3e22-4504-83fd-b50b49fea309','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD AD_UserDef_Info_Related_UU VARCHAR2(36 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT AD_UserDef_Info_Related_UU_idx UNIQUE (AD_UserDef_Info_Related_UU) +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214266,0.0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200267,'DisplayLogic',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','Y','N','N','Y','93ce9482-7fb4-4d54-97b0-51da098363c3','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD DisplayLogic VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214270,0.0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200267,'SeqNo',10,'N','N','Y','N','N','N',11,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','Y','N','N','Y','1b5028d1-38db-41c5-9743-be85a4964b64','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD SeqNo NUMBER(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200279,'Column Customization',200110,20,'Y',200268,0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',1,'N','D','Y','N','50258ad1-c73b-4b4e-9a84-098d8a8ca2a7','B',0) +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206436,'User defined Info Column',200279,214271,'N',10,0,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2cceba74-a3db-488f-b061-91e840f8f8ca','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206438,'AD_UserDef_Info_Column_UU',200279,214283,'N',36,0,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ac44dab5-36be-4e7b-a87f-76fe91105761','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206431,'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.',200279,214272,'Y',10,10,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','7c671412-91ba-4107-aa6c-75c24aa29b88','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206432,'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.',200279,214273,'Y',10,20,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','d9761524-5421-4a92-842e-ba7dca73b2cc','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206506,'User defined Info Window',200279,214314,'Y',22,30,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','166e9f9d-d7ec-478c-bb64-54e4c7355f8a','Y',370,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206437,'Info Column','Info Window Column','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',200279,214279,'Y',10,40,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','032bdc84-f757-4643-a618-8d6602c9b81e','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206433,'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.',200279,214280,'Y',60,50,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5d7bbb44-7fe3-47fe-95d2-178256d95c93','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206434,'Description','Optional short description of the record','A description is limited to 255 characters.',200279,214281,'Y',255,60,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f5903082-8d4b-44c0-964a-28cf4161c5a2','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206435,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200279,214282,'Y',2000,70,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1e423ac8-03ab-48cc-99b6-850d34002185','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206469,'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. +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.',200279,214274,'Y',1,80,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c3bee628-857f-4315-9b60-422cb7b65001','Y',360,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206443,'Query Criteria','The column is also used as a query criteria','The column is used to enter queries - the SQL cannot be an expression',200279,214288,'Y',1,90,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a332223d-88d0-4582-8038-f3e9a5c40dc2','Y',100,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206441,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200279,214286,'Y',10,100,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','222e8de0-2c92-4eb6-94e3-3a89e8469e7b','Y',80,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206455,'Selection Column Sequence','Selection Column Sequence','For ordering sequence of selection column',200279,214300,'Y',10,110,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c4bfa94a-2b68-47de-974c-c0fe0378dc99','Y',220,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206442,'Displayed','Determines, if this field is displayed','If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed',200279,214287,'Y',1,120,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f9bcf547-4868-4798-8b91-95d0c69c664f','Y',90,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206464,'Read Only','Field is read only','The Read Only indicates that this field may only be Read. It may not be updated.',200279,214309,'Y',1,130,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','33e258bb-49f5-4007-8339-b7274a9fab6d','Y',310,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206462,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200279,214307,'Y',1,150,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1b1c69a5-25d1-49b2-bb1e-aa75cae10f1f','Y',290,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206450,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200279,214295,'Y',2000,160,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','97feaea9-fbd1-4b7a-b037-b03ee26721c5','Y',170,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206460,'Default Logic','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200279,214305,'Y',2000,170,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','3af2c09a-f1d4-4194-9b65-173a2af8e4de','Y',270,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,Description,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206467,'Field Style','Field CSS Style ',200279,214312,'Y',10,180,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','3d662531-ed79-492b-81b0-d08d0cf4db6b','Y',340,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206468,'Autocomplete','Automatic completion for textfields','The autocompletion uses all existing values (from the same client and organization) of the field.',200279,214313,'Y',1,190,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','acb3ab3e-f88e-484f-ac3f-75720877d3f6','Y',350,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206465,'Placeholder',200279,214310,'Y',255,200,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','813f1a59-3764-45e3-9214-e0adeea8662e','Y',320,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,AD_FieldGroup_ID,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206445,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200279,214290,'Y',10,210,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y',200004,'D','be75ecf9-7d02-460e-a286-bc16b7fce809','Y',120,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206448,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200279,214293,'Y',10,220,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ad8fc99f-339e-4ce0-adf2-cdb7e1db56e9','Y',150,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206447,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200279,214292,'Y',10,230,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','63cf963c-c92b-4f9d-94c8-4cc5f53dd4ab','Y',140,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206453,'Query Function','Database function for query','Database function for user query. If the database function takes more than just the column name parameter, use ? to indicate where the column name should goes to. E.g: Upper, Trunc and To_Char(?,''MM'')',200279,214298,'Y',2000,240,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','cccabe72-d84e-4e76-a802-fb5ae612072b','Y',200,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,Description,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206452,'Query Operator','Operator for database query',200279,214297,'Y',10,250,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','10107421-94ef-4971-906a-d554f65ff4ea','Y',190,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206466,'Input field validation','Input field validaton query','Input field validaton query',200279,214311,'Y',2000,300,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','681cad79-973b-4729-9038-a768de6a2157','Y',330,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200280,'Info Window Customization',200110,10,'Y',200266,0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',0,'N','D','Y','N','e939cff1-b690-4902-97f0-2443609cc00e','B',0) +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206470,'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.',200280,214228,'Y',10,10,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','25bc5758-768c-4ac7-911b-c6f300b20794','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206471,'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.',200280,214229,'Y',10,20,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','43009af9-0b73-4cc6-9af9-9de872e352d1','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206472,'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.',200280,214238,'Y',60,30,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4fb3e4fb-7508-4a26-8139-a521fd641398','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206473,'Description','Optional short description of the record','A description is limited to 255 characters.',200280,214239,'Y',255,40,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','790e76b3-a79d-484c-8a35-7b815a9e080f','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206474,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200280,214240,'Y',2000,50,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4a91902b-1b73-450a-88c5-864c1ae5935f','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206476,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',200280,214235,'Y',10,60,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','141c6f74-1b7c-4898-8add-34d13d6525ad','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206477,'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',200280,214236,'Y',10,70,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','602ae35f-8474-4f3d-922b-cd0fed2edb08','Y',60,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206478,'Info Window','Info and search/select Window','The Info window is used to search and select records as well as display information relevant to the selection.',200280,214237,'Y',10,80,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','6308fcb5-5f1d-4aa3-8376-8fc7aa54bb53','Y',70,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206479,'Language','Language for this entity','The Language identifies the language to use for display and formatting',200280,214241,'Y',6,90,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','65a5db92-f50f-4cde-a274-3edaacc2d120','Y',80,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206484,'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. +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.',200280,214230,'Y',1,130,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f3800950-3c95-4b9d-9319-d9c249438159','Y',120,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206483,'AD_UserDef_Info_UU',200280,214245,'N',36,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c5cf65a9-aa5a-48cd-a064-9cbb06429187','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206475,'User defined Info Window',200280,214227,'N',10,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','93d70a87-d7bb-4900-8477-e2314b09394c','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200281,'Related Customization',200110,30,'Y',200267,0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',1,'N','D','Y','N','b592e5b9-2a8b-4f14-8639-f7b003539224','B',0) +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206500,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200281,214266,'Y',2000,0,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','7a5af0d4-bf0a-44ec-b11a-fc2814adbb70','Y',130,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206495,'AD_UserDef_Info_Related_UU',200281,214261,'N',36,0,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','091580eb-5bd1-4be2-b866-3d3dd920054f','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206490,'User defined Info Related',200281,214246,'N',10,0,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','7a14984f-f64e-43bb-be0f-ae19ea493e8c','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206485,'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.',200281,214247,'Y',10,10,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','8540ad53-e8c1-41ea-b0b2-218fade7afc7','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206486,'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.',200281,214248,'Y',10,20,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','82d03105-cd2d-43af-be66-c349e46c373f','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206491,'User defined Info Window',200281,214254,'Y',10,30,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','d1e8b5ea-e001-48e5-924e-859ed79b6cdc','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206487,'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.',200281,214256,'Y',60,40,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b2eae256-2ed0-40b9-b92d-c5fcdbddff83','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206488,'Description','Optional short description of the record','A description is limited to 255 characters.',200281,214257,'Y',255,50,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a14e0b20-2f08-48ef-af67-b9f0fa29b76f','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206489,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200281,214258,'Y',2000,60,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','80840f5a-cf76-435c-a26d-c200fd1c5522','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206492,'InfoRelated',200281,214255,'Y',10,70,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a8d3e0c3-a6d7-4209-8200-a5375131df0a','Y',60,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206504,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200281,214270,'Y',10,80,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','51d6bf36-4654-4591-9cee-4c7e00cf9ef4','Y',170,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206505,'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. +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.',200281,214249,'Y',1,90,'N','N','N','N',0,0,'Y',TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','8aa5de2b-f9c0-4333-a302-dd572a688fc0','Y',180,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT adrole_aduserdefinfo FOREIGN KEY (AD_Role_ID) REFERENCES ad_role(ad_role_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT aduser_aduserdefinfo FOREIGN KEY (AD_User_ID) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoWindow_ADUserDefInfo', FKConstraintType='C',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214237 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT ADInfoWindow_ADUserDefInfo FOREIGN KEY (AD_InfoWindow_ID) REFERENCES ad_infowindow(ad_infowindow_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT adlangu_aduserdefinfo FOREIGN KEY (AD_Language) REFERENCES ad_language(ad_language) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoColumn_ADUserDefInfoColu', FKConstraintType='N',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214279 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADInfoColumn_ADUserDefInfoColu FOREIGN KEY (AD_InfoColumn_ID) REFERENCES ad_infocolumn(ad_infocolumn_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT adreference_aduserdefcolumn FOREIGN KEY (AD_Reference_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADReferenceValue_ADUserDefInfo', FKConstraintType='N',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214292 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADReferenceValue_ADUserDefInfo FOREIGN KEY (AD_Reference_Value_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADValRule_ADUserDefInfoColumn', FKConstraintType='N',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214293 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADValRule_ADUserDefInfoColumn FOREIGN KEY (AD_Val_Rule_ID) REFERENCES ad_val_rule(ad_val_rule_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADFieldStyle_ADUserDefInfoColu', FKConstraintType='N',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214312 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADFieldStyle_ADUserDefInfoColu FOREIGN KEY (AD_FieldStyle_ID) REFERENCES ad_style(ad_style_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADUserDefInfo_ADUserDefInfoCol FOREIGN KEY (AD_UserDef_Info_ID) REFERENCES ad_userdef_info(ad_userdef_info_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT ADUserDefInfo_ADUserDefInfoRel FOREIGN KEY (AD_UserDef_Info_ID) REFERENCES ad_userdef_info(ad_userdef_info_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoRelated_ADUserDefInfoRel', FKConstraintType='N',Updated=TO_DATE('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214255 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT ADInfoRelated_ADUserDefInfoRel FOREIGN KEY (AD_InfoRelated_ID) REFERENCES ad_inforelated(ad_inforelated_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +INSERT INTO AD_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 (200174,'Info Window Customization','Define Info Window Customization for Role/User','W',200110,0,0,'Y',TO_DATE('2020-09-16 10:38:52','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-09-16 10:38:52','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','D','Y','b13e8923-8016-46ee-a687-0e12ca0a8391') +; + +-- Sep 29, 2020, 7:27:00 AM CEST +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', SysDate, 100, SysDate, 100,t.AD_Tree_ID, 200174, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200174) +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200145 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200142 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53203 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=586 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=138 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=139 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200065 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200063 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=249 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=141 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=300 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=589 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200000 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=295 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=216 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=140 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=142 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53012 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=143 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=201 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=176 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200072 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53086 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=239 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=517 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=499 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=26, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200150 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=27, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200174 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=28, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53089 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=29, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53090 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=30, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200038 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=31, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200143 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=32, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200141 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=33, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50001 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=30, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206476 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206477 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206478 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206484 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206472 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206473 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206474 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206479 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=0, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206483 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=0, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206475 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206437 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206441 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206455 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206442 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206464 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206443 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206462 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206450 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206460 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206467 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206468 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206465 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206445 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206448 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206447 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206453 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206452 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=240, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206469 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=250, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206466 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206492 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206487 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206488 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206489 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206504 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206505 +; + +-- Oct 11, 2020, 4:58:25 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=10,Updated=TO_DATE('2020-10-11 16:58:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214237 +; + +-- Oct 11, 2020, 4:58:35 PM CEST +UPDATE AD_Column SET SeqNo=20,Updated=TO_DATE('2020-10-11 16:58:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214238 +; + +-- Oct 11, 2020, 5:00:40 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=2,Updated=TO_DATE('2020-10-11 17:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15787 +; + +-- Oct 11, 2020, 5:01:39 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=3,Updated=TO_DATE('2020-10-11 17:01:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15788 +; + +-- Oct 11, 2020, 5:01:55 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=4,Updated=TO_DATE('2020-10-11 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15789 +; + +-- Oct 11, 2020, 5:03:52 PM CEST +UPDATE AD_Column SET DefaultValue='NULL',Updated=TO_DATE('2020-10-11 17:03:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214286 +; + +-- Oct 11, 2020, 5:04:00 PM CEST +UPDATE AD_Column SET DefaultValue='NULL',Updated=TO_DATE('2020-10-11 17:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214300 +; + +-- Oct 11, 2020, 5:05:18 PM CEST +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2020-10-11 17:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214286 +; + +-- Oct 11, 2020, 5:05:20 PM CEST +ALTER TABLE AD_UserDef_Info_Column MODIFY SeqNo NUMBER(10) DEFAULT NULL +; + +-- Oct 11, 2020, 5:05:20 PM CEST +ALTER TABLE AD_UserDef_Info_Column MODIFY SeqNo NULL +; + +-- Oct 11, 2020, 5:06:35 PM CEST +UPDATE AD_Column SET DefaultValue='NULL', IsMandatory='N',Updated=TO_DATE('2020-10-11 17:06:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214270 +; + +-- Oct 11, 2020, 5:06:36 PM CEST +ALTER TABLE AD_UserDef_Info_Related MODIFY SeqNo NUMBER(10) DEFAULT NULL +; + +-- Oct 11, 2020, 5:06:36 PM CEST +ALTER TABLE AD_UserDef_Info_Related MODIFY SeqNo NULL +; + +SELECT register_migration_script('202009290730_IDEMPIERE-4459.sql') FROM dual +; diff --git a/migration/i7.1z/oracle/202010150940_IDEMPIERE-4459.sql b/migration/i7.1z/oracle/202010150940_IDEMPIERE-4459.sql new file mode 100644 index 0000000000..723f77623b --- /dev/null +++ b/migration/i7.1z/oracle/202010150940_IDEMPIERE-4459.sql @@ -0,0 +1,48 @@ +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- IDEMPIERE-4459 +-- Oct 15, 2020, 9:38:15 AM CEST +INSERT INTO AD_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 (214326,0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200089,'DisplayLogic',2000,'N','N','N','N','N',0,'N',14,0,0,'Y',TO_DATE('2020-10-15 09:38:15','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-10-15 09:38:15','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','N','N','N','Y','835e7d84-da0d-448f-b851-d03203219fe2','Y',0,'N','N','N','N') +; + +-- Oct 15, 2020, 9:38:27 AM CEST +ALTER TABLE AD_InfoRelated ADD DisplayLogic VARCHAR2(2000 CHAR) DEFAULT NULL +; + +-- Oct 15, 2020, 9:39:16 AM CEST +INSERT INTO AD_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 (206520,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+'||chr(64)||'AD_Table_ID@=14 | @Language@!GERGER
+'||chr(64)||'PriceLimit@>10 | @PriceList@>@PriceActual@
+'||chr(64)||'Name@>J
+Strings may be in single quotes (optional)',200100,214326,'Y',2000,130,'N','N','N','N',0,0,'Y',TO_DATE('2020-10-15 09:39:16','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2020-10-15 09:39:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','6ba1b12a-abbb-4e56-92ea-2391ffa6e5fb','Y',100,5,3) +; + +-- Oct 15, 2020, 6:39:04 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, ColumnSpan=5, NumLines=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-15 18:39:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206500 +; + +-- Oct 15, 2020, 6:39:27 PM CEST +UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, NumLines=1, IsToolbarButton=NULL,Updated=TO_DATE('2020-10-15 18:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206520 +; + +SELECT register_migration_script('202010150940_IDEMPIERE-4459.sql') FROM dual +; diff --git a/migration/i7.1z/postgresql/202009290730_IDEMPIERE-4459.sql b/migration/i7.1z/postgresql/202009290730_IDEMPIERE-4459.sql new file mode 100644 index 0000000000..67e98269e1 --- /dev/null +++ b/migration/i7.1z/postgresql/202009290730_IDEMPIERE-4459.sql @@ -0,0 +1,1317 @@ +-- IDEMPIERE-4459 +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Window (AD_Window_ID,Name,Description,Help,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,WindowType,Processing,EntityType,IsSOTrx,IsDefault,IsBetaFunctionality,AD_Window_UU) VALUES (200110,'Info Window Customization','Define Info Window Customization for Role/User','The customization values defined here overwrite/replace the default system definition if defined.',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'M','N','D','Y','N','N','49fe86de-d43f-4069-98a4-e649a837e6ce') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,AD_Window_ID,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200266,'User defined Info Window',200110,'AD_UserDef_Info',135,'6',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','bf0ce772-b06d-4c8a-87f2-42adfa5b31a2','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info',1000000,'N','N','Table AD_UserDef_Info','Y','Y',0,0,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,200332,'Y',1000000,1,200000,'e6ff4b12-be71-49dd-8c7c-47ef5e3e7ef7') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203433,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_ID','User defined Info Window','User Info Win','D','f59f4c84-4613-48a8-b297-9f2b65aabf7c') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214227,0.0,'User defined Info Window',200266,'AD_UserDef_Info_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','b148f025-8d82-46ae-8126-27afd1a0269f','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +CREATE TABLE AD_UserDef_Info (AD_UserDef_Info_ID NUMERIC(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Key PRIMARY KEY (AD_UserDef_Info_ID)) +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214228,0.0,'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.',200266,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','49081b54-d21c-4626-a519-0f6b9587b87c','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214229,0.0,'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.',200266,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','88359471-f67b-4c75-854c-f9a842db05ca','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214230,0.0,'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. +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.',200266,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','ac4ed706-e659-42e4-8c9a-30f91674b6b3','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214231,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200266,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','02ba72c6-ebb4-484c-9562-f5ffca19afa5','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN Created TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214232,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200266,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','6e420cdc-23ee-4373-99e8-8b31f9a05e43','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214233,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200266,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','53704635-02ba-4cb1-b166-08b6b27070a6','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN Updated TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214234,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200266,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','0f9a1dc0-55c3-4396-8bf8-5547ec3d6314','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214235,0.0,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',200266,'AD_Role_ID',10,'N','N','N','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,123,'Y','N','D','Y','N','N','Y','fe8cb3f5-3a35-4226-aa43-66a6015b0785','Y','N','N','adrole_aduserdefinfo','C','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_Role_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214236,0.0,'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',200266,'AD_User_ID',10,'N','N','N','N','N','N',30,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,138,'Y','N','D','Y','N','N','Y','79532b19-8765-4cd9-af0a-fb3a7a063202','Y','N','N','aduser_aduserdefinfo','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_User_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214237,0.0,'Info Window','Info and search/select Window','The Info window is used to search and select records as well as display information relevant to the selection.',200266,'AD_InfoWindow_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,3068,'N','N','D','Y','N','N','Y','355c6b3b-a540-4bf5-983d-3a5ac0a6dc78','Y','N','N','C','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_InfoWindow_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214238,0.0,'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.',200266,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','cf743c89-f7dd-4679-aa63-9dc34b4b5cc5','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN Name VARCHAR(60) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214239,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200266,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','d787f330-ec55-4874-87c5-4f3ee56cec7b','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214240,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200266,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','701db25f-33b4-4e8b-afde-38cc917f594e','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN Help VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:56 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214241,0.0,'Language','Language for this entity','The Language identifies the language to use for display and formatting',200266,'AD_Language',6,'N','N','N','N','N','N',18,106,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:56','YYYY-MM-DD HH24:MI:SS'),100,109,'Y','N','D','Y','N','N','Y','22154794-072c-4240-891e-ad3623df3b93','Y','N','N','adlangu_aduserdefinfo','N','N') +; + +-- Sep 29, 2020, 7:26:56 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_Language VARCHAR(6) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203436,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_UU','AD_UserDef_Info_UU','AD_UserDef_Info_UU','D','445df916-338b-4a70-8838-a7331b4d25c2') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214245,0.0,'AD_UserDef_Info_UU',200266,'AD_UserDef_Info_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203436,'N','N','D','Y','N','N','Y','04f2c9c7-d3e3-4847-93b0-edb8fc829af0','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info ADD COLUMN AD_UserDef_Info_UU VARCHAR(36) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT AD_UserDef_Info_UU_idx UNIQUE (AD_UserDef_Info_UU) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200268,'User defined Info Window Column','AD_UserDef_Info_Column',135,'6',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','50038b97-2f94-40f0-8ae2-79b517c07390','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info_Column',1000000,'N','N','Table AD_UserDef_Info_Column','Y','Y',0,0,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,200333,'Y',1000000,1,200000,'9100f403-1c05-42b3-9cb7-889e024f201f') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203434,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Column_ID','User defined Info Column','User Info Column','D','c6764b46-7e2f-47f7-93dc-fd2485211131') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214271,0.0,'User defined Info Column',200268,'AD_UserDef_Info_Column_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203434,'N','N','D','Y','N','N','Y','b370b463-85ec-41d2-aa8f-2a121041d7a7','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +CREATE TABLE AD_UserDef_Info_Column (AD_UserDef_Info_Column_ID NUMERIC(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Column_Key PRIMARY KEY (AD_UserDef_Info_Column_ID)) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214272,0.0,'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.',200268,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','d39252c7-ae85-458c-b20b-9e13c47b7808','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214273,0.0,'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.',200268,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','2c6e10f1-d702-4f9a-9420-1e3b8b7d49f7','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214274,0.0,'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. +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.',200268,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','dc7884f2-06ca-419f-bfdc-025b1f94de88','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214275,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200268,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','bf072bc6-b62b-4a04-acaa-e015c235c0cc','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Created TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214276,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200268,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','2056c54d-0543-4454-b660-28a3dba7ed1c','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214277,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200268,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','e9767da8-79cd-4cf0-9acf-52a33269ee2b','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Updated TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214278,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200268,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','857ea778-427d-4e25-8ba8-7dcbe2261069','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214279,0.0,'Info Column','Info Window Column','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',200268,200065,'AD_InfoColumn_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,3069,'N','N','D','Y','N','N','Y','c8b226ca-a750-4f36-bbae-f0c9d8d681b8','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_InfoColumn_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214280,0.0,'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.',200268,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','2a4a9c5a-7abc-4556-b793-a021b9cd881b','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Name VARCHAR(60) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214281,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200268,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','dc13fdf2-6024-45f1-b5e1-1f038a471378','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214282,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200268,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','1ca3f676-fc63-4a53-9093-d3971d3da078','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Help VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203438,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Column_UU','AD_UserDef_Info_Column_UU','AD_UserDef_Info_Column_UU','D','5caacb44-b85b-4041-aca9-c2537b53ce49') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214283,0.0,'AD_UserDef_Info_Column_UU',200268,'AD_UserDef_Info_Column_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,203438,'N','N','D','Y','N','N','Y','515c5930-6520-4e23-8dd2-a3046d30c573','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_UserDef_Info_Column_UU VARCHAR(36) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT AD_UserDef_Info_Column_UU_idx UNIQUE (AD_UserDef_Info_Column_UU) +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214286,0.0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200268,'SeqNo',10,'N','N','Y','N','N','N',11,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','Y','N','N','Y','ade452ae-74c9-4c71-baff-7f5e98a35df0','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN SeqNo NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214287,0.0,'Displayed','Determines, if this field is displayed','If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed',200268,'IsDisplayed',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,368,'Y','N','D','Y','N','N','Y','0f88487a-4f36-44a3-957b-88c5cbace276','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsDisplayed CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214288,0.0,'Query Criteria','The column is also used as a query criteria','The column is used to enter queries - the SQL cannot be an expression',200268,'IsQueryCriteria',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,3070,'Y','N','D','Y','N','N','Y','15006214-23ce-4ee9-98c8-938401993124','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsQueryCriteria CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214290,0.0,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200268,'AD_Reference_ID',10,'N','N','N','N','N','N',18,1,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,120,'Y','N','D','Y','N','N','Y','9fe08529-33ae-4a29-b0d5-fa3268fd13fc','Y','N','N','adreference_aduserdefcolumn','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_Reference_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214292,0.0,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200268,115,'AD_Reference_Value_ID',10,'N','N','N','N','N','N',18,4,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,121,'Y','N','D','Y','N','N','Y','fda4d3fe-9b79-4c5c-b51d-8023dcbd3cee','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_Reference_Value_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214293,0.0,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200268,'AD_Val_Rule_ID',10,'N','N','N','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,139,'Y','N','D','Y','N','N','Y','7db14722-0d54-4cd1-be09-3341053e3ea2','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_Val_Rule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214295,0.0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200268,'DisplayLogic',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','Y','N','N','Y','06877dff-75a8-4d5c-b9a2-86e08406cbb7','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN DisplayLogic VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,MandatoryLogic,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214297,0.0,'Query Operator','Operator for database query',200268,'QueryOperator',10,'N','N','N','N','N','N',17,200061,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,202188,'Y','N','D','Y','N','@IsQueryCriteria@=Y','N','Y','f77da0c5-bdac-40a9-83e3-9c1e2c0a86ac','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN QueryOperator VARCHAR(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214298,0.0,'Query Function','Database function for query','Database function for user query. If the database function takes more than just the column name parameter, use ? to indicate where the column name should goes to. E.g: Upper, Trunc and To_Char(?,''MM'')',200268,'QueryFunction',2000,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,202189,'Y','N','D','Y','N','N','Y','df3004cf-ef37-4c71-869f-54e3b31281ba','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN QueryFunction VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214300,0.0,'Selection Column Sequence','Selection Column Sequence','For ordering sequence of selection column',200268,'SeqNoSelection','0',10,'N','N','N','N','N','N',11,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,200096,'Y','N','D','Y','N','N','Y','4248b59c-2f42-47f9-8f7c-65c8a0aa591b','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN SeqNoSelection NUMERIC(10) DEFAULT '0' +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214305,0.0,'Default Logic','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200268,'DefaultValue',2000,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,272,'Y','N','D','Y','N','N','Y','7f881248-d5d8-4b64-910b-cca588e38931','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:57 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN DefaultValue VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:57 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214307,0.0,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200268,'IsMandatory',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:57','YYYY-MM-DD HH24:MI:SS'),100,392,'Y','N','D','Y','N','N','Y','409d763f-d6a0-46a7-9d16-4834a5de43af','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsMandatory CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214309,0.0,'Read Only','Field is read only','The Read Only indicates that this field may only be Read. It may not be updated.',200268,'IsReadOnly',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,405,'Y','N','D','Y','N','N','Y','0c9661b8-33e5-49fe-a9be-411db249faf3','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsReadOnly CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214310,0.0,'Placeholder',200268,'Placeholder',255,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203163,'Y','N','D','Y','N','N','Y','8abd7b94-9da0-487f-a1dc-ca2f02ccae47','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN Placeholder VARCHAR(255) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214311,0.0,'Input field validation','Input field validaton query','Input field validaton query',200268,'InputFieldValidation',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203216,'Y','N','D','Y','N','N','Y','13dba0ff-8984-49a6-9876-2562a96a4aa1','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN InputFieldValidation VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214312,0.0,'Field Style','Field CSS Style ',200268,'AD_FieldStyle_ID',10,'N','N','N','N','N','N',18,200121,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203012,'Y','N','D','Y','N','N','Y','b760d164-353e-4e61-98e9-61b4c1a7b2af','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_FieldStyle_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214313,0.0,'Autocomplete','Automatic completion for textfields','The autocompletion uses all existing values (from the same client and organization) of the field.',200268,'IsAutocomplete',1,'N','N','N','N','N','N',17,319,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,53655,'Y','N','D','Y','N','N','Y','1ae09f15-49e6-42c1-a802-a43c410f857b','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN IsAutocomplete CHAR(1) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,DefaultValue,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,FKConstraintName,FKConstraintType,IsHtml) VALUES (214314,0,'User defined Info Window',200268,'AD_UserDef_Info_ID','@AD_UserDef_Info_ID@',22,'N','Y','Y','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','8758377a-2340-4fb1-9f59-9949d1a3dcab','Y',0,'N','N','ADUserDefInfo_ADUserDefInfoCol','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD COLUMN AD_UserDef_Info_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Table (AD_Table_ID,Name,TableName,LoadSeq,AccessLevel,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSecurityEnabled,IsDeleteable,IsHighVolume,IsView,EntityType,IsChangeLog,ReplicationType,IsCentrallyMaintained,AD_Table_UU,Processing) VALUES (200267,'User defined Info Window Related','AD_UserDef_Info_Related',135,'6',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','N','N','D','Y','L','Y','c7a35973-e80a-45a3-885f-ced286ba7d10','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Sequence (Name,CurrentNext,IsAudited,StartNewYear,Description,IsActive,IsTableID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,AD_Sequence_ID,IsAutoSequence,StartNo,IncrementNo,CurrentNextSys,AD_Sequence_UU) VALUES ('AD_UserDef_Info_Related',1000000,'N','N','Table AD_UserDef_Info_Related','Y','Y',0,0,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,200334,'Y',1000000,1,200000,'55a3ccf3-6dad-4b0c-992a-ab53ec67041d') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203435,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Related_ID','User defined Info Related','User Info Related','D','60154684-1e81-4868-8295-99c3f8d22fbc') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214246,0.0,'User defined Info Related',200267,'AD_UserDef_Info_Related_ID',10,'Y','N','Y','N','N','N',13,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203435,'N','N','D','Y','N','N','Y','ee258c88-b40b-47eb-9336-367ffaaf0c4f','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +CREATE TABLE AD_UserDef_Info_Related (AD_UserDef_Info_Related_ID NUMERIC(10) NOT NULL, CONSTRAINT AD_UserDef_Info_Related_Key PRIMARY KEY (AD_UserDef_Info_Related_ID)) +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214247,0.0,'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.',200267,129,'AD_Client_ID','@#AD_Client_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,102,'N','N','D','Y','N','N','Y','75d6a16c-350f-435d-ad3a-14c3bd766de4','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214248,0.0,'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.',200267,104,'AD_Org_ID','@#AD_Org_ID@',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,113,'N','N','D','Y','N','N','Y','6f22c7ac-8e32-4d38-9dfb-6708920a6d14','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214249,0.0,'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. +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.',200267,'IsActive','Y',1,'N','N','Y','N','N','N',20,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,348,'Y','N','D','Y','N','N','Y','0c7aabc6-4a40-42b0-b05a-44cdd06006bf','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214250,0.0,'Created','Date this record was created','The Created field indicates the date that this record was created.',200267,'Created','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,245,'N','N','D','Y','N','N','Y','268d8df0-7714-40ad-a745-63f91b4921e2','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN Created TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214251,0.0,'Created By','User who created this records','The Created By field indicates the user who created this record.',200267,'CreatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,246,'N','N','D','Y','N','N','Y','8c0d4db1-8807-4646-b7c4-60c6a42040ee','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN CreatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214252,0.0,'Updated','Date this record was updated','The Updated field indicates the date that this record was updated.',200267,'Updated','SYSDATE',29,'N','N','Y','N','N','N',16,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,607,'N','N','D','Y','N','N','Y','4b228dfd-2fd0-4b47-8879-b33d45e26cf8','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN Updated TIMESTAMP DEFAULT statement_timestamp() NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214253,0.0,'Updated By','User who updated this records','The Updated By field indicates the user who updated this record.',200267,'UpdatedBy',10,'N','N','Y','N','N','N',30,110,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,608,'N','N','D','Y','N','N','Y','16493810-fd33-4ca6-bb8d-20800c7a1184','N','N','N','D','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintName,FKConstraintType,IsHtml) VALUES (214254,0.0,'User defined Info Window',200267,'AD_UserDef_Info_ID','@AD_UserDef_Info_ID@',10,'N','Y','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203433,'N','N','D','Y','N','N','Y','9f604bf1-cfa8-49c1-a180-3aecfa55d681','Y','N','N','ADUserDefInfo_ADUserDefInfoRel','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN AD_UserDef_Info_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Val_Rule (AD_Val_Rule_ID,Name,Type,Code,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Val_Rule_UU) VALUES (200141,'AD_InfoRelated Windows','S','AD_InfoRelated.AD_InfoWindow_ID=@AD_InfoWindow_ID@',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'D','1857d9ec-905b-4352-922d-dd9e46fab36c') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214255,0.0,'InfoRelated',200267,200141,'AD_InfoRelated_ID',10,'N','N','Y','N','N','N',19,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,202556,'N','N','D','Y','N','N','Y','33359872-aa10-4fa2-bc06-5d1a828c971f','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN AD_InfoRelated_ID NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214256,0.0,'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.',200267,'Name',60,'N','N','N','N','Y','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,469,'Y','Y','D','Y','N','N','Y','887484d9-7533-474a-b0dd-f5bf391398c8','Y',10,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN Name VARCHAR(60) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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 (214257,0.0,'Description','Optional short description of the record','A description is limited to 255 characters.',200267,'Description',255,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,275,'Y','Y','D','Y','N','N','Y','004544c7-eb56-47dc-8e3f-2205c9a9e047','Y',20,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN Description VARCHAR(255) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214258,0.0,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200267,'Help',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,326,'Y','N','D','Y','N','N','Y','382d2129-4772-4554-8086-16bfea67929c','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN Help VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203437,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'AD_UserDef_Info_Related_UU','AD_UserDef_Info_Related_UU','AD_UserDef_Info_Related_UU','D','61fbc58b-539b-4181-9eac-91867d39a6cf') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214261,0.0,'AD_UserDef_Info_Related_UU',200267,'AD_UserDef_Info_Related_UU',36,'N','N','N','N','N','N',10,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,203437,'N','N','D','Y','N','N','Y','f0b0a8d8-3e22-4504-83fd-b50b49fea309','N','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN AD_UserDef_Info_Related_UU VARCHAR(36) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT AD_UserDef_Info_Related_UU_idx UNIQUE (AD_UserDef_Info_Related_UU) +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214266,0.0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200267,'DisplayLogic',2000,'N','N','N','N','N','N',14,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','Y','N','N','Y','93ce9482-7fb4-4d54-97b0-51da098363c3','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN DisplayLogic VARCHAR(2000) DEFAULT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,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,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214270,0.0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200267,'SeqNo',10,'N','N','Y','N','N','N',11,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','Y','N','N','Y','1b5028d1-38db-41c5-9743-be85a4964b64','Y','N','N','N','N') +; + +-- Sep 29, 2020, 7:26:58 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD COLUMN SeqNo NUMERIC(10) NOT NULL +; + +-- Sep 29, 2020, 7:26:58 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200279,'Column Customization',200110,20,'Y',200268,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',1,'N','D','Y','N','50258ad1-c73b-4b4e-9a84-098d8a8ca2a7','B',0) +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206436,'User defined Info Column',200279,214271,'N',10,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:58','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2cceba74-a3db-488f-b061-91e840f8f8ca','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206438,'AD_UserDef_Info_Column_UU',200279,214283,'N',36,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ac44dab5-36be-4e7b-a87f-76fe91105761','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206431,'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.',200279,214272,'Y',10,10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','7c671412-91ba-4107-aa6c-75c24aa29b88','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206432,'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.',200279,214273,'Y',10,20,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','d9761524-5421-4a92-842e-ba7dca73b2cc','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206506,'User defined Info Window',200279,214314,'Y',22,30,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','166e9f9d-d7ec-478c-bb64-54e4c7355f8a','Y',370,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206437,'Info Column','Info Window Column','Column in the Info Window for display and/or selection. If used for selection, the column cannot be a SQL expression. The SQL clause must be fully qualified based on the FROM clause in the Info Window definition',200279,214279,'Y',10,40,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','032bdc84-f757-4643-a618-8d6602c9b81e','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206433,'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.',200279,214280,'Y',60,50,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5d7bbb44-7fe3-47fe-95d2-178256d95c93','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206434,'Description','Optional short description of the record','A description is limited to 255 characters.',200279,214281,'Y',255,60,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f5903082-8d4b-44c0-964a-28cf4161c5a2','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206435,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200279,214282,'Y',2000,70,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1e423ac8-03ab-48cc-99b6-850d34002185','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206469,'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. +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.',200279,214274,'Y',1,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c3bee628-857f-4315-9b60-422cb7b65001','Y',360,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206443,'Query Criteria','The column is also used as a query criteria','The column is used to enter queries - the SQL cannot be an expression',200279,214288,'Y',1,90,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a332223d-88d0-4582-8038-f3e9a5c40dc2','Y',100,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206441,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200279,214286,'Y',10,100,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','222e8de0-2c92-4eb6-94e3-3a89e8469e7b','Y',80,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206455,'Selection Column Sequence','Selection Column Sequence','For ordering sequence of selection column',200279,214300,'Y',10,110,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c4bfa94a-2b68-47de-974c-c0fe0378dc99','Y',220,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206442,'Displayed','Determines, if this field is displayed','If the field is displayed, the field Display Logic will determine at runtime, if it is actually displayed',200279,214287,'Y',1,120,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f9bcf547-4868-4798-8b91-95d0c69c664f','Y',90,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206464,'Read Only','Field is read only','The Read Only indicates that this field may only be Read. It may not be updated.',200279,214309,'Y',1,130,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','33e258bb-49f5-4007-8339-b7274a9fab6d','Y',310,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206462,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200279,214307,'Y',1,150,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1b1c69a5-25d1-49b2-bb1e-aa75cae10f1f','Y',290,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206450,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200279,214295,'Y',2000,160,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','97feaea9-fbd1-4b7a-b037-b03ee26721c5','Y',170,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206460,'Default Logic','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200279,214305,'Y',2000,170,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','3af2c09a-f1d4-4194-9b65-173a2af8e4de','Y',270,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,Description,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206467,'Field Style','Field CSS Style ',200279,214312,'Y',10,180,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','3d662531-ed79-492b-81b0-d08d0cf4db6b','Y',340,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206468,'Autocomplete','Automatic completion for textfields','The autocompletion uses all existing values (from the same client and organization) of the field.',200279,214313,'Y',1,190,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','acb3ab3e-f88e-484f-ac3f-75720877d3f6','Y',350,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206465,'Placeholder',200279,214310,'Y',255,200,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','813f1a59-3764-45e3-9214-e0adeea8662e','Y',320,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,AD_FieldGroup_ID,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206445,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200279,214290,'Y',10,210,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y',200004,'D','be75ecf9-7d02-460e-a286-bc16b7fce809','Y',120,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206448,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200279,214293,'Y',10,220,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ad8fc99f-339e-4ce0-adf2-cdb7e1db56e9','Y',150,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206447,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200279,214292,'Y',10,230,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','63cf963c-c92b-4f9d-94c8-4cc5f53dd4ab','Y',140,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206453,'Query Function','Database function for query','Database function for user query. If the database function takes more than just the column name parameter, use ? to indicate where the column name should goes to. E.g: Upper, Trunc and To_Char(?,''MM'')',200279,214298,'Y',2000,240,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','cccabe72-d84e-4e76-a802-fb5ae612072b','Y',200,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,Description,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206452,'Query Operator','Operator for database query',200279,214297,'Y',10,250,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','10107421-94ef-4971-906a-d554f65ff4ea','Y',190,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206466,'Input field validation','Input field validaton query','Input field validaton query',200279,214311,'Y',2000,300,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','681cad79-973b-4729-9038-a768de6a2157','Y',330,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200280,'Info Window Customization',200110,10,'Y',200266,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',0,'N','D','Y','N','e939cff1-b690-4902-97f0-2443609cc00e','B',0) +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206470,'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.',200280,214228,'Y',10,10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','25bc5758-768c-4ac7-911b-c6f300b20794','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206471,'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.',200280,214229,'Y',10,20,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','43009af9-0b73-4cc6-9af9-9de872e352d1','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206472,'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.',200280,214238,'Y',60,30,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4fb3e4fb-7508-4a26-8139-a521fd641398','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206473,'Description','Optional short description of the record','A description is limited to 255 characters.',200280,214239,'Y',255,40,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','790e76b3-a79d-484c-8a35-7b815a9e080f','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206474,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200280,214240,'Y',2000,50,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4a91902b-1b73-450a-88c5-864c1ae5935f','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206476,'Role','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.',200280,214235,'Y',10,60,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','141c6f74-1b7c-4898-8add-34d13d6525ad','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206477,'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',200280,214236,'Y',10,70,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','602ae35f-8474-4f3d-922b-cd0fed2edb08','Y',60,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206478,'Info Window','Info and search/select Window','The Info window is used to search and select records as well as display information relevant to the selection.',200280,214237,'Y',10,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','6308fcb5-5f1d-4aa3-8376-8fc7aa54bb53','Y',70,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206479,'Language','Language for this entity','The Language identifies the language to use for display and formatting',200280,214241,'Y',6,90,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','65a5db92-f50f-4cde-a274-3edaacc2d120','Y',80,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206484,'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. +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.',200280,214230,'Y',1,130,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f3800950-3c95-4b9d-9319-d9c249438159','Y',120,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206483,'AD_UserDef_Info_UU',200280,214245,'N',36,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c5cf65a9-aa5a-48cd-a064-9cbb06429187','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206475,'User defined Info Window',200280,214227,'N',10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','93d70a87-d7bb-4900-8477-e2314b09394c','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Tab (AD_Tab_ID,Name,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,MaxQueryRecords) VALUES (200281,'Related Customization',200110,30,'Y',200267,0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','N','N','N',1,'N','D','Y','N','b592e5b9-2a8b-4f14-8639-f7b003539224','B',0) +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206500,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200281,214266,'Y',2000,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','7a5af0d4-bf0a-44ec-b11a-fc2814adbb70','Y',130,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206495,'AD_UserDef_Info_Related_UU',200281,214261,'N',36,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','091580eb-5bd1-4be2-b866-3d3dd920054f','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206490,'User defined Info Related',200281,214246,'N',10,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','7a14984f-f64e-43bb-be0f-ae19ea493e8c','N',1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206485,'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.',200281,214247,'Y',10,10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','8540ad53-e8c1-41ea-b0b2-218fade7afc7','Y',10,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206486,'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.',200281,214248,'Y',10,20,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','82d03105-cd2d-43af-be66-c349e46c373f','Y','N',4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206491,'User defined Info Window',200281,214254,'Y',10,30,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','D','d1e8b5ea-e001-48e5-924e-859ed79b6cdc','Y',50,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206487,'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.',200281,214256,'Y',60,40,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b2eae256-2ed0-40b9-b92d-c5fcdbddff83','Y',20,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206488,'Description','Optional short description of the record','A description is limited to 255 characters.',200281,214257,'Y',255,50,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a14e0b20-2f08-48ef-af67-b9f0fa29b76f','Y',30,1,5,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206489,'Comment/Help','Comment or Hint','The Help field contains a hint, comment or help about the use of this item.',200281,214258,'Y',2000,60,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','80840f5a-cf76-435c-a26d-c200fd1c5522','Y',40,1,5,3,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_Field (AD_Field_ID,Name,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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206492,'InfoRelated',200281,214255,'Y',10,70,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a8d3e0c3-a6d7-4209-8200-a5375131df0a','Y',60,1,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206504,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200281,214270,'Y',10,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','51d6bf36-4654-4591-9cee-4c7e00cf9ef4','Y',170,4,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:26:59 AM CEST +INSERT INTO AD_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,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField,IsQuickForm) VALUES (206505,'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. +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.',200281,214249,'Y',1,90,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-29 07:26:59','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','8aa5de2b-f9c0-4333-a302-dd572a688fc0','Y',180,2,2,1,'N','N','N','N') +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT adrole_aduserdefinfo FOREIGN KEY (AD_Role_ID) REFERENCES ad_role(ad_role_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT aduser_aduserdefinfo FOREIGN KEY (AD_User_ID) REFERENCES ad_user(ad_user_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoWindow_ADUserDefInfo', FKConstraintType='C',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214237 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT ADInfoWindow_ADUserDefInfo FOREIGN KEY (AD_InfoWindow_ID) REFERENCES ad_infowindow(ad_infowindow_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info ADD CONSTRAINT adlangu_aduserdefinfo FOREIGN KEY (AD_Language) REFERENCES ad_language(ad_language) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoColumn_ADUserDefInfoColu', FKConstraintType='N',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214279 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADInfoColumn_ADUserDefInfoColu FOREIGN KEY (AD_InfoColumn_ID) REFERENCES ad_infocolumn(ad_infocolumn_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT adreference_aduserdefcolumn FOREIGN KEY (AD_Reference_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADReferenceValue_ADUserDefInfo', FKConstraintType='N',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214292 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADReferenceValue_ADUserDefInfo FOREIGN KEY (AD_Reference_Value_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADValRule_ADUserDefInfoColumn', FKConstraintType='N',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214293 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADValRule_ADUserDefInfoColumn FOREIGN KEY (AD_Val_Rule_ID) REFERENCES ad_val_rule(ad_val_rule_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADFieldStyle_ADUserDefInfoColu', FKConstraintType='N',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214312 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADFieldStyle_ADUserDefInfoColu FOREIGN KEY (AD_FieldStyle_ID) REFERENCES ad_style(ad_style_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Column ADD CONSTRAINT ADUserDefInfo_ADUserDefInfoCol FOREIGN KEY (AD_UserDef_Info_ID) REFERENCES ad_userdef_info(ad_userdef_info_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT ADUserDefInfo_ADUserDefInfoRel FOREIGN KEY (AD_UserDef_Info_ID) REFERENCES ad_userdef_info(ad_userdef_info_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_Column SET FKConstraintName='ADInfoRelated_ADUserDefInfoRel', FKConstraintType='N',Updated=TO_TIMESTAMP('2020-09-29 07:27:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214255 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +ALTER TABLE AD_UserDef_Info_Related ADD CONSTRAINT ADInfoRelated_ADUserDefInfoRel FOREIGN KEY (AD_InfoRelated_ID) REFERENCES ad_inforelated(ad_inforelated_id) DEFERRABLE INITIALLY DEFERRED +; + +-- Sep 29, 2020, 7:27:00 AM CEST +INSERT INTO AD_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 (200174,'Info Window Customization','Define Info Window Customization for Role/User','W',200110,0,0,'Y',TO_TIMESTAMP('2020-09-16 10:38:52','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-09-16 10:38:52','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','D','Y','b13e8923-8016-46ee-a687-0e12ca0a8391') +; + +-- Sep 29, 2020, 7:27:00 AM CEST +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', statement_timestamp(), 100, statement_timestamp(), 100,t.AD_Tree_ID, 200174, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200174) +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200145 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200142 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53203 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=586 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=138 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=139 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200065 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200063 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=249 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=141 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=300 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=589 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200000 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=295 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=14, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=216 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=15, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=140 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=16, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=142 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=17, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53012 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=18, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=143 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=19, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=201 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=20, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=176 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=21, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200072 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=22, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53086 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=23, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=239 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=24, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=517 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=25, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=499 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=26, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200150 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=27, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200174 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=28, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53089 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=29, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53090 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=30, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200038 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=31, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200143 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=32, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200141 +; + +-- Sep 29, 2020, 7:27:00 AM CEST +UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=33, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=50001 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=30, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206476 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206477 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206478 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206484 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206472 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206473 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206474 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206479 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=0, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206483 +; + +-- Oct 11, 2020, 4:34:07 PM CEST +UPDATE AD_Field SET SeqNo=0, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:34:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206475 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206437 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206441 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206455 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206442 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206464 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206443 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206462 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206450 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206460 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206467 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206468 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206465 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206445 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206448 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206447 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206453 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206452 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=240, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206469 +; + +-- Oct 11, 2020, 4:55:52 PM CEST +UPDATE AD_Field SET SeqNo=250, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:55:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206466 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206492 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=50, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206487 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206488 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206489 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206504 +; + +-- Oct 11, 2020, 4:56:15 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-11 16:56:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206505 +; + +-- Oct 11, 2020, 4:58:25 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=10,Updated=TO_TIMESTAMP('2020-10-11 16:58:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214237 +; + +-- Oct 11, 2020, 4:58:35 PM CEST +UPDATE AD_Column SET SeqNo=20,Updated=TO_TIMESTAMP('2020-10-11 16:58:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214238 +; + +-- Oct 11, 2020, 5:00:40 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=2,Updated=TO_TIMESTAMP('2020-10-11 17:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15787 +; + +-- Oct 11, 2020, 5:01:39 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=3,Updated=TO_TIMESTAMP('2020-10-11 17:01:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15788 +; + +-- Oct 11, 2020, 5:01:55 PM CEST +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=4,Updated=TO_TIMESTAMP('2020-10-11 17:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=15789 +; + +-- Oct 11, 2020, 5:03:52 PM CEST +UPDATE AD_Column SET DefaultValue='NULL',Updated=TO_TIMESTAMP('2020-10-11 17:03:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214286 +; + +-- Oct 11, 2020, 5:04:00 PM CEST +UPDATE AD_Column SET DefaultValue='NULL',Updated=TO_TIMESTAMP('2020-10-11 17:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214300 +; + +-- Oct 11, 2020, 5:05:18 PM CEST +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2020-10-11 17:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214286 +; + +-- Oct 11, 2020, 5:05:20 PM CEST +INSERT INTO t_alter_column values('ad_userdef_info_column','SeqNo','NUMERIC(10)',null,'NULL') +; + +-- Oct 11, 2020, 5:05:20 PM CEST +INSERT INTO t_alter_column values('ad_userdef_info_column','SeqNo',null,'NULL',null) +; + +-- Oct 11, 2020, 5:06:35 PM CEST +UPDATE AD_Column SET DefaultValue='NULL', IsMandatory='N',Updated=TO_TIMESTAMP('2020-10-11 17:06:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214270 +; + +-- Oct 11, 2020, 5:06:36 PM CEST +INSERT INTO t_alter_column values('ad_userdef_info_related','SeqNo','NUMERIC(10)',null,'NULL') +; + +-- Oct 11, 2020, 5:06:36 PM CEST +INSERT INTO t_alter_column values('ad_userdef_info_related','SeqNo',null,'NULL',null) +; + +SELECT register_migration_script('202009290730_IDEMPIERE-4459.sql') FROM dual +; diff --git a/migration/i7.1z/postgresql/202010150940_IDEMPIERE-4459.sql b/migration/i7.1z/postgresql/202010150940_IDEMPIERE-4459.sql new file mode 100644 index 0000000000..faab85a78d --- /dev/null +++ b/migration/i7.1z/postgresql/202010150940_IDEMPIERE-4459.sql @@ -0,0 +1,45 @@ +-- IDEMPIERE-4459 +-- Oct 15, 2020, 9:38:15 AM CEST +INSERT INTO AD_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 (214326,0,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200089,'DisplayLogic',2000,'N','N','N','N','N',0,'N',14,0,0,'Y',TO_TIMESTAMP('2020-10-15 09:38:15','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-10-15 09:38:15','YYYY-MM-DD HH24:MI:SS'),100,283,'Y','N','D','N','N','N','Y','835e7d84-da0d-448f-b851-d03203219fe2','Y',0,'N','N','N','N') +; + +-- Oct 15, 2020, 9:38:27 AM CEST +ALTER TABLE AD_InfoRelated ADD COLUMN DisplayLogic VARCHAR(2000) DEFAULT NULL +; + +-- Oct 15, 2020, 9:39:16 AM CEST +INSERT INTO AD_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 (206520,'Display Logic','If the Field is displayed, the result determines if the field is actually displayed','format := {expression} [{logic} {expression}]
+expression := @{context}@{operand}{value} or @{context}@{operand}{value}
+logic := {|}|{&}
+context := any global or window context
+value := strings or numbers
+logic operators := AND or OR with the previous result from left to right
+operand := eq{=}, gt{>}, le{<}, not{~^!}
+Examples:
+@AD_Table_ID@=14 | @Language@!GERGER
+@PriceLimit@>10 | @PriceList@>@PriceActual@
+@Name@>J
+Strings may be in single quotes (optional)',200100,214326,'Y',2000,130,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2020-10-15 09:39:16','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2020-10-15 09:39:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','6ba1b12a-abbb-4e56-92ea-2391ffa6e5fb','Y',100,5,3) +; + +-- Oct 15, 2020, 6:39:04 PM CEST +UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, ColumnSpan=5, NumLines=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-15 18:39:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206500 +; + +-- Oct 15, 2020, 6:39:27 PM CEST +UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, NumLines=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2020-10-15 18:39:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206520 +; + +SELECT register_migration_script('202010150940_IDEMPIERE-4459.sql') FROM dual +; diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java b/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java index 809c667b5e..2d205c3a0a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_InfoRelated.java @@ -124,6 +124,19 @@ public interface I_AD_InfoRelated */ public String getDescription(); + /** Column name DisplayLogic */ + public static final String COLUMNNAME_DisplayLogic = "DisplayLogic"; + + /** Set Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic); + + /** Get Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic(); + /** Column name EntityType */ public static final String COLUMNNAME_EntityType = "EntityType"; diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java new file mode 100644 index 0000000000..c37d94e813 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info.java @@ -0,0 +1,224 @@ +/****************************************************************************** + * 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_UserDef_Info + * @author iDempiere (generated) + * @version Release 7.1 + */ +public interface I_AD_UserDef_Info +{ + + /** TableName=AD_UserDef_Info */ + public static final String Table_Name = "AD_UserDef_Info"; + + /** AD_Table_ID=200266 */ + public static final int Table_ID = 200266; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 6 - System - Client + */ + BigDecimal accessLevel = BigDecimal.valueOf(6); + + /** 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_InfoWindow_ID */ + public static final String COLUMNNAME_AD_InfoWindow_ID = "AD_InfoWindow_ID"; + + /** Set Info Window. + * Info and search/select Window + */ + public void setAD_InfoWindow_ID (int AD_InfoWindow_ID); + + /** Get Info Window. + * Info and search/select Window + */ + public int getAD_InfoWindow_ID(); + + public org.compiere.model.I_AD_InfoWindow getAD_InfoWindow() throws RuntimeException; + + /** Column name AD_Language */ + public static final String COLUMNNAME_AD_Language = "AD_Language"; + + /** Set Language. + * Language for this entity + */ + public void setAD_Language (String AD_Language); + + /** Get Language. + * Language for this entity + */ + public String getAD_Language(); + + /** 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_Role_ID */ + public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; + + /** Set Role. + * Responsibility Role + */ + public void setAD_Role_ID (int AD_Role_ID); + + /** Get Role. + * Responsibility Role + */ + public int getAD_Role_ID(); + + public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException; + + /** Column name AD_UserDef_Info_ID */ + public static final String COLUMNNAME_AD_UserDef_Info_ID = "AD_UserDef_Info_ID"; + + /** Set User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID); + + /** Get User defined Info Window */ + public int getAD_UserDef_Info_ID(); + + /** Column name AD_UserDef_Info_UU */ + public static final String COLUMNNAME_AD_UserDef_Info_UU = "AD_UserDef_Info_UU"; + + /** Set AD_UserDef_Info_UU */ + public void setAD_UserDef_Info_UU (String AD_UserDef_Info_UU); + + /** Get AD_UserDef_Info_UU */ + public String getAD_UserDef_Info_UU(); + + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public org.compiere.model.I_AD_User getAD_User() 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 Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + + /** 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 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(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java new file mode 100644 index 0000000000..bd65b89db7 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Column.java @@ -0,0 +1,421 @@ +/****************************************************************************** + * 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_UserDef_Info_Column + * @author iDempiere (generated) + * @version Release 7.1 + */ +public interface I_AD_UserDef_Info_Column +{ + + /** TableName=AD_UserDef_Info_Column */ + public static final String Table_Name = "AD_UserDef_Info_Column"; + + /** AD_Table_ID=200268 */ + public static final int Table_ID = 200268; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 6 - System - Client + */ + BigDecimal accessLevel = BigDecimal.valueOf(6); + + /** 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_FieldStyle_ID */ + public static final String COLUMNNAME_AD_FieldStyle_ID = "AD_FieldStyle_ID"; + + /** Set Field Style. + * Field CSS Style + */ + public void setAD_FieldStyle_ID (int AD_FieldStyle_ID); + + /** Get Field Style. + * Field CSS Style + */ + public int getAD_FieldStyle_ID(); + + public org.compiere.model.I_AD_Style getAD_FieldStyle() throws RuntimeException; + + /** Column name AD_InfoColumn_ID */ + public static final String COLUMNNAME_AD_InfoColumn_ID = "AD_InfoColumn_ID"; + + /** Set Info Column. + * Info Window Column + */ + public void setAD_InfoColumn_ID (int AD_InfoColumn_ID); + + /** Get Info Column. + * Info Window Column + */ + public int getAD_InfoColumn_ID(); + + public org.compiere.model.I_AD_InfoColumn getAD_InfoColumn() 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_Reference_ID */ + public static final String COLUMNNAME_AD_Reference_ID = "AD_Reference_ID"; + + /** Set Reference. + * System Reference and Validation + */ + public void setAD_Reference_ID (int AD_Reference_ID); + + /** Get Reference. + * System Reference and Validation + */ + public int getAD_Reference_ID(); + + public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException; + + /** Column name AD_Reference_Value_ID */ + public static final String COLUMNNAME_AD_Reference_Value_ID = "AD_Reference_Value_ID"; + + /** Set Reference Key. + * Required to specify, if data type is Table or List + */ + public void setAD_Reference_Value_ID (int AD_Reference_Value_ID); + + /** Get Reference Key. + * Required to specify, if data type is Table or List + */ + public int getAD_Reference_Value_ID(); + + public org.compiere.model.I_AD_Reference getAD_Reference_Value() throws RuntimeException; + + /** Column name AD_UserDef_Info_Column_ID */ + public static final String COLUMNNAME_AD_UserDef_Info_Column_ID = "AD_UserDef_Info_Column_ID"; + + /** Set User defined Info Column */ + public void setAD_UserDef_Info_Column_ID (int AD_UserDef_Info_Column_ID); + + /** Get User defined Info Column */ + public int getAD_UserDef_Info_Column_ID(); + + /** Column name AD_UserDef_Info_Column_UU */ + public static final String COLUMNNAME_AD_UserDef_Info_Column_UU = "AD_UserDef_Info_Column_UU"; + + /** Set AD_UserDef_Info_Column_UU */ + public void setAD_UserDef_Info_Column_UU (String AD_UserDef_Info_Column_UU); + + /** Get AD_UserDef_Info_Column_UU */ + public String getAD_UserDef_Info_Column_UU(); + + /** Column name AD_UserDef_Info_ID */ + public static final String COLUMNNAME_AD_UserDef_Info_ID = "AD_UserDef_Info_ID"; + + /** Set User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID); + + /** Get User defined Info Window */ + public int getAD_UserDef_Info_ID(); + + public org.compiere.model.I_AD_UserDef_Info getAD_UserDef_Info() throws RuntimeException; + + /** Column name AD_Val_Rule_ID */ + public static final String COLUMNNAME_AD_Val_Rule_ID = "AD_Val_Rule_ID"; + + /** Set Dynamic Validation. + * Dynamic Validation Rule + */ + public void setAD_Val_Rule_ID (int AD_Val_Rule_ID); + + /** Get Dynamic Validation. + * Dynamic Validation Rule + */ + public int getAD_Val_Rule_ID(); + + public org.compiere.model.I_AD_Val_Rule getAD_Val_Rule() 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 DefaultValue */ + public static final String COLUMNNAME_DefaultValue = "DefaultValue"; + + /** Set Default Logic. + * Default value hierarchy, separated by ; + + */ + public void setDefaultValue (String DefaultValue); + + /** Get Default Logic. + * Default value hierarchy, separated by ; + + */ + public String getDefaultValue(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name DisplayLogic */ + public static final String COLUMNNAME_DisplayLogic = "DisplayLogic"; + + /** Set Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic); + + /** Get Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + + /** Column name InputFieldValidation */ + public static final String COLUMNNAME_InputFieldValidation = "InputFieldValidation"; + + /** Set Input field validation. + * Input field validaton query + */ + public void setInputFieldValidation (String InputFieldValidation); + + /** Get Input field validation. + * Input field validaton query + */ + public String getInputFieldValidation(); + + /** 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 IsAutocomplete */ + public static final String COLUMNNAME_IsAutocomplete = "IsAutocomplete"; + + /** Set Autocomplete. + * Automatic completion for textfields + */ + public void setIsAutocomplete (String IsAutocomplete); + + /** Get Autocomplete. + * Automatic completion for textfields + */ + public String getIsAutocomplete(); + + /** Column name IsDisplayed */ + public static final String COLUMNNAME_IsDisplayed = "IsDisplayed"; + + /** Set Displayed. + * Determines, if this field is displayed + */ + public void setIsDisplayed (String IsDisplayed); + + /** Get Displayed. + * Determines, if this field is displayed + */ + public String getIsDisplayed(); + + /** Column name IsMandatory */ + public static final String COLUMNNAME_IsMandatory = "IsMandatory"; + + /** Set Mandatory. + * Data entry is required in this column + */ + public void setIsMandatory (String IsMandatory); + + /** Get Mandatory. + * Data entry is required in this column + */ + public String getIsMandatory(); + + /** Column name IsQueryCriteria */ + public static final String COLUMNNAME_IsQueryCriteria = "IsQueryCriteria"; + + /** Set Query Criteria. + * The column is also used as a query criteria + */ + public void setIsQueryCriteria (String IsQueryCriteria); + + /** Get Query Criteria. + * The column is also used as a query criteria + */ + public String getIsQueryCriteria(); + + /** Column name IsReadOnly */ + public static final String COLUMNNAME_IsReadOnly = "IsReadOnly"; + + /** Set Read Only. + * Field is read only + */ + public void setIsReadOnly (String IsReadOnly); + + /** Get Read Only. + * Field is read only + */ + public String getIsReadOnly(); + + /** 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 Placeholder */ + public static final String COLUMNNAME_Placeholder = "Placeholder"; + + /** Set Placeholder */ + public void setPlaceholder (String Placeholder); + + /** Get Placeholder */ + public String getPlaceholder(); + + /** Column name QueryFunction */ + public static final String COLUMNNAME_QueryFunction = "QueryFunction"; + + /** Set Query Function. + * Database function for query + */ + public void setQueryFunction (String QueryFunction); + + /** Get Query Function. + * Database function for query + */ + public String getQueryFunction(); + + /** Column name QueryOperator */ + public static final String COLUMNNAME_QueryOperator = "QueryOperator"; + + /** Set Query Operator. + * Operator for database query + */ + public void setQueryOperator (String QueryOperator); + + /** Get Query Operator. + * Operator for database query + */ + public String getQueryOperator(); + + /** 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 SeqNoSelection */ + public static final String COLUMNNAME_SeqNoSelection = "SeqNoSelection"; + + /** Set Selection Column Sequence. + * Selection Column Sequence + */ + public void setSeqNoSelection (int SeqNoSelection); + + /** Get Selection Column Sequence. + * Selection Column Sequence + */ + public int getSeqNoSelection(); + + /** 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(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java new file mode 100644 index 0000000000..2907aaecdd --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_AD_UserDef_Info_Related.java @@ -0,0 +1,216 @@ +/****************************************************************************** + * 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_UserDef_Info_Related + * @author iDempiere (generated) + * @version Release 7.1 + */ +public interface I_AD_UserDef_Info_Related +{ + + /** TableName=AD_UserDef_Info_Related */ + public static final String Table_Name = "AD_UserDef_Info_Related"; + + /** AD_Table_ID=200267 */ + public static final int Table_ID = 200267; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 6 - System - Client + */ + BigDecimal accessLevel = BigDecimal.valueOf(6); + + /** 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_InfoRelated_ID */ + public static final String COLUMNNAME_AD_InfoRelated_ID = "AD_InfoRelated_ID"; + + /** Set InfoRelated */ + public void setAD_InfoRelated_ID (int AD_InfoRelated_ID); + + /** Get InfoRelated */ + public int getAD_InfoRelated_ID(); + + public org.compiere.model.I_AD_InfoRelated getAD_InfoRelated() 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_UserDef_Info_ID */ + public static final String COLUMNNAME_AD_UserDef_Info_ID = "AD_UserDef_Info_ID"; + + /** Set User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID); + + /** Get User defined Info Window */ + public int getAD_UserDef_Info_ID(); + + public org.compiere.model.I_AD_UserDef_Info getAD_UserDef_Info() throws RuntimeException; + + /** Column name AD_UserDef_Info_Related_ID */ + public static final String COLUMNNAME_AD_UserDef_Info_Related_ID = "AD_UserDef_Info_Related_ID"; + + /** Set User defined Info Related */ + public void setAD_UserDef_Info_Related_ID (int AD_UserDef_Info_Related_ID); + + /** Get User defined Info Related */ + public int getAD_UserDef_Info_Related_ID(); + + /** Column name AD_UserDef_Info_Related_UU */ + public static final String COLUMNNAME_AD_UserDef_Info_Related_UU = "AD_UserDef_Info_Related_UU"; + + /** Set AD_UserDef_Info_Related_UU */ + public void setAD_UserDef_Info_Related_UU (String AD_UserDef_Info_Related_UU); + + /** Get AD_UserDef_Info_Related_UU */ + public String getAD_UserDef_Info_Related_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 Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name DisplayLogic */ + public static final String COLUMNNAME_DisplayLogic = "DisplayLogic"; + + /** Set Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic); + + /** Get Display Logic. + * If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic(); + + /** Column name Help */ + public static final String COLUMNNAME_Help = "Help"; + + /** Set Comment/Help. + * Comment or Hint + */ + public void setHelp (String Help); + + /** Get Comment/Help. + * Comment or Hint + */ + public String getHelp(); + + /** 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 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(); +} diff --git a/org.adempiere.base/src/org/compiere/model/InfoColumnVO.java b/org.adempiere.base/src/org/compiere/model/InfoColumnVO.java new file mode 100644 index 0000000000..41d21d7546 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/InfoColumnVO.java @@ -0,0 +1,400 @@ +/********************************************************************** +* This file is part of iDempiere ERP Open Source * +* http://www.idempiere.org * +* * +* Copyright (C) Contributors * +* * +* This program is free software; you can redistribute it and/or * +* modify it under the terms of the GNU General Public License * +* as published by the Free Software Foundation; either version 2 * +* of the License, or (at your option) any later version. * +* * +* 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., 51 Franklin Street, Fifth Floor, Boston, * +* MA 02110-1301, USA. * +* * +* Contributors: * +* - Igor Pojzl, Cloudempiere * +**********************************************************************/ +package org.compiere.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Comparator; +import java.util.Properties; + +import org.compiere.util.Env; +import org.compiere.util.Evaluatee; +import org.compiere.util.Evaluator; + +/** + * Info Column Value Object + * @author Igor Pojzl, Cloudempiere + * @version $Id$ + */ +public class InfoColumnVO implements Serializable, Cloneable { + + /** + * + */ + private static final long serialVersionUID = 7401407425423442841L; + /** Properties */ + private Properties ctx; + + private boolean isMandatory; + + private boolean isQueryCriteria; + + private boolean isReadOnly; + + private boolean isDisplayed; + + private boolean isIdentifier; + + private boolean isKey; + + private boolean isAutocomplete; + + private int AD_Reference_ID; + + private int AD_Reference_Value_ID; + + private int SeqNoSelection; + + private int AD_InfoColumn_ID; + + private int AD_Val_Rule_ID; + + private int AD_FieldStyle_ID; + + private int AD_InfoWindow_ID; + + private int SeqNo; + + private String ColumnName; + + private String DisplayLogic; + + private String Name; + + private String NameTrl; + + private String Placeholder; + + private String PlaceHolderTrl; + + private String SelectClause; + + private String InputFieldValidation; + + private String QueryOperator; + + private String QueryFunction; + + private String Description; + + private String DescriptionTrl; + + private String DefaultValue; + + private String HelpTrl; + + private String Help; + + private String ValidationCode; + + private MInfoColumn infoColumn; + + /** + * Default Constructor + * @param ctx + * @param infoColumn + */ + public InfoColumnVO(Properties ctx, MInfoColumn infoColumn) { + this.ctx = ctx; + this.infoColumn = infoColumn; + + AD_InfoColumn_ID = infoColumn.getAD_InfoColumn_ID(); + AD_InfoWindow_ID = infoColumn.getAD_InfoWindow_ID(); + ColumnName = infoColumn.getColumnName(); + isMandatory = infoColumn.isMandatory(); + isQueryCriteria = infoColumn.isQueryCriteria(); + NameTrl = infoColumn.get_Translation("Name"); + Name = infoColumn.getName(); + AD_Reference_ID = infoColumn.getAD_Reference_ID(); + AD_Reference_Value_ID = infoColumn.getAD_Reference_Value_ID(); + PlaceHolderTrl = infoColumn.get_Translation("Placeholder"); + Placeholder = infoColumn.getPlaceholder(); + isReadOnly = infoColumn.isReadOnly(); + SelectClause = infoColumn.getSelectClause(); + DisplayLogic = infoColumn.getDisplayLogic(); + isDisplayed = infoColumn.isDisplayed(); + InputFieldValidation = infoColumn.getInputFieldValidation(); + isIdentifier = infoColumn.isIdentifier(); + QueryOperator = infoColumn.getQueryOperator(); + SeqNoSelection = infoColumn.getSeqNoSelection(); + QueryFunction = infoColumn.getQueryFunction(); + Description = infoColumn.getDescription(); + DescriptionTrl = infoColumn.get_Translation("Description"); + isKey = infoColumn.isKey(); + DefaultValue = infoColumn.getDefaultValue(); + HelpTrl = infoColumn.get_Translation("Help"); + Help = infoColumn.getHelp(); + AD_FieldStyle_ID = infoColumn.getAD_FieldStyle_ID(); + isAutocomplete = infoColumn.isAutocomplete(); + SeqNo = infoColumn.getSeqNo(); + AD_Val_Rule_ID = infoColumn.getAD_Val_Rule_ID(); + if (infoColumn.getAD_Val_Rule_ID() > 0) + ValidationCode = MValRule.get(ctx, infoColumn.getAD_Val_Rule_ID()).getCode(); + + + this.afterCreate(); + } + + /** + * User Customization Processing + * @return InfoColumnVO + */ + public InfoColumnVO afterCreate() { + InfoColumnVO vo = this; + + // InfoColumn Customization + MUserDefInfoColumn userDef = null; + userDef = MUserDefInfoColumn.get(vo.ctx,vo.AD_InfoColumn_ID, vo.AD_InfoWindow_ID); + if (userDef != null) + { + if (userDef.getName() != null) + vo.Name = userDef.getName(); + if (userDef.get_Translation("Name") != null) + vo.NameTrl = userDef.get_Translation("Name"); + if (userDef.getDescription() != null) + vo.Description = userDef.getDescription(); + if (userDef.get_Translation("Description") != null) + vo.DescriptionTrl = userDef.get_Translation("Description"); + if (userDef.getHelp() != null) + vo.Help = userDef.getHelp(); + if (userDef.get_Translation("Help") != null) + vo.HelpTrl = userDef.get_Translation("Help"); + if (userDef.getDisplayLogic() != null) + vo.DisplayLogic = userDef.getDisplayLogic(); + if (userDef.getDefaultValue() != null) + vo.DefaultValue = userDef.getDefaultValue(); + if (userDef.getIsDisplayed()!= null) + vo.isDisplayed = "Y".equals(userDef.getIsDisplayed()); + if (userDef.getIsReadOnly()!= null) + vo.isReadOnly = "Y".equals(userDef.getIsReadOnly()); + if (userDef.getAD_Reference_ID()>0) + vo.AD_Reference_ID = userDef.getAD_Reference_ID(); + if (userDef.getAD_Reference_Value_ID()>0) + vo.AD_Reference_Value_ID = userDef.getAD_Reference_Value_ID(); + if (userDef.getIsMandatory()!= null) + vo.isMandatory = "Y".equals(userDef.getIsMandatory()); + if (userDef.getSeqNo() > 0) + vo.SeqNo= userDef.getSeqNo(); + if (userDef.getSeqNoSelection() > 0) + vo.SeqNoSelection= userDef.getSeqNoSelection(); + if (userDef.getAD_Val_Rule_ID() > 0) { + vo.ValidationCode = MValRule.get(vo.ctx, userDef.getAD_Val_Rule_ID()).getCode(); + vo.AD_Val_Rule_ID = userDef.getAD_Val_Rule_ID(); + } + if (userDef.getAD_FieldStyle_ID() > 0) + vo.AD_FieldStyle_ID = userDef.getAD_FieldStyle_ID(); + if (userDef.getPlaceholder() != null) + vo.Placeholder = userDef.getPlaceholder(); + if (userDef.get_Translation("Placeholder") != null) + vo.PlaceHolderTrl = userDef.get_Translation("Placeholder"); + if (userDef.getInputFieldValidation() != null) + vo.InputFieldValidation = userDef.getInputFieldValidation(); + if (userDef.getIsQueryCriteria() != null) + vo.isQueryCriteria = "Y".equals(userDef.getIsQueryCriteria()); + if (userDef.getQueryFunction()!= null) + vo.QueryFunction= userDef.getQueryFunction(); + if (userDef.getQueryOperator()!= null) + vo.QueryOperator= userDef.getQueryOperator(); + if (userDef.getIsAutocomplete() != null) + vo.isAutocomplete = "Y".equals(userDef.getIsAutocomplete()); + } + // + return vo; + } + + + /** + * Create InfoColumnVO Array from MInfoColumn Array + * @param ctx Properties + * @param p_infoColumns Array of MInfoColumn + * @return InfoColumnVO[] + */ + public static InfoColumnVO[] create(Properties ctx, MInfoColumn[] p_infoColumns) { + ArrayList infoColumns = new ArrayList(); + for(MInfoColumn p_infoColumn : p_infoColumns) { + InfoColumnVO infoColumn = new InfoColumnVO(ctx, p_infoColumn); + infoColumns.add(infoColumn); + } + + infoColumns.sort(new Comparator() { + + @Override + public int compare(InfoColumnVO o1, InfoColumnVO o2) { + Integer o1SeqNo = Integer.valueOf(o1.getSeqNo()); + Integer o2SeqNo = Integer.valueOf(o2.getSeqNo()); + return o1SeqNo.compareTo(o2SeqNo); + } + }); + + return infoColumns.toArray(new InfoColumnVO[infoColumns.size()]); + } + + + /** + * @param ctx + * @param windowNo + * @return boolean + */ + public boolean isDisplayed(final Properties ctx, final int windowNo) { + if (!isDisplayed()) + return false; + + if (getDisplayLogic() == null || getDisplayLogic().trim().length() == 0) + return true; + + Evaluatee evaluatee = new Evaluatee() { + public String get_ValueAsString(String variableName) { + return Env.getContext (ctx, windowNo, variableName, true); + } + }; + + boolean retValue = Evaluator.evaluateLogic(evaluatee, getDisplayLogic()); + return retValue; + } + + public String getColumnName() { + return ColumnName; + } + + public boolean isMandatory() { + return isMandatory; + } + + public boolean isQueryCriteria() { + return isQueryCriteria; + } + + public String getNameTrl() { + return NameTrl; + } + + public String getName() { + return Name; + } + + public int getAD_Reference_ID() { + return AD_Reference_ID; + } + + public int getAD_Reference_Value_ID() { + return AD_Reference_Value_ID; + } + + public String getPlaceHolderTrl() { + return PlaceHolderTrl; + } + + public String getPlaceholder() { + return Placeholder; + } + + public boolean isReadOnly() { + return isReadOnly; + } + + public String getSelectClause() { + return SelectClause; + } + + public String getDisplayLogic() { + return DisplayLogic; + } + + public boolean isDisplayed() { + return isDisplayed; + } + + public String getInputFieldValidation() { + return InputFieldValidation; + } + + public boolean isIdentifier() { + return isIdentifier; + } + + public String getQueryOperator() { + return QueryOperator; + } + + public int getSeqNoSelection() { + return SeqNoSelection; + } + + public String getQueryFunction() { + return QueryFunction; + } + + public boolean isKey() { + return isKey; + } + + public String getDescription() { + return Description; + } + + public String getDescriptionTrl() { + return DescriptionTrl; + } + + public MInfoColumn getAD_InfoColumn() { + return infoColumn; + } + + public int getAD_Val_Rule_ID() { + return AD_Val_Rule_ID; + } + + public String getDefaultValue() { + return DefaultValue; + } + + public String getHelpTrl() { + return HelpTrl; + } + + public String getHelp() { + return Help; + } + + public int getAD_FieldStyle_ID() { + return AD_FieldStyle_ID; + } + + public boolean isAutocomplete() { + return isAutocomplete; + } + + public int getAD_InfoColumn_ID() { + return AD_InfoColumn_ID; + } + + public String getValidationCode() { + return ValidationCode; + } + + public int getSeqNo() { + return SeqNo; + } +} diff --git a/org.adempiere.base/src/org/compiere/model/InfoRelatedVO.java b/org.adempiere.base/src/org/compiere/model/InfoRelatedVO.java new file mode 100644 index 0000000000..3a228cb071 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/InfoRelatedVO.java @@ -0,0 +1,220 @@ +package org.compiere.model; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Comparator; +import java.util.Properties; +import java.util.logging.Level; + +import org.adempiere.model.IInfoColumn; +import org.adempiere.model.MInfoRelated; +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Evaluatee; +import org.compiere.util.Evaluator; +import org.compiere.util.Util; + +/** + * Info Related Value Object + * @author Igor Pojzl, Cloudempiere + * @version $Id$ + */ +public class InfoRelatedVO implements Serializable, Cloneable, IInfoColumn { + + /** + * + */ + private static final long serialVersionUID = 3683704870522235708L; + + /** Logger */ + private static CLogger log = CLogger.getCLogger(InfoRelatedVO.class); + + /** Properties */ + private Properties ctx; + + private int AD_InfoRelated_ID; + + private int AD_InfoWindow_ID; + + private MInfoRelated infoRelated; + + private int SeqNo; + + private String DisplayLogic; + + private String Name; + + private int WindowNo; + + /** + * Default Constructor + * @param ctx + * @param infoColumn + */ + public InfoRelatedVO(Properties ctx, MInfoRelated infoRelated, int windowNo) { + + this.ctx = ctx; + + this.infoRelated = infoRelated; + + this.AD_InfoRelated_ID = infoRelated.getAD_InfoRelated_ID(); + + this.AD_InfoWindow_ID = infoRelated.getAD_InfoWindow_ID(); + + this.SeqNo = infoRelated.getSeqNo(); + + this.DisplayLogic = infoRelated.getDisplayLogic(); + + MInfoWindow riw = (MInfoWindow) infoRelated.getRelatedInfo(); + if (riw != null) + this.Name = Util.cleanAmp(riw.get_Translation("Name")); + else + this.Name = infoRelated.getName(); + + this.WindowNo = windowNo; + + this.afterCreate(); + } + + public void afterCreate() { + InfoRelatedVO vo = this; + + // InfoColumn Customization + MUserDefInfoRelated userDef = null; + userDef = MUserDefInfoRelated.get(vo.ctx,vo.AD_InfoRelated_ID, vo.AD_InfoWindow_ID); + if (userDef != null) + { + if (userDef.getName() != null) + vo.Name = userDef.getName(); + if (userDef.get_Translation("Name") != null) + vo.Name = userDef.get_Translation("Name"); + if (userDef.getSeqNo() > 0) + vo.SeqNo= userDef.getSeqNo(); + if (userDef.getDisplayLogic() != null) + vo.DisplayLogic = userDef.getDisplayLogic(); + } + } + + /** + * Default Constructor + * @param ctx + * @param infoColumn + */ + public static InfoRelatedVO[] getInfoRelatedVOList(Properties ctx, MInfoRelated[] infoRelatedList, int windowNo) { + ArrayList infoRelatedVOList = new ArrayList(); + // Create Info Related VO + for(MInfoRelated infoRelated : infoRelatedList) { + InfoRelatedVO infoRelatedVO = new InfoRelatedVO(ctx, infoRelated, windowNo); + infoRelatedVOList.add(infoRelatedVO); + } + + // Sort List By SeqNo + infoRelatedVOList.sort(new Comparator() { + + @Override + public int compare(InfoRelatedVO o1, InfoRelatedVO o2) { + Integer o1SeqNo = Integer.valueOf(o1.getSeqNo()); + Integer o2SeqNo = Integer.valueOf(o2.getSeqNo()); + return o1SeqNo.compareTo(o2SeqNo); + } + }); + + return infoRelatedVOList.toArray(new InfoRelatedVO[infoRelatedVOList.size()]); + } + + public int getRelatedInfo_ID() { + return infoRelated.getRelatedInfo_ID(); + } + + public String getLinkColumnName() { + return infoRelated.getLinkColumnName(); + } + + public int getParentRelatedColumn_ID() { + return infoRelated.getParentRelatedColumn_ID(); + } + + public I_AD_InfoWindow getRelatedInfo() { + return infoRelated.getRelatedInfo(); + } + + public MInfoColumn getLinkInfoColumn() { + return infoRelated.getLinkInfoColumn(); + } + + public String getName() { + return Name; + } + + public I_AD_InfoColumn getParentRelatedColumn() { + return infoRelated.getParentRelatedColumn(); + } + + public int getSeqNo() { + return this.SeqNo; + } + + /** + * Just forward call to {@link #getParentRelatedColumn_ID()} + */ + @Override + public int getInfoColumnID() { + return getParentRelatedColumn_ID(); + } + + /** + * Just forward call to {@link #getParentRelatedColumn()} + */ + @Override + public MInfoColumn getAD_InfoColumn (){ + return (MInfoColumn) getParentRelatedColumn(); + } + + public String getDisplayLogic() { + return DisplayLogic; + } + + /************************************************************************** + * Is the Related Window Visible ? + * @return true, if visible + */ + public boolean isDisplayed (final Properties ctx) + { + // no restrictions + if (Util.isEmpty(getDisplayLogic())) + return true; + + if (getDisplayLogic().startsWith("@SQL=")) { + return Evaluator.parseSQLLogic(DisplayLogic, ctx, WindowNo, 0, infoRelated.toString()); + } + Evaluatee evaluatee = new Evaluatee() { + public String get_ValueAsString(String variableName) { + return InfoRelatedVO.this.get_ValueAsString(ctx, variableName); + } + }; + boolean retValue = Evaluator.evaluateLogic(evaluatee, getDisplayLogic()); + if (log.isLoggable(Level.FINEST)) log.finest(infoRelated.toString() + + " (" + getDisplayLogic() + ") => " + retValue); + return retValue; + + } // isDisplayed + + + /** + * Get Variable Value (Evaluatee) + * @param variableName name + * @return value + */ + public String get_ValueAsString (Properties ctx, String variableName) + { + int f = variableName.indexOf('.'); + if (f > 0) { + variableName = variableName.substring(0, f); + } + + String value = null; + value = Env.getContext (ctx, WindowNo, variableName, true); + + return value; + } // get_ValueAsString +} diff --git a/org.adempiere.base/src/org/compiere/model/MTree.java b/org.adempiere.base/src/org/compiere/model/MTree.java index 410ccc5231..34df377056 100644 --- a/org.adempiere.base/src/org/compiere/model/MTree.java +++ b/org.adempiere.base/src/org/compiere/model/MTree.java @@ -622,8 +622,20 @@ public class MTree extends MTree_Base access = role.getWorkflowAccess(AD_Workflow_ID); else if (X_AD_Menu.ACTION_Task.equals(actionColor)) access = role.getTaskAccess(AD_Task_ID); - else if (X_AD_Menu.ACTION_Info.equals(actionColor)) + else if (X_AD_Menu.ACTION_Info.equals(actionColor)) { access = role.getInfoAccess(AD_InfoWindow_ID); + + // Get Info Window Customization + MUserDefInfo userDef = null; + userDef = MUserDefInfo.getBestMatch(getCtx(), AD_InfoWindow_ID); + if (userDef != null) + { + if (userDef.getName() != null) + name = userDef.getName(); + if (userDef.getDescription() != null) + description = userDef.getDescription(); + } + } // log.fine("getNodeDetail - " + name + " - " + actionColor + " - " + access); // if (access != null // rw or ro for Role diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java new file mode 100644 index 0000000000..d916e046ca --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfo.java @@ -0,0 +1,222 @@ +/********************************************************************** +* This file is part of iDempiere ERP Open Source * +* http://www.idempiere.org * +* * +* Copyright (C) Contributors * +* * +* This program is free software; you can redistribute it and/or * +* modify it under the terms of the GNU General Public License * +* as published by the Free Software Foundation; either version 2 * +* of the License, or (at your option) any later version. * +* * +* 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., 51 Franklin Street, Fifth Floor, Boston, * +* MA 02110-1301, USA. * +* * +* Contributors: * +* - Igor Pojzl, Cloudempiere * +**********************************************************************/ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.List; +import java.util.Properties; + +import org.compiere.util.CCache; +import org.compiere.util.Env; +import org.compiere.util.Util; + +/** + * User overrides for Info Window Model + * @author Igor Pojzl, Cloudempiere + * @version $Id$ + */ +public class MUserDefInfo extends X_AD_UserDef_Info { + + /** + * + */ + private static final long serialVersionUID = 5611033457579880793L; + + private volatile static List m_fullList = null; + + /** + * Standard constructor. + * You must implement this constructor for Adempiere Persistency + * @param ctx Context + * @param AD_UserDef_Info_ID Primary Key ID + * @param trxName Transaction name + */ + public MUserDefInfo(Properties ctx, int AD_UserDef_Info_ID, String trxName) { + super(ctx, AD_UserDef_Info_ID, trxName); + } + + /** + * Optional Load Constructor. + * You would use this constructor to load several business objects. + * + * SELECT * FROM MyModelExample WHERE ... + * + * @param ctx Context + * @param rs Result set + * @param trxName Transaction name + */ + public MUserDefInfo(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + } + + /** + * Get all MUserDefInfo entries related to info window + * @param ctx Context + * @param infowindow_ID Info window + * @return Array of MUserDefInfo for window + */ + private static MUserDefInfo[] getAll (Properties ctx, int infowindow_ID ) + { + if (m_fullList == null) { + m_fullList = new Query(ctx, MUserDefInfo.Table_Name, "IsActive='Y'", null).list(); + } + + if (m_fullList.size() == 0) { + return null; + } + + List list = new ArrayList(); + + for (MUserDefInfo udw : m_fullList) { + if (udw.getAD_InfoWindow_ID() == infowindow_ID + && udw.getAD_Client_ID() == Env.getAD_Client_ID(ctx) + && (udw.getAD_Language() == null || udw.getAD_Language().equals(Env.getAD_Language(ctx))) + ) { + list.add(udw); + } + } + + if (list.size() == 0) + return null; + + return list.toArray(new MUserDefInfo[list.size()]); + } //getAll + + /** + * Get best matching MUserDefWin for current window + * the best match is cached + * @param ctx + * @param infowindow_ID + * @return best matching MUserDefWin + */ + public static MUserDefInfo getBestMatch (Properties ctx, int infowindow_ID) + { + // parameters + final int AD_Org_ID = Env.getAD_Org_ID(ctx); + final int AD_Role_ID = Env.getAD_Role_ID(ctx); + final int AD_User_ID = Env.getAD_User_ID(ctx); + + // Check Cache + String key = new StringBuilder().append(infowindow_ID).append("_") + .append(Env.getAD_Client_ID(ctx)).append("_") + .append(Env.getAD_Language(ctx)).append("_") + .append(AD_Org_ID).append("_") + .append(AD_Role_ID).append("_") + .append(AD_User_ID) + .toString(); + if (s_cache.containsKey(key)) + return s_cache.get(key); + + // candidates + MUserDefInfo[] candidates = getAll(ctx, infowindow_ID); + if (candidates == null) { + s_cache.put(key, null); + return null; + } + final int size = candidates.length; + int[] weight = new int[size]; + + // this user + this role + this org => weight = 7 + // this user + this role + any org => weight = 6 + // this user + any role + this org => weight = 5 + // this user + any role + any org => weight = 4 + // any user + this role + this org => weight = 3 + // any user + this role + any org => weight = 2 + // any user + any role + this org => weight = 1 + // any user + any role + any org => weight = 0 + // other user or other role or other org => weight = -1 and thus ruled out + for (int i=0; i < size; i++) + { + weight[i] = 0; + if (candidates[i].getAD_User_ID() > 0) { + if (candidates[i].getAD_User_ID() == AD_User_ID) { + weight[i] = weight[i] + 4; + } else { + weight[i] = -1; + } + } + if (weight[i] > -1 && candidates[i].getAD_Role_ID() > 0) { + if (candidates[i].getAD_Role_ID() == AD_Role_ID) { + weight[i] = weight[i] + 2; + } else { + weight[i] = -1; + } + } + if (weight[i] > -1 && candidates[i].getAD_Org_ID() > 0) { + if (candidates[i].getAD_Org_ID() == AD_Org_ID) { + weight[i] = weight[i] + 1; + } else { + weight[i] = -1; + } + } + + if (weight[i] > -1 && !Util.isEmpty(candidates[i].getAD_Language())) { + if(Env.getAD_Language(ctx).equalsIgnoreCase(candidates[i].getAD_Language())) { + weight[i] = weight[i] + 8; + } + else { + weight[i] = -1; + } + } + // others are implicit + } + + int maximum = weight[0]; // start with the first value + int maxindex = 0; + for (int j=0; j maximum) { + maximum = weight[j]; // new maximum + maxindex = j; + } + } + + if (weight[maxindex] > -1) { + MUserDefInfo retValue = null; + retValue=candidates[maxindex]; + s_cache.put(key, retValue); + return retValue; + } else { + s_cache.put(key, null); + return null; + } + } + + /** Cache of selected MUserDefInfo entries **/ + private static CCache s_cache = new CCache(Table_Name, 3); // 3 weights + + @Override + protected boolean beforeSave(boolean newRecord) { + m_fullList = null; + return true; + } + + @Override + protected boolean beforeDelete() { + m_fullList = null; + return true; + } + +} diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java new file mode 100644 index 0000000000..e6493f6b6b --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfoColumn.java @@ -0,0 +1,123 @@ +/********************************************************************** +* This file is part of iDempiere ERP Open Source * +* http://www.idempiere.org * +* * +* Copyright (C) Contributors * +* * +* This program is free software; you can redistribute it and/or * +* modify it under the terms of the GNU General Public License * +* as published by the Free Software Foundation; either version 2 * +* of the License, or (at your option) any later version. * +* * +* 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., 51 Franklin Street, Fifth Floor, Boston, * +* MA 02110-1301, USA. * +* * +* Contributors: * +* - Igor Pojzl, Cloudempiere * +**********************************************************************/ +package org.compiere.model; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.CLogger; +import org.compiere.util.DB; + +/** + * User overrides for Info Window Column Model + * @author Igor Pojzl, Cloudempiere + * @version $Id$ + */ +public class MUserDefInfoColumn extends X_AD_UserDef_Info_Column { + + /** + * + */ + private static final long serialVersionUID = -4381444937794716616L; + + /** + * Standard constructor. + * You must implement this constructor for Adempiere Persistency + * @param ctx Context + * @param AD_UserDef_Info_Column_ID Primary key ID + * @param trxName Transaction name + */ + public MUserDefInfoColumn(Properties ctx, int AD_UserDef_Info_Column_ID, String trxName) { + super(ctx, AD_UserDef_Info_Column_ID, trxName); + } + + /** + * Optional Load Constructor. + * You would use this constructor to load several business objects. + * + * SELECT * FROM MyModelExample WHERE ... + * + * @param ctx Context + * @param rs Result set + * @param trxName Transaction Name + */ + public MUserDefInfoColumn(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + } + + /** + * Get matching MUserDefInfoColumn related to current Info Column and user definition for Info window + * @param ctx + * @param AD_InfoColumn_ID + * @param AD_InfoWindow_ID + * @return + */ + public static MUserDefInfoColumn get (Properties ctx, int AD_InfoColumn_ID, int AD_InfoWindow_ID ) + { + + MUserDefInfo userdefInfo = MUserDefInfo.getBestMatch(ctx, AD_InfoWindow_ID); + if (userdefInfo == null) + return null; + + MUserDefInfoColumn retValue = null; + + StringBuilder sql = new StringBuilder("SELECT * " + + " FROM AD_UserDef_Info_Column c " + + " WHERE c.AD_InfoColumn_ID=? AND c.IsActive='Y' " + + " AND c.AD_UserDef_Info_ID=? "); + + PreparedStatement pstmt = null; + ResultSet rs = null; + try + { + // create statement + pstmt = DB.prepareStatement(sql.toString(), null); + pstmt.setInt(1, AD_InfoColumn_ID); + pstmt.setInt(2, userdefInfo.getAD_UserDef_Info_ID()); + // get data + rs = pstmt.executeQuery(); + if (rs.next()) + { + retValue = new MUserDefInfoColumn(ctx,rs,null); + } + } + catch (SQLException ex) + { + CLogger.get().log(Level.SEVERE, sql.toString(), ex); + return null; + } + finally + { + DB.close(rs, pstmt); + rs = null; + pstmt = null; + } + + return retValue; + } //get +} diff --git a/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java b/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java new file mode 100644 index 0000000000..18b3ab54b5 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MUserDefInfoRelated.java @@ -0,0 +1,105 @@ +/********************************************************************** +* This file is part of iDempiere ERP Open Source * +* http://www.idempiere.org * +* * +* Copyright (C) Contributors * +* * +* This program is free software; you can redistribute it and/or * +* modify it under the terms of the GNU General Public License * +* as published by the Free Software Foundation; either version 2 * +* of the License, or (at your option) any later version. * +* * +* 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., 51 Franklin Street, Fifth Floor, Boston, * +* MA 02110-1301, USA. * +* * +* Contributors: * +* - Igor Pojzl, Cloudempiere * +**********************************************************************/ +package org.compiere.model; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.util.Properties; +import java.util.logging.Level; + +import org.compiere.util.CLogger; +import org.compiere.util.DB; + +/** + * User overrides for Info Window Related Model + * @author Igor Pojzl, Cloudempiere + * @version $Id$ + */ +public class MUserDefInfoRelated extends X_AD_UserDef_Info_Related { + + /** + * + */ + private static final long serialVersionUID = -2317004482077725245L; + + public MUserDefInfoRelated(Properties ctx, int AD_UserDef_Info_Related_ID, String trxName) { + super(ctx, AD_UserDef_Info_Related_ID, trxName); + } + public MUserDefInfoRelated(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + } + + /** + * Get matching MUserDefInfoRelated related to current Info Column and user definition for Info window + * @param ctx + * @param AD_InfoRelated_ID + * @param AD_InfoWindow_ID + * @return + */ + public static MUserDefInfoRelated get (Properties ctx, int AD_InfoRelated_ID, int AD_InfoWindow_ID ) + { + + MUserDefInfo userdefInfo = MUserDefInfo.getBestMatch(ctx, AD_InfoWindow_ID); + if (userdefInfo == null) + return null; + + MUserDefInfoRelated retValue = null; + + StringBuilder sql = new StringBuilder("SELECT * " + + " FROM AD_UserDef_Info_Related c " + + " WHERE c.AD_InfoRelated_ID=? AND c.IsActive='Y' " + + " AND c.AD_UserDef_Info_ID=? "); + + PreparedStatement pstmt = null; + ResultSet rs = null; + try + { + // create statement + pstmt = DB.prepareStatement(sql.toString(), null); + pstmt.setInt(1, AD_InfoRelated_ID); + pstmt.setInt(2, userdefInfo.getAD_UserDef_Info_ID()); + // get data + rs = pstmt.executeQuery(); + if (rs.next()) + { + retValue = new MUserDefInfoRelated(ctx,rs,null); + } + } + catch (SQLException ex) + { + CLogger.get().log(Level.SEVERE, sql.toString(), ex); + return null; + } + finally + { + DB.close(rs, pstmt); + rs = null; + pstmt = null; + } + + return retValue; + } //get +} diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java b/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java index f5c675b213..ae12dc8e5f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_InfoRelated.java @@ -30,7 +30,7 @@ public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persiste /** * */ - private static final long serialVersionUID = 20200413L; + private static final long serialVersionUID = 20201015L; /** Standard Constructor */ public X_AD_InfoRelated (Properties ctx, int AD_InfoRelated_ID, String trxName) @@ -158,6 +158,23 @@ public class X_AD_InfoRelated extends PO implements I_AD_InfoRelated, I_Persiste return (String)get_Value(COLUMNNAME_Description); } + /** Set Display Logic. + @param DisplayLogic + If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic) + { + set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); + } + + /** Get Display Logic. + @return If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic () + { + return (String)get_Value(COLUMNNAME_DisplayLogic); + } + /** EntityType AD_Reference_ID=389 */ public static final int ENTITYTYPE_AD_Reference_ID=389; /** Set Entity Type. diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java new file mode 100644 index 0000000000..889ab84266 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info.java @@ -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_UserDef_Info + * @author iDempiere (generated) + * @version Release 7.1 - $Id$ */ +public class X_AD_UserDef_Info extends PO implements I_AD_UserDef_Info, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20201006L; + + /** Standard Constructor */ + public X_AD_UserDef_Info (Properties ctx, int AD_UserDef_Info_ID, String trxName) + { + super (ctx, AD_UserDef_Info_ID, trxName); + /** if (AD_UserDef_Info_ID == 0) + { + setAD_InfoWindow_ID (0); + setAD_UserDef_Info_ID (0); + } */ + } + + /** Load Constructor */ + public X_AD_UserDef_Info (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 6 - System - Client + */ + 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() + { + StringBuilder sb = new StringBuilder ("X_AD_UserDef_Info[") + .append(get_ID()).append(",Name=").append(getName()).append("]"); + return sb.toString(); + } + + public org.compiere.model.I_AD_InfoWindow getAD_InfoWindow() throws RuntimeException + { + return (org.compiere.model.I_AD_InfoWindow)MTable.get(getCtx(), org.compiere.model.I_AD_InfoWindow.Table_Name) + .getPO(getAD_InfoWindow_ID(), get_TrxName()); } + + /** Set Info Window. + @param AD_InfoWindow_ID + Info and search/select Window + */ + public void setAD_InfoWindow_ID (int AD_InfoWindow_ID) + { + if (AD_InfoWindow_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_InfoWindow_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_InfoWindow_ID, Integer.valueOf(AD_InfoWindow_ID)); + } + + /** Get Info Window. + @return Info and search/select Window + */ + public int getAD_InfoWindow_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_InfoWindow_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** AD_Language AD_Reference_ID=106 */ + public static final int AD_LANGUAGE_AD_Reference_ID=106; + /** Set Language. + @param AD_Language + Language for this entity + */ + public void setAD_Language (String AD_Language) + { + + set_Value (COLUMNNAME_AD_Language, AD_Language); + } + + /** Get Language. + @return Language for this entity + */ + public String getAD_Language () + { + return (String)get_Value(COLUMNNAME_AD_Language); + } + + public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException + { + return (org.compiere.model.I_AD_Role)MTable.get(getCtx(), org.compiere.model.I_AD_Role.Table_Name) + .getPO(getAD_Role_ID(), get_TrxName()); } + + /** Set Role. + @param AD_Role_ID + Responsibility Role + */ + public void setAD_Role_ID (int AD_Role_ID) + { + if (AD_Role_ID < 0) + set_Value (COLUMNNAME_AD_Role_ID, null); + else + set_Value (COLUMNNAME_AD_Role_ID, Integer.valueOf(AD_Role_ID)); + } + + /** Get Role. + @return Responsibility Role + */ + public int getAD_Role_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Role_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User defined Info Window. + @param AD_UserDef_Info_ID User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID) + { + if (AD_UserDef_Info_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, Integer.valueOf(AD_UserDef_Info_ID)); + } + + /** Get User defined Info Window. + @return User defined Info Window */ + public int getAD_UserDef_Info_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserDef_Info_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set AD_UserDef_Info_UU. + @param AD_UserDef_Info_UU AD_UserDef_Info_UU */ + public void setAD_UserDef_Info_UU (String AD_UserDef_Info_UU) + { + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_UU, AD_UserDef_Info_UU); + } + + /** Get AD_UserDef_Info_UU. + @return AD_UserDef_Info_UU */ + public String getAD_UserDef_Info_UU () + { + return (String)get_Value(COLUMNNAME_AD_UserDef_Info_UU); + } + + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException + { + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) + .getPO(getAD_User_ID(), get_TrxName()); } + + /** Set User/Contact. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_Value (COLUMNNAME_AD_User_ID, null); + else + set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + + /** 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); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java new file mode 100644 index 0000000000..3053629f27 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Column.java @@ -0,0 +1,602 @@ +/****************************************************************************** + * 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_UserDef_Info_Column + * @author iDempiere (generated) + * @version Release 7.1 - $Id$ */ +public class X_AD_UserDef_Info_Column extends PO implements I_AD_UserDef_Info_Column, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20201011L; + + /** Standard Constructor */ + public X_AD_UserDef_Info_Column (Properties ctx, int AD_UserDef_Info_Column_ID, String trxName) + { + super (ctx, AD_UserDef_Info_Column_ID, trxName); + /** if (AD_UserDef_Info_Column_ID == 0) + { + setAD_InfoColumn_ID (0); + setAD_UserDef_Info_Column_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + } */ + } + + /** Load Constructor */ + public X_AD_UserDef_Info_Column (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 6 - System - Client + */ + 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() + { + StringBuilder sb = new StringBuilder ("X_AD_UserDef_Info_Column[") + .append(get_ID()).append(",Name=").append(getName()).append("]"); + return sb.toString(); + } + + public org.compiere.model.I_AD_Style getAD_FieldStyle() throws RuntimeException + { + return (org.compiere.model.I_AD_Style)MTable.get(getCtx(), org.compiere.model.I_AD_Style.Table_Name) + .getPO(getAD_FieldStyle_ID(), get_TrxName()); } + + /** Set Field Style. + @param AD_FieldStyle_ID + Field CSS Style + */ + public void setAD_FieldStyle_ID (int AD_FieldStyle_ID) + { + if (AD_FieldStyle_ID < 1) + set_Value (COLUMNNAME_AD_FieldStyle_ID, null); + else + set_Value (COLUMNNAME_AD_FieldStyle_ID, Integer.valueOf(AD_FieldStyle_ID)); + } + + /** Get Field Style. + @return Field CSS Style + */ + public int getAD_FieldStyle_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_FieldStyle_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_InfoColumn getAD_InfoColumn() throws RuntimeException + { + return (org.compiere.model.I_AD_InfoColumn)MTable.get(getCtx(), org.compiere.model.I_AD_InfoColumn.Table_Name) + .getPO(getAD_InfoColumn_ID(), get_TrxName()); } + + /** Set Info Column. + @param AD_InfoColumn_ID + Info Window Column + */ + public void setAD_InfoColumn_ID (int AD_InfoColumn_ID) + { + if (AD_InfoColumn_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_InfoColumn_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_InfoColumn_ID, Integer.valueOf(AD_InfoColumn_ID)); + } + + /** Get Info Column. + @return Info Window Column + */ + public int getAD_InfoColumn_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_InfoColumn_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException + { + return (org.compiere.model.I_AD_Reference)MTable.get(getCtx(), org.compiere.model.I_AD_Reference.Table_Name) + .getPO(getAD_Reference_ID(), get_TrxName()); } + + /** Set Reference. + @param AD_Reference_ID + System Reference and Validation + */ + public void setAD_Reference_ID (int AD_Reference_ID) + { + if (AD_Reference_ID < 1) + set_Value (COLUMNNAME_AD_Reference_ID, null); + else + set_Value (COLUMNNAME_AD_Reference_ID, Integer.valueOf(AD_Reference_ID)); + } + + /** Get Reference. + @return System Reference and Validation + */ + public int getAD_Reference_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_Reference getAD_Reference_Value() throws RuntimeException + { + return (org.compiere.model.I_AD_Reference)MTable.get(getCtx(), org.compiere.model.I_AD_Reference.Table_Name) + .getPO(getAD_Reference_Value_ID(), get_TrxName()); } + + /** Set Reference Key. + @param AD_Reference_Value_ID + Required to specify, if data type is Table or List + */ + public void setAD_Reference_Value_ID (int AD_Reference_Value_ID) + { + if (AD_Reference_Value_ID < 1) + set_Value (COLUMNNAME_AD_Reference_Value_ID, null); + else + set_Value (COLUMNNAME_AD_Reference_Value_ID, Integer.valueOf(AD_Reference_Value_ID)); + } + + /** Get Reference Key. + @return Required to specify, if data type is Table or List + */ + public int getAD_Reference_Value_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_Value_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User defined Info Column. + @param AD_UserDef_Info_Column_ID User defined Info Column */ + public void setAD_UserDef_Info_Column_ID (int AD_UserDef_Info_Column_ID) + { + if (AD_UserDef_Info_Column_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Column_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Column_ID, Integer.valueOf(AD_UserDef_Info_Column_ID)); + } + + /** Get User defined Info Column. + @return User defined Info Column */ + public int getAD_UserDef_Info_Column_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserDef_Info_Column_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set AD_UserDef_Info_Column_UU. + @param AD_UserDef_Info_Column_UU AD_UserDef_Info_Column_UU */ + public void setAD_UserDef_Info_Column_UU (String AD_UserDef_Info_Column_UU) + { + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Column_UU, AD_UserDef_Info_Column_UU); + } + + /** Get AD_UserDef_Info_Column_UU. + @return AD_UserDef_Info_Column_UU */ + public String getAD_UserDef_Info_Column_UU () + { + return (String)get_Value(COLUMNNAME_AD_UserDef_Info_Column_UU); + } + + public org.compiere.model.I_AD_UserDef_Info getAD_UserDef_Info() throws RuntimeException + { + return (org.compiere.model.I_AD_UserDef_Info)MTable.get(getCtx(), org.compiere.model.I_AD_UserDef_Info.Table_Name) + .getPO(getAD_UserDef_Info_ID(), get_TrxName()); } + + /** Set User defined Info Window. + @param AD_UserDef_Info_ID User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID) + { + if (AD_UserDef_Info_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, Integer.valueOf(AD_UserDef_Info_ID)); + } + + /** Get User defined Info Window. + @return User defined Info Window */ + public int getAD_UserDef_Info_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserDef_Info_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_Val_Rule getAD_Val_Rule() throws RuntimeException + { + return (org.compiere.model.I_AD_Val_Rule)MTable.get(getCtx(), org.compiere.model.I_AD_Val_Rule.Table_Name) + .getPO(getAD_Val_Rule_ID(), get_TrxName()); } + + /** Set Dynamic Validation. + @param AD_Val_Rule_ID + Dynamic Validation Rule + */ + public void setAD_Val_Rule_ID (int AD_Val_Rule_ID) + { + if (AD_Val_Rule_ID < 1) + set_Value (COLUMNNAME_AD_Val_Rule_ID, null); + else + set_Value (COLUMNNAME_AD_Val_Rule_ID, Integer.valueOf(AD_Val_Rule_ID)); + } + + /** Get Dynamic Validation. + @return Dynamic Validation Rule + */ + public int getAD_Val_Rule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Val_Rule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Default Logic. + @param DefaultValue + Default value hierarchy, separated by ; + */ + public void setDefaultValue (String DefaultValue) + { + set_Value (COLUMNNAME_DefaultValue, DefaultValue); + } + + /** Get Default Logic. + @return Default value hierarchy, separated by ; + */ + public String getDefaultValue () + { + return (String)get_Value(COLUMNNAME_DefaultValue); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Display Logic. + @param DisplayLogic + If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic) + { + set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); + } + + /** Get Display Logic. + @return If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic () + { + return (String)get_Value(COLUMNNAME_DisplayLogic); + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + + /** Set Input field validation. + @param InputFieldValidation + Input field validaton query + */ + public void setInputFieldValidation (String InputFieldValidation) + { + set_Value (COLUMNNAME_InputFieldValidation, InputFieldValidation); + } + + /** Get Input field validation. + @return Input field validaton query + */ + public String getInputFieldValidation () + { + return (String)get_Value(COLUMNNAME_InputFieldValidation); + } + + /** IsAutocomplete AD_Reference_ID=319 */ + public static final int ISAUTOCOMPLETE_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISAUTOCOMPLETE_Yes = "Y"; + /** No = N */ + public static final String ISAUTOCOMPLETE_No = "N"; + /** Set Autocomplete. + @param IsAutocomplete + Automatic completion for textfields + */ + public void setIsAutocomplete (String IsAutocomplete) + { + + set_Value (COLUMNNAME_IsAutocomplete, IsAutocomplete); + } + + /** Get Autocomplete. + @return Automatic completion for textfields + */ + public String getIsAutocomplete () + { + return (String)get_Value(COLUMNNAME_IsAutocomplete); + } + + /** IsDisplayed AD_Reference_ID=319 */ + public static final int ISDISPLAYED_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISDISPLAYED_Yes = "Y"; + /** No = N */ + public static final String ISDISPLAYED_No = "N"; + /** Set Displayed. + @param IsDisplayed + Determines, if this field is displayed + */ + public void setIsDisplayed (String IsDisplayed) + { + + set_Value (COLUMNNAME_IsDisplayed, IsDisplayed); + } + + /** Get Displayed. + @return Determines, if this field is displayed + */ + public String getIsDisplayed () + { + return (String)get_Value(COLUMNNAME_IsDisplayed); + } + + /** IsMandatory AD_Reference_ID=319 */ + public static final int ISMANDATORY_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISMANDATORY_Yes = "Y"; + /** No = N */ + public static final String ISMANDATORY_No = "N"; + /** Set Mandatory. + @param IsMandatory + Data entry is required in this column + */ + public void setIsMandatory (String IsMandatory) + { + + set_Value (COLUMNNAME_IsMandatory, IsMandatory); + } + + /** Get Mandatory. + @return Data entry is required in this column + */ + public String getIsMandatory () + { + return (String)get_Value(COLUMNNAME_IsMandatory); + } + + /** IsQueryCriteria AD_Reference_ID=319 */ + public static final int ISQUERYCRITERIA_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISQUERYCRITERIA_Yes = "Y"; + /** No = N */ + public static final String ISQUERYCRITERIA_No = "N"; + /** Set Query Criteria. + @param IsQueryCriteria + The column is also used as a query criteria + */ + public void setIsQueryCriteria (String IsQueryCriteria) + { + + set_Value (COLUMNNAME_IsQueryCriteria, IsQueryCriteria); + } + + /** Get Query Criteria. + @return The column is also used as a query criteria + */ + public String getIsQueryCriteria () + { + return (String)get_Value(COLUMNNAME_IsQueryCriteria); + } + + /** IsReadOnly AD_Reference_ID=319 */ + public static final int ISREADONLY_AD_Reference_ID=319; + /** Yes = Y */ + public static final String ISREADONLY_Yes = "Y"; + /** No = N */ + public static final String ISREADONLY_No = "N"; + /** Set Read Only. + @param IsReadOnly + Field is read only + */ + public void setIsReadOnly (String IsReadOnly) + { + + set_Value (COLUMNNAME_IsReadOnly, IsReadOnly); + } + + /** Get Read Only. + @return Field is read only + */ + public String getIsReadOnly () + { + return (String)get_Value(COLUMNNAME_IsReadOnly); + } + + /** 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); + } + + /** Set Placeholder. + @param Placeholder Placeholder */ + public void setPlaceholder (String Placeholder) + { + set_Value (COLUMNNAME_Placeholder, Placeholder); + } + + /** Get Placeholder. + @return Placeholder */ + public String getPlaceholder () + { + return (String)get_Value(COLUMNNAME_Placeholder); + } + + /** Set Query Function. + @param QueryFunction + Database function for query + */ + public void setQueryFunction (String QueryFunction) + { + set_Value (COLUMNNAME_QueryFunction, QueryFunction); + } + + /** Get Query Function. + @return Database function for query + */ + public String getQueryFunction () + { + return (String)get_Value(COLUMNNAME_QueryFunction); + } + + /** QueryOperator AD_Reference_ID=200061 */ + public static final int QUERYOPERATOR_AD_Reference_ID=200061; + /** Like = Like */ + public static final String QUERYOPERATOR_Like = "Like"; + /** = = = */ + public static final String QUERYOPERATOR_Eq = "="; + /** > = > */ + public static final String QUERYOPERATOR_Gt = ">"; + /** >= = >= */ + public static final String QUERYOPERATOR_GtEq = ">="; + /** < = < */ + public static final String QUERYOPERATOR_Le = "<"; + /** <= = <= */ + public static final String QUERYOPERATOR_LeEq = "<="; + /** != = != */ + public static final String QUERYOPERATOR_NotEq = "!="; + /** Full Like = LIKE */ + public static final String QUERYOPERATOR_FullLike = "LIKE"; + /** Set Query Operator. + @param QueryOperator + Operator for database query + */ + public void setQueryOperator (String QueryOperator) + { + + set_Value (COLUMNNAME_QueryOperator, QueryOperator); + } + + /** Get Query Operator. + @return Operator for database query + */ + public String getQueryOperator () + { + return (String)get_Value(COLUMNNAME_QueryOperator); + } + + /** 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(); + } + + /** Set Selection Column Sequence. + @param SeqNoSelection + Selection Column Sequence + */ + public void setSeqNoSelection (int SeqNoSelection) + { + set_Value (COLUMNNAME_SeqNoSelection, Integer.valueOf(SeqNoSelection)); + } + + /** Get Selection Column Sequence. + @return Selection Column Sequence + */ + public int getSeqNoSelection () + { + Integer ii = (Integer)get_Value(COLUMNNAME_SeqNoSelection); + if (ii == null) + return 0; + return ii.intValue(); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java new file mode 100644 index 0000000000..f4ebdefc8d --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_AD_UserDef_Info_Related.java @@ -0,0 +1,246 @@ +/****************************************************************************** + * 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_UserDef_Info_Related + * @author iDempiere (generated) + * @version Release 7.1 - $Id$ */ +public class X_AD_UserDef_Info_Related extends PO implements I_AD_UserDef_Info_Related, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20201015L; + + /** Standard Constructor */ + public X_AD_UserDef_Info_Related (Properties ctx, int AD_UserDef_Info_Related_ID, String trxName) + { + super (ctx, AD_UserDef_Info_Related_ID, trxName); + /** if (AD_UserDef_Info_Related_ID == 0) + { + setAD_InfoRelated_ID (0); + setAD_UserDef_Info_ID (0); +// @AD_UserDef_Info_ID@ + setAD_UserDef_Info_Related_ID (0); + } */ + } + + /** Load Constructor */ + public X_AD_UserDef_Info_Related (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 6 - System - Client + */ + 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() + { + StringBuilder sb = new StringBuilder ("X_AD_UserDef_Info_Related[") + .append(get_ID()).append(",Name=").append(getName()).append("]"); + return sb.toString(); + } + + public org.compiere.model.I_AD_InfoRelated getAD_InfoRelated() throws RuntimeException + { + return (org.compiere.model.I_AD_InfoRelated)MTable.get(getCtx(), org.compiere.model.I_AD_InfoRelated.Table_Name) + .getPO(getAD_InfoRelated_ID(), get_TrxName()); } + + /** Set InfoRelated. + @param AD_InfoRelated_ID InfoRelated */ + public void setAD_InfoRelated_ID (int AD_InfoRelated_ID) + { + if (AD_InfoRelated_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_InfoRelated_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_InfoRelated_ID, Integer.valueOf(AD_InfoRelated_ID)); + } + + /** Get InfoRelated. + @return InfoRelated */ + public int getAD_InfoRelated_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_InfoRelated_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_UserDef_Info getAD_UserDef_Info() throws RuntimeException + { + return (org.compiere.model.I_AD_UserDef_Info)MTable.get(getCtx(), org.compiere.model.I_AD_UserDef_Info.Table_Name) + .getPO(getAD_UserDef_Info_ID(), get_TrxName()); } + + /** Set User defined Info Window. + @param AD_UserDef_Info_ID User defined Info Window */ + public void setAD_UserDef_Info_ID (int AD_UserDef_Info_ID) + { + if (AD_UserDef_Info_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_ID, Integer.valueOf(AD_UserDef_Info_ID)); + } + + /** Get User defined Info Window. + @return User defined Info Window */ + public int getAD_UserDef_Info_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserDef_Info_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set User defined Info Related. + @param AD_UserDef_Info_Related_ID User defined Info Related */ + public void setAD_UserDef_Info_Related_ID (int AD_UserDef_Info_Related_ID) + { + if (AD_UserDef_Info_Related_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Related_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Related_ID, Integer.valueOf(AD_UserDef_Info_Related_ID)); + } + + /** Get User defined Info Related. + @return User defined Info Related */ + public int getAD_UserDef_Info_Related_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_UserDef_Info_Related_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set AD_UserDef_Info_Related_UU. + @param AD_UserDef_Info_Related_UU AD_UserDef_Info_Related_UU */ + public void setAD_UserDef_Info_Related_UU (String AD_UserDef_Info_Related_UU) + { + set_ValueNoCheck (COLUMNNAME_AD_UserDef_Info_Related_UU, AD_UserDef_Info_Related_UU); + } + + /** Get AD_UserDef_Info_Related_UU. + @return AD_UserDef_Info_Related_UU */ + public String getAD_UserDef_Info_Related_UU () + { + return (String)get_Value(COLUMNNAME_AD_UserDef_Info_Related_UU); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Display Logic. + @param DisplayLogic + If the Field is displayed, the result determines if the field is actually displayed + */ + public void setDisplayLogic (String DisplayLogic) + { + set_Value (COLUMNNAME_DisplayLogic, DisplayLogic); + } + + /** Get Display Logic. + @return If the Field is displayed, the result determines if the field is actually displayed + */ + public String getDisplayLogic () + { + return (String)get_Value(COLUMNNAME_DisplayLogic); + } + + /** Set Comment/Help. + @param Help + Comment or Hint + */ + public void setHelp (String Help) + { + set_Value (COLUMNNAME_Help, Help); + } + + /** Get Comment/Help. + @return Comment or Hint + */ + public String getHelp () + { + return (String)get_Value(COLUMNNAME_Help); + } + + /** 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); + } + + /** 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(); + } +} \ No newline at end of file diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java index 39cdfacc44..55883128ae 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/component/WInfoWindowListItemRenderer.java @@ -32,7 +32,7 @@ import org.adempiere.webui.theme.ThemeManager; import org.compiere.minigrid.ColumnInfo; import org.compiere.minigrid.IDColumn; import org.compiere.model.GridField; -import org.compiere.model.MInfoColumn; +import org.compiere.model.InfoColumnVO; import org.compiere.model.MStyle; import org.compiere.util.Env; import org.compiere.util.Evaluatee; @@ -41,7 +41,7 @@ import org.zkoss.zul.Listcell; public class WInfoWindowListItemRenderer extends WListItemRenderer { - private MInfoColumn[] gridDisplayedInfoColumns = null; + private InfoColumnVO[] gridDisplayedInfoColumns = null; private ColumnInfo[] gridDisplayedColumnInfos = null; private InfoWindow infoWindow = null; @@ -56,7 +56,7 @@ public class WInfoWindowListItemRenderer extends WListItemRenderer this.infoWindow = infoWindow; } - public void setGridDisplaydInfoColumns(MInfoColumn[] infoColumns, ColumnInfo[] columnInfos) + public void setGridDisplaydInfoColumns(InfoColumnVO[] infoColumns, ColumnInfo[] columnInfos) { this.gridDisplayedInfoColumns = infoColumns; this.gridDisplayedColumnInfos = columnInfos; @@ -75,7 +75,7 @@ public class WInfoWindowListItemRenderer extends WListItemRenderer ListModelTable model = table.getModel(); Object obj = model.get(rowIndex); - MInfoColumn infoColumn = gridDisplayedInfoColumns[columnIndex]; + InfoColumnVO infoColumn = gridDisplayedInfoColumns[columnIndex]; if (infoColumn != null) { @@ -135,7 +135,7 @@ public class WInfoWindowListItemRenderer extends WListItemRenderer String value = null; int idx = 0; - for (MInfoColumn ic : gridDisplayedInfoColumns) + for (InfoColumnVO ic : gridDisplayedInfoColumns) { if (ic != null && ic.getColumnName().equals(variableName)) { diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java index 34f0cd85f4..08d5832b02 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPViews.java @@ -25,6 +25,7 @@ import org.adempiere.webui.window.InfoSchedule; import org.compiere.model.MInfoWindow; import org.compiere.model.MRole; import org.compiere.model.MSysConfig; +import org.compiere.model.MUserDefInfo; import org.compiere.model.Query; import org.compiere.util.Env; import org.compiere.util.Msg; @@ -102,9 +103,16 @@ public class DPViews extends DashboardPanel implements EventListener { MInfoWindow info = infos[i]; if (MInfoWindow.get(info.getAD_InfoWindow_ID(), null) != null) { + // Load User Def + String name = info.get_Translation("Name"); + MUserDefInfo userDef = MUserDefInfo.getBestMatch(Env.getCtx(), info.getAD_InfoWindow_ID()); + if(userDef != null && !Util.isEmpty(userDef.getName())) { + name = userDef.getName(); + } + ToolBarButton btnViewItem = new ToolBarButton(info.getName()); btnViewItem.setSclass("link"); - btnViewItem.setLabel(info.get_Translation("Name")); + btnViewItem.setLabel(name); String image = (Util.isEmpty(info.getImageURL()) ? "Info16.png" : info.getImageURL()); if (ThemeManager.isUseFontIconForImage()) { diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java index 916883e40f..ce9491c595 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/info/InfoWindow.java @@ -71,6 +71,8 @@ import org.compiere.model.AccessSqlParser.TableInfo; import org.compiere.model.GridField; import org.compiere.model.GridFieldVO; import org.compiere.model.GridWindow; +import org.compiere.model.InfoColumnVO; +import org.compiere.model.InfoRelatedVO; import org.compiere.model.Lookup; import org.compiere.model.MInfoColumn; import org.compiere.model.MInfoWindow; @@ -80,6 +82,7 @@ import org.compiere.model.MProcess; import org.compiere.model.MRole; import org.compiere.model.MSysConfig; import org.compiere.model.MTable; +import org.compiere.model.MUserDefInfo; import org.compiere.model.X_AD_InfoColumn; import org.compiere.util.DB; import org.compiere.util.DisplayType; @@ -145,7 +148,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL protected ColumnInfo[] columnInfos; protected TableInfo[] tableInfos; - protected MInfoColumn[] infoColumns; + protected InfoColumnVO[] infoColumns; protected WQuickEntry vqe; @@ -586,21 +589,23 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } } - infoColumns = infoWindow.getInfoColumns(tableInfos); + MInfoColumn[] p_infoColumns = infoWindow.getInfoColumns(tableInfos); + infoColumns = InfoColumnVO.create(Env.getCtx(), p_infoColumns); gridFields = new ArrayList(); - for(MInfoColumn infoColumn : infoColumns) { + for(InfoColumnVO infoColumn : infoColumns) { if (infoColumn.isKey()) - keyColumnOfView = infoColumn; + keyColumnOfView = infoColumn.getAD_InfoColumn(); String columnName = infoColumn.getColumnName(); /*!m_lookup && infoColumn.isMandatory():apply Mandatory only case open as window and only for criteria field*/ boolean isMandatory = !m_lookup && infoColumn.isMandatory() && infoColumn.isQueryCriteria(); GridFieldVO vo = GridFieldVO.createParameter(infoContext, p_WindowNo, AEnv.getADWindowID(p_WindowNo), infoWindow.getAD_InfoWindow_ID(), 0, - columnName, infoColumn.get_Translation("Name"), infoColumn.getAD_Reference_ID(), - infoColumn.getAD_Reference_Value_ID(), isMandatory, false, infoColumn.get_Translation("Placeholder")); + columnName, infoColumn.getNameTrl(), infoColumn.getAD_Reference_ID(), + infoColumn.getAD_Reference_Value_ID(), isMandatory, false, infoColumn.getPlaceHolderTrl()); + if (infoColumn.getAD_Val_Rule_ID() > 0) { - vo.ValidationCode = infoColumn.getAD_Val_Rule().getCode(); + vo.ValidationCode = infoColumn.getValidationCode(); if (vo.lookupInfo != null) { vo.lookupInfo.ValidationCode = vo.ValidationCode; vo.lookupInfo.IsValidated = false; @@ -610,9 +615,9 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL vo.DisplayLogic = infoColumn.getDisplayLogic(); if (infoColumn.isQueryCriteria() && infoColumn.getDefaultValue() != null) vo.DefaultValue = infoColumn.getDefaultValue(); - String desc = infoColumn.get_Translation("Description"); + String desc = infoColumn.getDescriptionTrl(); vo.Description = desc != null ? desc : ""; - String help = infoColumn.get_Translation("Help"); + String help = infoColumn.getHelpTrl(); vo.Help = help != null ? help : ""; vo.AD_FieldStyle_ID = infoColumn.getAD_FieldStyle_ID(); vo.IsAutocomplete = infoColumn.isAutocomplete(); @@ -633,7 +638,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL if(processCount > 0) { - for(MInfoColumn infoColumn:infoColumns) + for(InfoColumnVO infoColumn:infoColumns) { if(infoColumn.isReadOnly() == false) { @@ -673,29 +678,26 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } } - //private MInfoColumn[] topinfoColumns;//infoWindow.getInfoColumns(tableInfos); + //private InfoColumnVO[] topinfoColumns;//infoWindow.getInfoColumns(tableInfos); protected boolean loadInfoRelatedTabs() { if (infoWindow == null) return false; // topinfoColumns = infoWindow.getInfoColumns(); - relatedInfoList = infoWindow.getInfoRelated(true); + MInfoRelated[] infoRelatedList = infoWindow.getInfoRelated(true); + //Init Info Related VO + relatedInfoList = InfoRelatedVO.getInfoRelatedVOList(Env.getCtx(), infoRelatedList, p_WindowNo); + Tabpanels tabPanels = new Tabpanels(); Tabs tabs = new Tabs(); - if (relatedInfoList.length > 0) { // setup the panel - - //embeddedPane.setTitle(Msg.translate(Env.getCtx(), "Related Information")); - ZKUpdateUtil.setHeight(embeddedPane, "100%"); - //tabPanels = new Tabpanels(); - embeddedPane.appendChild(tabPanels); - //tabs = new Tabs(); - embeddedPane.appendChild(tabs); - - } // for(int i=0; i < relatedinfoList.length - 1 ; i++) { - for (MInfoRelated relatedInfo:relatedInfoList) { + for (InfoRelatedVO relatedInfo:relatedInfoList) { + + if(!relatedInfo.isDisplayed(infoContext)) { + continue; + } String tableName = null; int infoRelatedID = relatedInfo.getRelatedInfo_ID(); @@ -748,12 +750,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL RelatedInfoWindow relatedInfoWindow = new RelatedInfoWindow(ewinInfo, this, embeddedPaging, s_sqlCount, s_layoutEmbedded, editorMap); relatedMap.put(embedInfo.getAD_InfoWindow_ID(), relatedInfoWindow); - MInfoWindow riw = (MInfoWindow) relatedInfo.getRelatedInfo(); - String tabTitle; - if (riw != null) - tabTitle = Util.cleanAmp(riw.get_Translation("Name")); - else - tabTitle = relatedInfo.getName(); + String tabTitle = relatedInfo.getName(); Tab tab = new Tab(tabTitle); tabs.appendChild(tab); Tabpanel desktopTabPanel = new Tabpanel(); @@ -768,6 +765,17 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } } + + if (relatedInfoList.length > 0) { // setup the panel + + //embeddedPane.setTitle(Msg.translate(Env.getCtx(), "Related Information")); + ZKUpdateUtil.setHeight(embeddedPane, "100%"); + //tabPanels = new Tabpanels(); + embeddedPane.appendChild(tabPanels); + //tabs = new Tabs(); + embeddedPane.appendChild(tabs); + + } return true; } @@ -781,13 +789,13 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL String keySelectClause = keyTableAlias+"."+p_keyColumn; list.add(new ColumnInfo(" ", keySelectClause, IDColumn.class, true, false, null, p_keyColumn)); - List gridDisplayedIC = new ArrayList<>(); + List gridDisplayedIC = new ArrayList<>(); gridDisplayedIC.add(null); // First column does not have any matching info column boolean haveNotProcess = !haveProcess; // A field is editabile only if is not readonly and theres a process int i = 0; - for(MInfoColumn infoColumn : infoColumns) + for(InfoColumnVO infoColumn : infoColumns) { if (infoColumn.isDisplayed(infoContext, p_WindowNo)) { @@ -800,7 +808,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL if (infoColumn.getSelectClause().equalsIgnoreCase(keySelectClause)) continue; - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true), infoColumn.isReadOnly() || haveNotProcess); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true), infoColumn.isReadOnly() || haveNotProcess); } else if (DisplayType.isLookup(infoColumn.getAD_Reference_ID())) { @@ -811,7 +819,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL editor.setMandatory(false); editor.setReadWrite(false); editorMap.put(colSQL, editor); - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, ValueNamePair.class, (String)null, infoColumn.isReadOnly() || haveNotProcess); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, ValueNamePair.class, (String)null, infoColumn.isReadOnly() || haveNotProcess); } else { @@ -820,16 +828,16 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } else { - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true), infoColumn.isReadOnly() || haveNotProcess); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true), infoColumn.isReadOnly() || haveNotProcess); } - columnInfo.setColDescription(infoColumn.get_Translation("Description")); + columnInfo.setColDescription(infoColumn.getNameTrl()); columnInfo.setAD_Reference_ID(infoColumn.getAD_Reference_ID()); columnInfo.setGridField(gridFields.get(i)); columnInfo.setColumnName(infoColumn.getColumnName()); list.add(columnInfo); gridDisplayedIC.add(infoColumn); - if (keyColumnOfView == infoColumn){ + if (keyColumnOfView == infoColumn.getAD_InfoColumn()){ if (columnInfo.getColClass().equals(IDColumn.class)) isIDColumnKeyOfView = true; indexKeyOfView = list.size() - 1; @@ -843,7 +851,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } columnInfos = list.toArray(new ColumnInfo[0]); - MInfoColumn gridDisplayedInfoColumns[] = gridDisplayedIC.toArray(new MInfoColumn[gridDisplayedIC.size()]); + InfoColumnVO gridDisplayedInfoColumns[] = gridDisplayedIC.toArray(new InfoColumnVO[gridDisplayedIC.size()]); if(infoWindowListItemRenderer != null) infoWindowListItemRenderer.setGridDisplaydInfoColumns(gridDisplayedInfoColumns,columnInfos); @@ -852,7 +860,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } protected ColumnInfo createLookupColumnInfo(TableInfo[] tableInfos, - GridField gridField, MInfoColumn infoColumn) { + GridField gridField, InfoColumnVO infoColumn) { String columnName = gridField.getColumnName(); String validationCode = ""; MLookupInfo lookupInfo = MLookupFactory.getLookupInfo(Env.getCtx(), p_WindowNo, 0, infoColumn.getAD_Reference_ID(), Env.getLanguage(Env.getCtx()), columnName, infoColumn.getAD_Reference_Value_ID(), false, validationCode); @@ -871,7 +879,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL if (tableInfo.getTableName().equalsIgnoreCase(lookupInfo.TableName)) { displayColumn = displayColumn.replace(lookupInfo.TableName+".", tableInfo.getSynonym()+"."); - ColumnInfo columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), displayColumn, KeyNamePair.class, infoColumn.getSelectClause(), infoColumn.isReadOnly() || haveNotProcess); + ColumnInfo columnInfo = new ColumnInfo(infoColumn.getNameTrl(), displayColumn, KeyNamePair.class, infoColumn.getSelectClause(), infoColumn.isReadOnly() || haveNotProcess); return columnInfo; } break; @@ -889,7 +897,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL colSQL += " AS " + infoColumn.getColumnName(); editorMap.put(colSQL, editor); Class colClass = columnName.endsWith("_ID") ? KeyNamePair.class : String.class; - ColumnInfo columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, colClass, (String)null, infoColumn.isReadOnly() || haveNotProcess); + ColumnInfo columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, colClass, (String)null, infoColumn.isReadOnly() || haveNotProcess); return columnInfo; } @@ -937,11 +945,11 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL builder.append(whereClause); } } else if (editor.getGridField() != null && editor.getValue() != null && editor.getValue().toString().trim().length() > 0) { - MInfoColumn mInfoColumn = findInfoColumn(editor.getGridField()); - if (mInfoColumn == null || mInfoColumn.getSelectClause().equals("0")) { + InfoColumnVO InfoColumnVO = findInfoColumn(editor.getGridField()); + if (InfoColumnVO == null || InfoColumnVO.getSelectClause().equals("0")) { continue; } - String columnName = mInfoColumn.getSelectClause(); + String columnName = InfoColumnVO.getSelectClause(); int asIndex = columnName.toUpperCase().lastIndexOf(" AS "); if (asIndex > 0) { columnName = columnName.substring(0, asIndex); @@ -962,7 +970,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL builder.append(checkAND.isChecked() ? " AND " : " OR "); } - if (mInfoColumn.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionList) + if (InfoColumnVO.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionList) { String pString = editor.getValue().toString(); String column = columnName; @@ -974,7 +982,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL else builder.append(DB.inClauseForCSV(columnName, pString)); } - else if (mInfoColumn.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionTable || mInfoColumn.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionSearch) + else if (InfoColumnVO.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionTable || InfoColumnVO.getAD_Reference_ID() == DisplayType.ChosenMultipleSelectionSearch) { String pString = editor.getValue().toString(); if (columnName.endsWith("_ID")) @@ -989,8 +997,8 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL else { String columnClause = null; - if (mInfoColumn.getQueryFunction() != null && mInfoColumn.getQueryFunction().trim().length() > 0) { - String function = mInfoColumn.getQueryFunction(); + if (InfoColumnVO.getQueryFunction() != null && InfoColumnVO.getQueryFunction().trim().length() > 0) { + String function = InfoColumnVO.getQueryFunction(); if (function.indexOf("@") >= 0) { String s = Env.parseContext(infoContext, p_WindowNo, function, true, false); if (s.length() == 0) { @@ -1009,7 +1017,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } builder.append(columnClause) .append(" ") - .append(mInfoColumn.getQueryOperator()); + .append(InfoColumnVO.getQueryOperator()); if (columnClause.toUpperCase().startsWith("UPPER(")) { builder.append(" UPPER(?)"); } else { @@ -1032,7 +1040,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL return sql; } - protected MInfoColumn findInfoColumn(GridField gridField) { + protected InfoColumnVO findInfoColumn(GridField gridField) { for(int i = 0; i < gridFields.size(); i++) { if (gridFields.get(i) == gridField) { return infoColumns[i]; @@ -1066,8 +1074,8 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL continue; if (editor.getGridField() != null && editor.getValue() != null && editor.getValue().toString().trim().length() > 0) { - MInfoColumn mInfoColumn = findInfoColumn(editor.getGridField()); - if (mInfoColumn == null || mInfoColumn.getSelectClause().equals("0")) { + InfoColumnVO InfoColumnVO = findInfoColumn(editor.getGridField()); + if (InfoColumnVO == null || InfoColumnVO.getSelectClause().equals("0")) { continue; } return true; @@ -1108,20 +1116,20 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL continue; if (editor.getGridField() != null && editor.getValue() != null && editor.getValue().toString().trim().length() > 0) { - MInfoColumn mInfoColumn = findInfoColumn(editor.getGridField()); - if (mInfoColumn == null || mInfoColumn.getSelectClause().equals("0")) { + InfoColumnVO InfoColumnVO = findInfoColumn(editor.getGridField()); + if (InfoColumnVO == null || InfoColumnVO.getSelectClause().equals("0")) { continue; } - if (mInfoColumn.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionList || mInfoColumn.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionSearch - || mInfoColumn.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionTable) { + if (InfoColumnVO.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionList || InfoColumnVO.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionSearch + || InfoColumnVO.getAD_Reference_ID()==DisplayType.ChosenMultipleSelectionTable) { continue; } Object value = editor.getValue(); parameterIndex++; prevParameterValues.add(value); - prevQueryOperators.add(mInfoColumn.getQueryOperator()); + prevQueryOperators.add(InfoColumnVO.getQueryOperator()); prevRefParmeterEditor.add(editor); - setParameter (pstmt, parameterIndex, value, mInfoColumn.getQueryOperator()); + setParameter (pstmt, parameterIndex, value, InfoColumnVO.getQueryOperator()); } } @@ -1240,7 +1248,8 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL if (infoProcess.getInfoColumnID() <= 0) continue; - MInfoColumn infocol = (MInfoColumn) infoProcess.getAD_InfoColumn(); + MInfoColumn p_infocol = (MInfoColumn) infoProcess.getAD_InfoColumn(); + InfoColumnVO infocol = new InfoColumnVO(Env.getCtx(), p_infocol); if (! infocol.isDisplayed()) { sqlColumn.append(", ").append(infocol.getSelectClause()).append(" AS ").append(infocol.getColumnName()).append(" "); @@ -1260,8 +1269,14 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } protected void renderWindow() - { - setTitle(infoWindow.get_Translation("Name")); + { + // Load User Def + MUserDefInfo userDef = MUserDefInfo.getBestMatch(Env.getCtx(), infoWindow.getAD_InfoWindow_ID()); + if(userDef != null && !Util.isEmpty(userDef.getName())) { + setTitle(userDef.getName()); + } else { + setTitle(infoWindow.get_Translation("Name")); + } layout = new Borderlayout(); ZKUpdateUtil.setWidth(layout, "100%"); ZKUpdateUtil.setHeight(layout, "100%"); @@ -1430,7 +1445,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } } } else { - addSelectionColumn((MInfoColumn)value[0], (GridField)value[1]); + addSelectionColumn((InfoColumnVO)value[0], (GridField)value[1]); } } } @@ -1475,7 +1490,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL * @param infoColumn * @param mField field **/ - protected void addSelectionColumn(MInfoColumn infoColumn, GridField mField) + protected void addSelectionColumn(InfoColumnVO infoColumn, GridField mField) { int displayLength = mField.getDisplayLength(); if (displayLength <= 0 || displayLength > FIELDLENGTH) @@ -1984,7 +1999,9 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL AccessSqlParser sqlParser = new AccessSqlParser("SELECT * FROM " + info.getFromClause()); TableInfo[] tableInfos = sqlParser.getTableInfo(0); - MInfoColumn[] infoColumns = info.getInfoColumns(tableInfos); + MInfoColumn[] p_infoColumns = info.getInfoColumns(tableInfos); + InfoColumnVO[] infoColumns = InfoColumnVO.create(Env.getCtx(), p_infoColumns); + ArrayList list = new ArrayList(); String keyTableAlias = tableInfos[0].getSynonym() != null && tableInfos[0].getSynonym().trim().length() > 0 ? tableInfos[0].getSynonym() @@ -1992,7 +2009,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL String keySelectClause = keyTableAlias + "." + p_keyColumn; - for (MInfoColumn infoColumn : infoColumns) + for (InfoColumnVO infoColumn : infoColumns) { if (infoColumn.isDisplayed(infoContext, p_WindowNo)) { @@ -2005,7 +2022,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL if (infoColumn.getSelectClause().equalsIgnoreCase(keySelectClause)) continue; - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true)); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true)); } else if (DisplayType.isLookup(infoColumn.getAD_Reference_ID())) { @@ -2016,7 +2033,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL editor.setMandatory(false); editor.setReadWrite(false); editorMap.put(colSQL, editor); - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, ValueNamePair.class, (String)null); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, ValueNamePair.class, (String)null); } else { @@ -2026,9 +2043,9 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL } else { - columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true)); + columnInfo = new ColumnInfo(infoColumn.getNameTrl(), colSQL, DisplayType.getClass(infoColumn.getAD_Reference_ID(), true)); } - columnInfo.setColDescription(infoColumn.get_Translation("Description")); + columnInfo.setColDescription(infoColumn.getDescriptionTrl()); columnInfo.setGridField(getGridField(infoColumn)); list.add(columnInfo); } @@ -2053,24 +2070,24 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL /** * @author xolali IDEMPIERE-1045 - * GridField getGridField(MInfoColumn infoColumn) + * GridField getGridField(InfoColumnVO infoColumn) */ - protected GridField getGridField(MInfoColumn infoColumn){ + protected GridField getGridField(InfoColumnVO infoColumn){ String columnName = infoColumn.getColumnName(); GridFieldVO vo = GridFieldVO.createParameter(infoContext, p_WindowNo, AEnv.getADWindowID(p_WindowNo), m_infoWindowID, 0, - columnName, infoColumn.get_Translation("Name"), infoColumn.getAD_Reference_ID(), - infoColumn.getAD_Reference_Value_ID(), false, false, infoColumn.get_Translation("Placeholder")); + columnName, infoColumn.getNameTrl(), infoColumn.getAD_Reference_ID(), + infoColumn.getAD_Reference_Value_ID(), false, false, infoColumn.getPlaceHolderTrl()); if (infoColumn.getAD_Val_Rule_ID() > 0) { - vo.ValidationCode = infoColumn.getAD_Val_Rule().getCode(); + vo.ValidationCode = infoColumn.getValidationCode(); if (vo.lookupInfo != null) { vo.lookupInfo.ValidationCode = vo.ValidationCode; vo.lookupInfo.IsValidated = false; } } vo.DisplayLogic = infoColumn.getDisplayLogic() != null ? infoColumn.getDisplayLogic() : ""; - String desc = infoColumn.get_Translation("Description"); + String desc = infoColumn.getDescriptionTrl(); vo.Description = desc != null ? desc : ""; - String help = infoColumn.get_Translation("Help"); + String help = infoColumn.getHelpTrl(); vo.Help = help != null ? help : ""; vo.AD_FieldStyle_ID = infoColumn.getAD_FieldStyle_ID(); GridField gridField = new GridField(vo); @@ -2276,7 +2293,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL val = kdc; } - MInfoColumn infoColumn = infoColumns[colIndex - 1]; + InfoColumnVO infoColumn = infoColumns[colIndex - 1]; boolean changeIsValid = true; String validationSQL = null; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java index 80dc012871..2250aeb1d2 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/HelpController.java @@ -35,6 +35,7 @@ import org.compiere.model.MQuery; import org.compiere.model.MRole; import org.compiere.model.MTab; import org.compiere.model.MTask; +import org.compiere.model.MUserDefInfo; import org.compiere.model.PO; import org.compiere.model.X_AD_CtxHelp; import org.compiere.util.Env; @@ -427,17 +428,29 @@ public class HelpController else if (ctxType.equals(X_AD_CtxHelp.CTXTYPE_Info)) { MInfoWindow info = new MInfoWindow(Env.getCtx(), recordId, null); - if (!Env.isBaseLanguage(Env.getCtx(), I_AD_InfoWindow.Table_Name)) { + // Load User Def + MUserDefInfo userDef = MUserDefInfo.getBestMatch(Env.getCtx(), info.getAD_InfoWindow_ID()); + + if (!Env.isBaseLanguage(Env.getCtx(), I_AD_InfoWindow.Table_Name)) { nameMsg = info.get_Translation("Name",false); - if (info != null && nameMsg != null + if(userDef != null && !Util.isEmpty(userDef.getName())) { + nameMsg = userDef.getName(); + } + if (nameMsg != null && nameMsg.length() != 0) translatedContent.append("

" + nameMsg + "

\n"); descMsg = info.get_Translation("Description",false); + if(userDef != null && !Util.isEmpty(userDef.getDescription())) { + descMsg = userDef.getDescription(); + } if (descMsg != null && descMsg.length() != 0) translatedContent.append("

" + descMsg + "

\n"); helpMsg = info.get_Translation("Help",false); + if(userDef != null && !Util.isEmpty(userDef.getHelp())) { + helpMsg = userDef.getHelp(); + } if (helpMsg != null && helpMsg.length() != 0) translatedContent.append("

" + helpMsg + "

\n"); @@ -448,17 +461,29 @@ public class HelpController } } - if (info != null && info.getName() != null - && info.getName().length() != 0) - baseContent.append("

" + info.getName() + "

\n"); + String name = info.getName(); + if(userDef != null && !Util.isEmpty(userDef.getName())) { + name = userDef.getName(); + } + if ( name != null + && name.length() != 0) + baseContent.append("

" + name + "

\n"); - if (info.getDescription() != null - && info.getDescription().length() != 0) - baseContent.append("

" + info.getDescription() + "

\n"); + String description = info.getDescription(); + if(userDef != null && !Util.isEmpty(userDef.getDescription())) { + description = userDef.getDescription(); + } + if (description != null + && description.length() != 0) + baseContent.append("

" + description + "

\n"); - if (info.getHelp() != null - && info.getHelp().length() != 0) - baseContent.append("

" + info.getHelp() + "

\n"); + String help = info.getHelp(); + if(userDef != null && !Util.isEmpty(userDef.getHelp())) { + help = userDef.getHelp(); + } + if (help != null + && help.length() != 0) + baseContent.append("

" + help + "

\n"); if (baseContent.length() > 0) { diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java index 3fd221ad5d..54eeed0134 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/InfoPanel.java @@ -40,7 +40,6 @@ import java.util.logging.Level; import org.adempiere.exceptions.AdempiereException; import org.adempiere.model.IInfoColumn; import org.adempiere.model.MInfoProcess; -import org.adempiere.model.MInfoRelated; import org.adempiere.webui.AdempiereWebUI; import org.adempiere.webui.ClientInfo; import org.adempiere.webui.LayoutUtils; @@ -71,6 +70,8 @@ import org.adempiere.webui.util.ZKUpdateUtil; import org.compiere.minigrid.ColumnInfo; import org.compiere.minigrid.IDColumn; import org.compiere.model.GridField; +import org.compiere.model.InfoColumnVO; +import org.compiere.model.InfoRelatedVO; import org.compiere.model.MInfoColumn; import org.compiere.model.MInfoWindow; import org.compiere.model.MPInstance; @@ -135,7 +136,7 @@ public abstract class InfoPanel extends Window implements EventListener, protected final static String ATT_INFO_PROCESS_KEY = "INFO_PROCESS"; protected int pageSize; public LinkedHashMap> m_values = null; - protected MInfoRelated[] relatedInfoList; + protected InfoRelatedVO[] relatedInfoList; // for test disable load all record when num of record < 1000 protected boolean isIgnoreCacheAll = true; // Num of page preload, default is 2 page before current and 2 page after current @@ -791,7 +792,8 @@ public abstract class InfoPanel extends Window implements EventListener, if (modelHasInfoColumn.getInfoColumnID() <= 0 || listReadedColumn.contains(modelHasInfoColumn.getInfoColumnID())) continue; - MInfoColumn infoColumnAppend = (MInfoColumn) modelHasInfoColumn.getAD_InfoColumn(); + MInfoColumn infoColumnApp = (MInfoColumn) modelHasInfoColumn.getAD_InfoColumn(); + InfoColumnVO infoColumnAppend = new InfoColumnVO(Env.getCtx(), infoColumnApp); Object appendData = null; try { if (DisplayType.isID(infoColumnAppend.getAD_Reference_ID())) { diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WCtxHelpSuggestion.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WCtxHelpSuggestion.java index a1496c6be1..ce8ea17902 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WCtxHelpSuggestion.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/window/WCtxHelpSuggestion.java @@ -17,6 +17,7 @@ import org.compiere.model.MInfoWindow; import org.compiere.model.MProcess; import org.compiere.model.MTab; import org.compiere.model.MTask; +import org.compiere.model.MUserDefInfo; import org.compiere.model.PO; import org.compiere.model.X_AD_CtxHelp; import org.compiere.util.DB; @@ -364,7 +365,13 @@ public class WCtxHelpSuggestion extends Window implements EventListener { ctxHelp.setCtxType(X_AD_CtxHelp.CTXTYPE_Workflow); } else if (po instanceof MInfoWindow) { MInfoWindow info = (MInfoWindow) po; + // Load User Def String name = info.getName(); + MUserDefInfo userDef = MUserDefInfo.getBestMatch(Env.getCtx(), info.getAD_InfoWindow_ID()); + if(userDef != null && !Util.isEmpty(userDef.getName())) { + name = userDef.getName(); + } + String fullName = "Info " + name; if (fullName.length() <= 60) { ctxHelp.setName(fullName);