1) check if this is available under lists of fields of standard ax query i.e. if there is any field under PurchTable or PurchLine which is usable you can use that under condition
OR
2) create your custom condition under Workflow Document class
for #2, as each workflow has its own document class, which reflects the underlying query of workflow. open than class and add your any custom condition.