Acumatica API - Endpoint Default 23 200 001 icon

Acumatica API - Endpoint Default 23 200 001

Interact with Acumatica Endpoint Default/23.200.001

Actions478

Work Class Compensation Code → Insert/Update

AI-generated

Summary

Creates or updates a Work Class Compensation Code in Acumatica using an upsert operation.

Inputs

  • Active — A boolean flag indicating if the code is active.
  • CostCodeFrom — The source cost code.
  • CostCodeTo — The destination cost code.
  • Description — A text description of the compensation code.
  • WCC Code — The Work Class Compensation Code identifier.

Output shape

an item containing the created or updated Work Class Compensation Code data

The operation uses an upsert pattern: if the WCC Code exists, it is updated; otherwise, a new record is created.

Examples

Example 1: Create a new active compensation code

Set WCC Code to 'WCC001', Active to true, Description to 'Standard Shift'.

Example 2: Update an existing compensation code

Set WCC Code to 'WCC001' (matching an existing record) and Description to 'Updated Standard Shift'.

Links

Discussion