I basically need the `var itemCost = calculateCost...
# suitescript
k
I basically need the
var itemCost = calculateCost(itemRec);
to be used in another function called margincalc below calculatecost