This error may occur when the Costing Allocation start date is before the Position start date. To resolve this, make sure that the Costing Allocation start date is on or after the Position start date.
Another solution may be to leave the Costing Company blank if you aren’t charging payroll outside the Rector and Visitors company. When left blank, Workday will default to charge the Company that the Worker’s Position is assigned to (in HCM).