Change Allocation Position Or Other Fields Old

Prev Next

Overview

This section describes the steps required to change the allocation position or other fields using the old method.

Steps

  1. Create New Allocation Using Current

    • Method: [POST] sprAllocation newUsingCurrent
    • Info: This will close the current allocation, create new allocation, create new allocation salary, split absences, work schedule entries, time sheet entries, and fix other internal data.
    • Save: allocationId
  2. Get Allocation Salaries

    • Method: [GET] sprAllocationSalaries
    • Filter: $filter allocationId
    • Save: id
  3. Update Allocation and/or Allocation Salaries

    • Method: [PATCH] sprAllocation and/or sprAllocationSalaries
    • Fields:
      • positionCode / positionID
      • any other field