Hello,
I want to use tibom.dll027 for bom explosion.
At the moment it does not a real explosion, but only returns items of the 1st level.
What am I doing wrong?
Regards
Martin
This is my code:
I want to use tibom.dll027 for bom explosion.
At the moment it does not a real explosion, but only returns items of the 1st level.
What am I doing wrong?
Regards
Martin
This is my code:
Code:
function long bom.check.for.item(domain tcitem item.e, domain tcitem item.c)
{
long it
it = tibom.dll0270.open.bill.of.material.iterator(get.logistic.compnr(), item.e )
domain tcitem item.tra
while(tibom.dll0270.get.next.bill.of.material.line(it))
item.tra = tibom.dll0270.get.item(it)
if item.tra = item.c then
tibom.dll0270.close.bill.of.material.iterator(it)
return (1)
endif
endwhile
tibom.dll0270.close.bill.of.material.iterator(it)
return (0)
}