void Integrations_to_books.Get_PO_PDF_file(int ID)
{
rec_id = ID;
po_rec_id = Purchase_Order[ID == rec_id];
fetorg = Organization_Master[ID == po_rec_id.Organization];
// *******************
so_url = "https://www.zohoapis.in/books/v3/purchaseorders/" + po_rec_id.Books_ID + "?accept=pdf&organization_id="+fetorg.Organization_Code;
// books_conn
salesorderPDF = invokeurl
[
url :so_url
type :GET
connection:"books"
];
// info salesorderPDF ;
salesorderPDF.setParamName("file");
po_rec_id.PO_PDF_File=salesorderPDF;
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter