#1 2016-08-19 07:09:17

rajup
Member
Registered: 2016-08-17

Grid Editor

Hi,
i am trying to explore Grid Editor. i have create below script from that script generating Script report.on running report getting error


Error: The report could not be executed: net.datenwerke.rs.scripting.service.scripting.exceptions.ScriptEngineException: javax.script.ScriptException: groovy.lang.MissingPropertyException: No such property: gridHelper for class: Script2 ------- SCRIPT ERROR INFO ------- Script execution failed. error message: No such property: gridHelper for class: Script2 (groovy.lang.MissingPropertyException) script arguments: file: GridEditor.groovy (id: 29664, line 1) line number: 1 line: def adapter = gridHelper.initDbGridEditor()


Script:

def adapter = gridHelper.initDbGridEditor()

adapter.configure(report,"T_AGG_CUSTOMER")
    .setPk('CUS_CUSTOMERNUMBER')
    .columns()
        .add('CUS_CUSTOMERNUMBER')
        .add('CUS_CUSTOMERNAME')
        .add('CUS_CREDITLIMIT')
    .done()

return adapter;

Offline

#2 2016-08-19 07:29:45

Thomas Davies
datenwerke
Registered: 2016-05-18

Re: Grid Editor

Hi Rajup,

if I am not mistaken you have created a Script Report rather than a Grid Editor Report. Could that be the case?

Regards,
Thomas

Offline

Board footer

Powered by FluxBB