How do you select multiple fields in an X++ select statement. The following code below doesn’t work.
while select it.ItemGroupId, it.itemname from it
where it.Dimension[2] == “Blah Blah”
{
print “do something here…”;
}
Thanks,
Letron
How do you select multiple fields in an X++ select statement. The following code below doesn’t work.
while select it.ItemGroupId, it.itemname from it
where it.Dimension[2] == “Blah Blah”
{
print “do something here…”;
}
Thanks,
Letron
Hi Letron,
try
while select ItemGroupId, itemname from it
where it.Dimension[2] == “BlahBlah”
{
print “do something here…”;
}
regards,
Mohammed
while select it.ItemGroupId, it.itemname from it where it.Dimension[2] == “Blah Blah” { print “do something here…”; }
how with it :
while select it where it.Dimension[2] == “Blah Blah”
{
ItemGroupId = it.itemGroupId; //get field1 value
itemName = it.itemNam; //get field2 value
print “do something here…”;
}