Hi
I am using contract class and a dp class for my audit report.
In the parameter box i have to make the check box always ticked.
Please see below the field exceptions only.
Is it possible to modify it in contract itself without going to controller?
My contract class code :
[DataContractAttribute]
public class TESTContract
{
TransDate fromdate;
TransDate todate;
NoYes exceptionsonly;
[
DataMemberAttribute(identifierStr(SchedFromDate)),
SysOperationDisplayOrderAttribute("1")
]
public TransDate parmScheduledFrom (TransDate _fromdate = fromdate)
{
fromdate = _fromdate;
return fromdate;
}
[
DataMemberAttribute(identifierStr(SchedToDate)),
SysOperationDisplayOrderAttribute("2")
]
public TransDate parmScheduledTo (TransDate _todate = todate)
{
todate = _todate;
return todate;
}
[
DataMemberAttribute(identifierStr(NoYes)),
SysOperationLabelAttribute(literalStr("Exceptions Only")),
SysOperationDisplayOrderAttribute("3")
]
public NoYes parmExceptionsonly(NoYes _exceptionsonly = exceptionsonly)
{
exceptionsonly = _exceptionsonly;
return exceptionsonly;
}
}
Please suggest me how to modify the contract to achieve the above req
Kind Regards
Anna
*This post is locked for comments