
public int task(int _p1)
{
#Task
int ret;
CustAccount custAccountBeforeRefresh;
boolean gridLosesRecordOnRefreshWorkaroundNeeded;
// workaroundForRefreshEnabled =>
gridLosesRecordOnRefreshWorkaroundNeeded = _p1 == #taskRefresh && workaroundForRefreshEnabled;
if (gridLosesRecordOnRefreshWorkaroundNeeded)
{
custAccountBeforeRefresh = CustTable.AccountNum;
}
// workaroundForRefreshEnabled <=
ret = super(_p1);
// workaroundForRefreshEnabled =>
if (gridLosesRecordOnRefreshWorkaroundNeeded)
{
CustTable_DS.positionToRecord(CustTable::find(custAccountBeforeRefresh));
}
// workaroundForRefreshEnabled <=
return ret;
}
Rg,
Alexander
*Due to the complex and different possibilities of deploying Dynamics 365 I highly recommend not to setup the application without some expert/partner or support. (For more information contact me under anassl@inno-solutions.info or visit www.inno-solutions.de)
*The Information comes directly from the manufacturer or provider and are validated (not guaranteed) up to date of creation of the posting.
References: