Manage collective agreements

From oracle/Fusion-Setup-Configuration-Registry · View interactive version

Manage collective agreements is an AI agent skill from the GitHub repository oracle/Fusion-Setup-Configuration-Registry. Provides task-specific setup guidance for Manage Collective Agreements, including split-aware date-effective deletion through HCM Date Effective Object Changes and Data Loader merge.

How to use this skill

Skill file

Manage Collective Agreements Setup Task Guidance

Purpose

Provides task-specific setup planning, routing, export, import, and validation guidance for Manage Collective Agreements under Collective Agreements.

Task Overview

Use this task to plan and govern Manage Collective Agreements configuration in Global Human Resources.

Setup Task Skill Contract

Usage

Use this skill when planning, sequencing, exporting, importing, or validating setup data for Manage Collective Agreements under Collective Agreements.

Setup Task Metadata

CSV Export, Import, and Validation Workflow

CSVExportImportSupportedFlag is Y for this task, so route task setup data work through the relevant skills:

  1. Export setup task data with shared.setup-export.task-level-export.
  2. Validate setup task data with shared.validation.setup-data-validator.
  3. Validate reference data with shared.validation.reference-data-validator.
  4. Import setup task data with core.data-loader using CollectiveAgreements as the BusinessObject.

CRUD and Reference Routing

Collective Agreement Authoring Rules

Use this task metadata when invoking those skills:

Uniform Authoring and Read Contract

Inputs

Outputs

Implementation Notes

Use the parent functional-area skill hcm.global-human-resources.collective-agreements for functional-area sequencing and scope decisions. Track token usage for any generated project artifact or skill-run record using the manifest policy.

Resource References

Date-effective Split Deletion

HDL MERGE Date-effective Deletion Algorithm

  1. Resolve the target primary object ID at runtime. Use hcmDateEffectiveObjectChanges with HistoryDefClassName oracle.apps.hcm.employment.responsive.publicUiModel.history.definitions.CollectiveAgreementHistoryDef and the selected split EffectiveStartDate.
  2. Fetch, sort, and display every effective-dated split before source generation. Reject gaps, overlaps, missing boundaries, or a selected date that is not an exact split start.
  3. Generate an HDL/Data Loader MERGE source containing only the rows required by the requested deletion. Never issue REST DELETE.
  4. One-split agreement: deletion is unsupported by this bounded-purge pattern; stop before source generation and request a supported alternative.
  5. Multi-split agreement, first split: deletion is unsupported by this bounded-purge pattern; stop before source generation and request a supported alternative.
  6. Multi-split agreement, middle or last split: delete only the selected split and add one predecessor merge update whose EffectiveEndDate equals the deleted split former EffectiveEndDate. Preserve all other splits.
  7. For multiple selected splits, process them newest to oldest. Re-resolve the timeline, rebuild the merge source, preview, and obtain approval for each next split; do not combine stale split assumptions or use REST deletion.
  8. Submit through Core Data Loader/HDL, wait for a terminal load result, and verify the complete resulting timeline through hcmDateEffectiveObjectChanges.

Deletion Transport Boundary

Corrected HDL Split-Deletion Contract (Supersedes Earlier Examples)

For a CollectiveAgreements date-effective split deletion, emit exactly one SET PURGE_FUTURE_CHANGES Y directive and one retained-predecessor MERGE row. Use YYYY/MM/DD for EffectiveStartDate and EffectiveEndDate. The MERGE starts on the immediately preceding retained split and ends on the final selected split end date. Do not emit an HDL DELETE row, mix DELETE and MERGE instructions, or use REST mutation. First or only split deletion is unsupported by this bounded-purge pattern.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.