Get PO PDF file from Books
Wed Mar 12 2025 09:20:38 GMT+0000 (Coordinated Universal Time)
Saved by
@Pooja
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;
}
content_copyCOPY
Comments