Hi Guys,
I've have a block of code which falls over because it's unable to find the cupbackconv.prodgroup.
I just need some assistance with re-writing the block so that it moves on to the next record if the cupbackconv.prodgroup doesn't equal item.prodgroup.
I've tried a few things but can't get it to work, any suggestions I could try?
Let me know if you need anything else that could assist.
Thanks,
Hassam
I've have a block of code which falls over because it's unable to find the cupbackconv.prodgroup.
Code:
icbccnt = 0.
FOR each ttcbc no-lock:
lv_size = "".
lv_back = "".
lv_cup = "".
IF item.backsize <> "" THEN DO:
find first cupbackconv no-lock
where cupbackconv.inentity = "EL"
and cupbackconv.prodgroup = item.prodgroup
and cupbackconv.country = ttcbc.cc
and cupbackconv.systemsize = item.backsize no-error.
IF available ttcbc THEN DO:
lv_back = cupbackconv.displaysize.
END.
END.
I just need some assistance with re-writing the block so that it moves on to the next record if the cupbackconv.prodgroup doesn't equal item.prodgroup.
I've tried a few things but can't get it to work, any suggestions I could try?
Let me know if you need anything else that could assist.
Thanks,
Hassam
Last edited: