Extract specific payment data from a big payment instruction batch to reproduce SRA emails
Our users have a request to reproduce and get copies of separate remittance advice emails sent to suppliers
I know all data for Separate Remittance Advice are stored in table iby_trxn_documents and I can query them by specific payment instruction like a SQL below, and feed XML data into an email template to produce emails, and I can parse data and get data on specific XML tag, but the problem is that one payment instruction may contain hundreds of payments to different suppliers. I wonder whether there are ways to only extract data(or data sets) on a specific payment or a specific supplier from the big payment instruction batch? and how?
0