Hi all,
When creating Contract Class, I usually using this kind of parameter code :
[ DataMemberAttribute,
SysOperationLabelAttribute("Created from date"),
SysOperationDisplayOrderAttribute('1')
]
public transdate parmfromdate(Transdate _fromdate = fromdate)
{
fromdate = _fromdate;
return fromdate;
}
In the DataMemberAttribute, what is actually the difference by adding some word or leave it empty like that ? because it used to be like this ->
[ DataMemberAttribute("FromDate"),
SysOperationLabelAttribute("Created from date"),
SysOperationDisplayOrderAttribute('1')
]
public transdate parmfromdate(Transdate _fromdate = fromdate)
{
fromdate = _fromdate;
return fromdate;
}
Reason I asked is, I gotta an issue whereby the label showing when running this, is not correct, and I fixed it by changed the SysOperationLabelAttribute (I added the word 'Created' before there is no such word), but it is never reflected after Build. Some guy advice me to just leave the DataMemberAttribute to empty like the 1st one, and the label changes is reflected. BUT STRANGELY, the dialog now give me extra one parameter which has the old label, right at the end of my parameters.
How to fix this problem ?