Skip to content
Snippets Groups Projects
Commit 7a46c3fa authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1036415][Übernahme AUDIT und Logging...

[Projekt: Entwicklung - Neon][TicketNr.: 1036415][Übernahme AUDIT und Logging aus bestehendem xRM-Basic für ADITO 2019] - offer
parent 1ff77d0c
No related branches found
No related tags found
No related merge requests found
import("system.result");
import("lib_addr");
import("Address_lib");
import("Loghistory_lib");
result.string(new AddrObject("{value}").formatAddress("{on} - {fn} {ln} {ci}"));
\ No newline at end of file
var params = Translate4LogParams.load();
result.string(new AddrObject(params.value).getFormattedAddress());
\ No newline at end of file
import("system.translate");
import("system.vars");
import("system.result");
import("system.text");
import("Loghistory_lib");
var val = vars.get("$local.value");
result.string(text.formatDouble(val, "#,##0.00"));
\ No newline at end of file
var params = Translate4LogParams.load();
result.string(text.formatDouble(params.value, translate.text("#,##0.00", params.locale)));
\ No newline at end of file
import("system.result");
import("system.db");
import("lib_sql");
import("Sql_lib");
import("Loghistory_lib");
result.string(db.cell("select " + concat(["PROJECTTITLE", "'/'", "cast( PROJECTNUMBER as char(5))"]) + " from SALESPROJECT where SALESPROJECTID = '{value}'"));
\ No newline at end of file
var params = Translate4LogParams.load();
var res = db.cell(SqlCondition.begin()
.andPrepare("SALESPROJECT.SALESPROJECTID", params.value)
.buildSql("select " + concat(["PROJECTTITLE", "'/'", "cast( PROJECTNUMBER as char(5))"]) + " from SALESPROJECT"));
result.string(res);
\ No newline at end of file
import("system.translate");
import("system.vars");
import("system.result");
import("system.text");
import("Loghistory_lib");
var val = vars.get("$local.value");
result.string(text.formatDouble(val, "#,##0.00"));
\ No newline at end of file
var params = Translate4LogParams.load();
result.string(text.formatDouble(params.value, translate.text("#,##0.00", params.locale)));
\ 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