Hi All,
I have a requirement whereby I need to build the data in a table and then export it using a data entity. So at the start of the export, some code needs to be executed to build that table and then export it.
I overwrote several methods on the data entity but no luck. In the code below you see it three times. It only needs to be executed once, but three times in this example to show I tried different methods. The odd thing is also that the breakpoints here don't get hit while debugging (the postLoad method does get hit). So it's obvious that something is wrong, but what.
Any thoughts appreciated.
Cheers,
Gerard Verbruggen
public class MyentityClass extends common
{
public void postLoad()
{
super();
}
///
///
///
///
///
public void initializeEntityDataSource(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx)
{
Myclass::MyMethod();
super(_entityCtx, _dataSourceCtx);
}
///
///
///
///
///
public void mapDataSourceToEntity(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx)
{
Myclass::MyMethod();
super(_entityCtx, _dataSourceCtx);
}
///
///
///
///
///
public void mapEntityToDataSource(DataEntityRuntimeContext _entityCtx, DataEntityDataSourceRuntimeContext _dataSourceCtx)
{
Myclass::MyMethod();
super(_entityCtx, _dataSourceCtx);
}
}