It seems simple-you assign a resource to a task. A resource has an assigned cost. As the resource performs the task, a cost is incurred. You compare what you planned for it to cost with what it actually cost-that is, budget versus actual. It’s more complex than that.