Adobe document generation: Aligning Line Item Details and Notes in Invoice Report Generation
We are currently generating PDF invoice reports using the Adobe API and a Word template. Our existing template features a table where each row represents a line item of the invoice, containing placeholders for the line item number, description, quantity, unit price, and line item amount.
Recently, we decided to incorporate a new field for notes against each line item. Recognizing that these notes could span multiple lines, our approach was to add a second row beneath the current one, spanning across all columns. In this configuration, the first row retains the placeholders for the line item details, while the second row contains a single placeholder for the item notes, merging across all columns.
However, upon attempting to generate the report through the Adobe API after implementing this change in the template, we encountered an unexpected behavior. Instead of each line item's details and corresponding notes appearing together, the first row of all line items is repeated, followed by the repetition of notes for all line items.
Our expectation was for the first and second rows to be paired together for each line item, rather than the repetition of the first row for all line items before the notes are displayed.
Could you please assist us in achieving the desired outcome? We aim for each line item's details and notes to be displayed together in the generated invoice report.
Thank you for your assistance.
