enable filtering by retail_code and material_code