diff --git a/.liquibase/Data_alias/basic/2019.2/AditoBasic/create_ab_loghistory.xml b/.liquibase/Data_alias/basic/2019.2/AditoBasic/create_ab_loghistory.xml index 16c96add30352f90a51c8e0d01467ff5ac7c3a0d..d7d65e6c6fc084edc1edd6173ce131458d314848 100644 --- a/.liquibase/Data_alias/basic/2019.2/AditoBasic/create_ab_loghistory.xml +++ b/.liquibase/Data_alias/basic/2019.2/AditoBasic/create_ab_loghistory.xml @@ -5,10 +5,10 @@ <column name="USER_NEW" type="NVARCHAR(50)"> <constraints nullable="false"/> </column> - <column name="DATE_NEW" type="TIMESTAMP"> + <column name="DATE_NEW" type="DATETIME"> <constraints nullable="false"/> </column> - <column name="DESCRIPTION" type="LONGVARCHAR(2147483647)"/> + <column name="DESCRIPTION" type="NCLOB"/> <column name="LOGTYPE" type="CHAR(1)"/> <column name="SOURCE_TABLENAME" type="NVARCHAR(30)"/> <column name="SOURCE_TABLENAMEID" type="CHAR(36)"/> diff --git a/process/Contact_lib/process.js b/process/Contact_lib/process.js index e8b2c9e47b364585c196e91b6b26e6da727af6cc..e70b9797751490b8bcce4814f808f76eee56abdc 100644 --- a/process/Contact_lib/process.js +++ b/process/Contact_lib/process.js @@ -15,6 +15,13 @@ import("Context_lib"); */ function OrganisationUtils() {} +/* + * retrieves the name of an organisation with a select statement + * + * @param {String} pOrganisationId the ID of the organisation that shall be searched in the database; + * + * @return {String} the name of the organisation + */ OrganisationUtils.getNameByOrganisationId = function(pOrganisationId) { var orgname = ""; @@ -27,6 +34,13 @@ OrganisationUtils.getNameByOrganisationId = function(pOrganisationId) return orgname; }; +/* + * retrieves the name of an organisation with a select statement + * + * @param {String} pContactId the ID of the corresponding org-contact of the organisation that shall be searched in the database; + * + * @return {String} the name of the organisation + */ OrganisationUtils.getNameByContactId = function(pContactId) { var orgname = "";