Hi,
I am implementing new Report from the scratch using a RDP class. I use a controller class, a contract class to get recId and tabledID when is called from a form. Depend on the tableID I need to retrieve some information or another. For that I use preRunModifyContract. It works fine. Maybe exist a better way to achieve that.
the problem is when I execute the report, the system display a form (see below) to choose printer or whatever. In that form the contract parameters are shown. I don't want that because they are for internal purpose. Exist any way to hide that fields / parameters?
for contract I created this methods:
[
DataMemberAttribute('tabledId'),
SysOperationLabelAttribute(literalStr('tableId'))
]
public TableId parmtableId(TableId _tableId = tableId)
{
tableId = _tableId;
return tableId;
}
[
DataMemberAttribute('recId'),
SysOperationLabelAttribute(literalStr('recId'))
]
public RecId parmrecId(RecId _recId = recId)
{
recId = _recId;
return recId;
}
If I comment the DataMemeberAttribute the values for tableid and recId are not stored but they are not shown in the form. I am bit stacked.
thank you
*This post is locked for comments
I have the same question (0)