How to call standard workflow action method in script report

Hi,

I created one script report for doctype “Purchase Order”.I added action button in that report.On click of “approve” button in this report,how to approve that paricular “Purchase Order” automatically without navigating to “Purchase Order” doctype.

Thanks,
Jyoti