How to exclude certain cheques from positive pay model from ER

Hello Team,

I have positive format which gives txt file as an output fro all cheques generated within that period.

My requirement is that , I need to exclude certain cheques for one particular method of payment.

If method of payment is XXX then I should not print that cheque in positive pay file.

I could not get the formula or condition How can I exclude this. because in positive pay model I dont have anything to separate by method of payment. below is the model…

Please suggest any formula or approach to achieve this