Master Cost Codes tab functions