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
↧