Documentation Index

Fetch the complete documentation index at: https://instrukcijos.softera.lt/llms.txt

Use this file to discover all available pages before exploring further.

Change Contract Type

Prev Next

Overview

This section describes the steps required to change the contract type without breaking historical data.

Steps

  1. Create New Contract Using Current

    • Method: [POST] sprContract newUsingCurrent
    • Info: This will close the current contract and its allocation, create new contract and allocation, create new allocation salary, split absences, work schedule entries, time sheet entries, and fix other internal data.
    • Save: contractId
  2. Get Contract Details

    • Method: [GET] sprContract
    • Filter: $filter id
    • Expand: sprAllocation, sprAllocationSalary
    • Save: sprAllocation and sprAllocationSalary ids
  3. Update Contract

    • Method: [PATCH] sprContract
    • Fields:
      • contractType