Modify Item finder on OE Detail line - Sample OCX script

Order Entry

Sample Script for OE Sales Order entry.
# - item finder is overridden to filter only a single category if the APPROVED optional field is filled in. 
#   the finder will revert to its normal behavior and reference the I/C Item table if the APPROVED optional field is blank.
#   finder.viewID can be replaced to use a custom table. It doesn't have to be the I/C Item table

OE Grid Finder example