Hi,
i am trying to create a display method check box in the item transaction inquiry (salesline/blocked) with the below code but an error appears as “Operand types are not compatible with the operator”. sorry if i missed anything basic since i am very new in the development.
display DlvModeId LS2stopped()
{
SalesLine sline;
DlvModeId POdlvmode;
;
switch(this.ReferenceCategory)
{
case InventTransType::Sales:
sline = SalesLine::findInventTransId(this.InventTransId, false);
POdlvmode = sline.Blocked;
break;
default:
break;
}
return POdlvmode;
}