Hi guys,
In my Contract class i wrote a Worker Recid and In UI Contract parameter Empty showing below my code.
[DataContractAttribute]
public class MPEmployeeBasicInfoMContract
{
HcmWorkerRecId workerRecId;
///
/// Initializes data contract values.
///
public void initialize()
{
}
[
DataMemberAttribute('workerRecId'),
SysOperationGroupMemberAttribute('workerRecId'),
SysOperationDisplayOrderAttribute("1")
]
Public HcmWorkerRecId parmWorkerRecId(HcmWorkerRecId _workerRecId = workerRecId)
{
workerRecId = _workerRecId;
return workerRecId;
}
public boolean validate()
{
boolean isValid = true;
// Force date to be included in the restrictions. Without a date
// range the resulting SQL query will need to do a cartesian product
// against CustInvoiceJour, CustInvoiceTrans and CustTrans before
// restricting down. Even with a relatively small database this
// will result in filling up tempdb and crashing the report as well
// as degrading all other queries against the SQL server. With date
// range included, the date indexes on CustInvoiceJour will be used
// to generate index seeks and allow a reasonable query.
//if (!refRecid)
//{
//isValid = checkFailed("Recid is required");
//}
//
return isValid;
}
public static MPEmployeeBasicInfoContract construct()
{
return new MPEmployeeBasicInfoContract();
}
}
My output below.

what can be issue ? please let me know.
Thanks