Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

BOM explosion

$
0
0
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:
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)
}


Viewing all articles
Browse latest Browse all 4216


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>