fix - validations added for auto fetch of cost center
Merge pull request #2356 from neilLasrado/cost-center-undefined-error-fix

fix - validations added for auto fetch of cost center