Add a calculated column to Quote Entry/Mft Detail/Material

Is there a way to add a calculated column equals to Qty x Unit Cost?
Do I need to create a UD field?

There are many posts on adding a column to the grid. Here is one:

I review your other post, ending up to add UD field and use BPM Set Field widget to avoid codes.