数据源中编写disp方法需加参数,否则Grid中记录会随光标变动
display transdate dispReceDate(ACT_tmpProductionWIPMaterial _ACT_tmpProductionWIPMaterial)
{
ACT_JobTable _Table;
ACT_JobTrans _Trans;
If (_ACT_tmpProductionWIPMaterial.ItemId == "
{
Select FirstOnly _Table join _Trans Where _Table.ProdId == _ACT_tmpProductionWIPMaterial.ProdId
&& _Table.WrkCtrId == "CVEND"
&& _Table.ACT_JobId == _Trans.ACT_JobId
&& _Trans.ItemId == "
return _Table.EndDate;
}
return datenull();
}