Do we need to pass the prodid() - or can that be retrieved given the purchaselog_details_id?