User Tools

GenDoc and PDF output

Inventory modules

Profilearray getpdfdata(id)
Parameters id – quote, salesorder, invoice or purchaseorder REST ID
Returns array –
recordid: ID passed as parameter,
modulename: name of the module of the ID,
pdf_data: base64 encoded string representing the PDF
NotesThe user must have read access on the ID and the ID must belong to an inventory module.
There are 4 Global Variables that permit defining what method and template to use for the output.
Examplesee 400_getpdf.php and 400_getpdfdirect.php in coreBOSwsBrowser
Issue Reference~~issue:124~~

coreBOS Documentación