Hi. I am trying to access the Items table located in a specific Purchase Order from Purchase Receipt and print out some of its info in Purchase Receipt’s print format. Could someone guide me as to how I can accomplish this?
For example, how would I print the Received Qty of each item in this Purchase Order item table, in Purchase Receipt’s print format?
EDIT: For anyone who had the same question, I resolved this by calling frappe.get_doc(doctype, name) to retrieve the Document object and accessing doc.items
My issue is that the received quantity may be different in the Purchase Order and Purchase Receipt due to partially completed orders. Hence, the main question was: