Using Tryton's invoice modules to automate billing.
var csv = Papa.unparse([ ["Column 1", "Column 2"], ["Data A", "Data B"] ]); // This outputs: "Column 1,Column 2\r\nData A,Data B" Use code with caution. Copied to clipboard
Generating CN22/CN23 forms for international shipping.
To actually "generate" and save the file to a user's computer, developers often use a helper function like the one pokoli interacts with in GitHub discussions : javascript
Since "generating a piece" often refers to data output in these contexts, 1. Generating a CSV with PapaParse