Radio Button on data table

Is it possible to create in a doctype a radio button in a data table?
What I need is the following, in the purchase receipt item document, I want to show a data table with:

  • Number Purchase Order
  • Row (idx)
  • Item
  • Order Quantity
  • Received Quantity

After that I have to create a script that fill the field purchase_order and purchase_order_item in a purchase receipt document based on row table selected.

Thanks
Alessandro

You can use the checkbox instead, and after clicking a custom button then you can go for each row in the table and check if this checkbox is equal 1 and do your script

Thanks for the reply.

How can I do this? I mean, the checkbox has a static label, how can apply it in a table?

I have to create a custom script?