DAX 2012 R2: Costing version; BOM Calculation (All items)

Hi all,

I’m task to automate the BOM calculations for all items. I’ve setup where a new costing version is created and copied all items to it. Just need to run the BOM Calculation for the new costing version. Any suggestion would be very helpful.