Profile | array 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 |
Notes | The 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. |
Example | see 400_getpdf.php and 400_getpdfdirect.php in coreBOSwsBrowser |
Issue Reference | ~~issue:124~~ |