The cost will be created automatically once the below set is completed.
1]- Location has to be created from the "location master" and approved.
2]- Department has to be created from "Departments" and approved.
3]- The location has to be mapped in the department. After that cost center will be created.