{oeordhdr_sql.ord_dt} in {?Starting Date} to {?Ending Date} and
{oeordhdr_sql.ord_type} = "Q" and
{oeordlin_sql.item_desc_2} startswith ["15", "20", "30", "BM", "EX", "HP", "MF", "MPF", "SO", "VD", "VP"] OR
({oeordhdr_sql.oe_po_no} startswith ["LD", "BM","EX","HP","MF","MPF","VD","VP"] and...