XMLPort- Modify record just after export

I’m exporting payment journal entries by using XmlPort.

Just after exporting the record, I need to set the value of ‘Exported to Payment File’ field to true.

How can I accomplish this?

pastedimage1556553720564v1.png

You need to put the code in the trigger to set the value to exported to payment file