I have allocated items to individual rack, keeping the minimum dwell time to be 0.
I have associated a table pulling them from a rack through specific location. I had two loops as it read individual bay and level , then it should release that item. But its randomly release the items not with logic.
**Custom code*/
int total_bay = rackgetnrofbays(current);
int total_level = rackgetnroflevels(current);
if(time()>0)
{
for(int a=1; a<=total_bay; a++)
{
for(int b=1; b<=2; b++)
{
for(int c=1; c<=gettablerows("Order1_105665"); c++)
{
string Item_Name_Byorder = gettablestr("Order1_105665",c,2);
string Item_Name_Byrack = getname(rackgetitembybaylevel(current,a,b,3));
/*if(Item_Name_Byorder == Item_Name_Byrack) */
if(comparetext(Item_Name_Byorder,Item_Name_Byrack))
{
releaseitem(item,1);
/* releaseitem(rackgetitembybaylevel(current,a,b,1),1); */
}
else
{
holditem(item);
}
}
}
}
}
Can you guys suggest me to solve this query
@ben wilson