Inventable Upload Job Question (Entry Level)

monsterkemonsterke Member Posts: 2
edited 2007-03-05 in Dynamics AX
static void MEPInventTableCP(Args _args)
{
InventTable C;
MYUploadTable U;


ttsbegin;

while select U
{
Select firstonly forupdate C where C.ItemId == U.Field1;
If (C)
{
C.ItemName = U.Field2;
C.ItemGroupID = U.Field3;
C.ItemType = U.Field4;


C.update();
}
}

ttscommit;
}


Compiler gives error OperandType not compatible with Operator ... for the line I marked in red and bold ...
Itemtype is an Enum Field with values : Item, Bom,Service


Please help ...
Apples Will Rule The World Someday

Comments

Sign In or Register to comment.