Hi All,
I'm currently trying to bind my modification exit to my OData service, but I constantly get a syntax error.
Binding XSJS Binding statement
"TIMESHEET"."TIMEENTRY" as "TIME_ENTRY" navigates ("PROJECT_TIME_ENTRY" as "TIME_TO_PROJECTS") update using "BHTimeMan.service:time_entry.xsjslib:create_before_exit";
XS JavaScript function
function create_before_exit(param)
{
$.trace.debug("entered function");
var before = param.beforeTableName;
var pStmt = null;
// Get Input New record Values
try
{
pStmt = param.connection.prepareStatement('select * from ”' + before +'"');
$.trace.debug(before);
}catch(e)
{
pStmt.close();
}
}
Syntax error
Any help will be highly appreciated.
Regards
Sim