Skip to content
Snippets Groups Projects
Commit d8f5957c authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

[Projekt: xRM-ContactManagement][TicketNr.: 2001286][Innovation Days - Team...

[Projekt: xRM-ContactManagement][TicketNr.: 2001286][Innovation Days - Team Basic - Ultimate Edition]
parent 2267079a
No related branches found
No related tags found
No related merge requests found
import("system.db");
import("Contact_lib");
import("system.result");
import("system.vars");
import("Util_lib");
import("Contact_lib");
let contenttitleSQL;
// This is need for the derby db, because the derby db don't have a REPLACE-Function, which is needed for the dissolution of the salutation
if (db.getDatabaseType(db.getCurrentAlias()) == db.DBTYPE_DERBY10)
{
var renderer = new ContactTitleRenderer(Contact.createWithColumnPreset(), null);
contenttitleSQL = renderer.asSql();
}
else
{
contenttitleSQL = Contacttils.getContactSalutationSubSql(true);
}
result.string(ContactUtils.getContactSalutationSubSql(true));
\ No newline at end of file
result.string(contenttitleSQL);
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment