If you are starting to investigate the cost categories for splitting up your production costs for analysis then you will need to create cost categories codes. In AX there are shared categories that you will setup first and then use them as the basis for the cost categories.
Here is a quick overview.
AX2012 R3 CU11
Cheers
Lachlan