Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36990

Forum Post: SO SalesOrder BUS Lines and BrowseFilter

$
0
0
I don't know if this is possible.  I want to loop through SO Lines looking for sales orders that have a selected itemcode.  My lines file is about 30k lines so looping 1 by 1 is going to take forever.  I'd like to know if I can use browse filter to narrow down the results before looping. retval=oSOBus.Lines.SetBrowseIndex("KITEMWHSE", "") - This Index has ItemCode as the first index item retval=oSOBus.Lines.SetBrowseFilter("4811554R") - Testing using a specific PN that has 9 order lines retval=oSOBus.Lines.MoveFirst() - returns 0 fail retval=oSOBus.MoveFirst() - Brings me to the first SO record

Viewing all articles
Browse latest Browse all 36990

Trending Articles



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