Hello, I'm working on Electronic Reporting formats, specifically Sales Invoice. I'm using the standard model, model mapping and format offered by Microsoft's Dataverse. But when I try to print an invoice, it always gives me the first one created in the Table (CustInvoiceJour). Has anyone encountered this problem before? Is there any setup missing, for taking a selected record or any other idea to solve this?

I select the invoice, but I always get the first one, regardless of whether it's an original or using print management.

This is my Excel made in electronic reporting, which takes the first record.

I'm using standard Dataverse, but I don't think it's reading my selected record.
Has anyone encountered this problem and has a solution? Open to any suggestion.