Skip to content
Snippets Groups Projects
Commit 860bfe32 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

fix performance filter view salesproject

parent fa2fb2aa
No related branches found
No related tags found
No related merge requests found
import("system.neon");
import("Sql_lib");
import("system.vars");
import("system.db");
vars.set("$context.statusBefore", db.cell(SqlCondition.begin()
if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
{
vars.set("$context.statusBefore", db.cell(SqlCondition.begin()
.andPrepareVars("SALESPROJECT.SALESPROJECTID", "$field.SALESPROJECTID")
.buildSql("select STATUS from SALESPROJECT", "1=2")));
\ No newline at end of file
.buildSql("select STATUS from SALESPROJECT", "1=2")));
}
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