Enhanced Marketplace app attachments
Two things to report regarding attachments when creating an Expense Report.
The attachment type is set to MEDIA, that limits us to certain file types. Sometimes the user wants to add a PDF document, but that is not possible.
One of the final steps in the app is to attach a document (if that exists) to the expense row that was just created. Here step “Get Expense Details” fetches all expense rows, and the next assignment step fetches the first row {FirstOrEmpty(ExpenseDetailResult.Results)}. This first row is then used to create a keyref in the next step. The problem is that now it always gets SEQNO = 1, but instead, it should be the SEQNO for the row that was just created, which is the last row. This should be fixed by changing the assignment to return the last row with {LastOrEmpty(ExpenseDetailResult.Results)}.
![](https://secure.gravatar.com/avatar/ee5032c1cac943d602e6fa407d9b9830?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
Thank you for voting on this feature request. Our product team is currently reviewing it and evaluating its feasibility and potential impact. We will keep you updated on any progress.