Manage Legal Entity Setup Task Guidance
Purpose
Provides task-specific setup planning, routing, export, import, and validation guidance for Manage Legal Entity under Legal Structures.
Setup Task Skill Contract
- task_code:
XLE_MANAGE_LEGAL_ENTITY - task_name:
Manage Legal Entity - parent_skill_id:
erp.financials.legal-structures - pillar:
ERP - offering:
Financials - functional_area:
Legal Structures - functional_area_code:
ORA_ASK_LEGAL_STRUCTURES - available_flag:
Y - export_import_supported_flag:
Y - csv_export_import_supported_flag:
Y - source_catalog:
knowledge/setup-task-catalog/effective/setupTasksAll.json
Usage
Use this skill when planning, sequencing, exporting, importing, or validating setup data for Manage Legal Entity under Legal Structures.
Country and Identifying Jurisdiction
Load the reference lookup rules and
the country/default mappings before
resolving a CREATE candidate. Use territoriesLOV followed by the minimal-field
addressGeographies country lookup. The selected primary country's
GeographyValue supplies GeographyName; retain TerritoryShortName separately.
The address lookup does not expose GeographyId, and obtaining a country ID is
not a prerequisite for this flow.
Reuse the user's identifying-jurisdiction name/search text or ask for it when
missing. Resolve it with legalJurisdictionsLOV, obtain an explicit choice if
multiple eligible records match, and verify the selected exact import name is
unambiguous. Name, identifying flag, and effective-date checks do not independently
prove jurisdiction-to-country association. Preserve that disclosure and the
documented GeographyElement1 derivation limit in the package preview.
These lookups run only at the existing LE.RESOLVE_REFERENCES step through the
declared REST client and selected environment. The changes apply to the main LRU
and registration rows authored within this LE aggregate; they do not alter the
separate Manage Legal Reporting Unit or Manage Legal Jurisdictions skills.
Setup Task Metadata
- Task name:
Manage Legal Entity - Task code:
XLE_MANAGE_LEGAL_ENTITY - Available:
Y - Export/import supported:
Y - CSV export/import supported:
Y - CSV export/import routing:
supported
CSV Export, Import, and Validation Workflow
CSVExportImportSupportedFlag is Y for this task, so route task setup data work through the relevant skills:
- Export setup task data with
shared.setup-export.task-level-export. - Validate setup task data with
shared.validation.setup-data-validator. - Validate reference data with
shared.validation.reference-data-validator. - Load the task-local
ora-resource/ora_rule_registry.jsonand run its referenced input, lookup, dependency, defaulting, design, error-handling, and final-package-readiness checks. The ora-resource graph validates the candidate; it does not create a Fusion mutation. - Prepare the FSM archive locally using the contract below.
- Hand the exact final archive to
core.data-loaderonly after the local workflow returnsREADY_FOR_DATA_LOADER_PREVIEW.
Use this task metadata when invoking those skills:
- Offering:
Financials - Functional area / Setup Object:
Legal Structures - Setup task name:
Manage Legal Entity - Setup task code:
XLE_MANAGE_LEGAL_ENTITY
Local-Only FSM Package Preparation
This assisted workflow prepares a package locally and stops before upload or any Fusion mutation.
- Require a fresh, same-target, same-release, successful same-task FSM export as the immutable baseline. Bind the exact environment and task identity, current
ASM_SETUP_CSV_METADATA.xml, the exact current entity-tree hierarchy and all six CSV members, exact header spelling and order, and the exported encoding. - Re-run the complete task ora-resource graph against the reviewed inputs and baseline. Fail closed with a task-specific package-contract gap if any source, mapping, value, member hierarchy, header, encoding, carrier, or aggregate rule is missing or ambiguous; do not invent a package contract.
- Build the smallest supported UI-equivalent semantic delta from the task resources: the legal-entity root, its same-name main legal reporting unit, its identifying legal-entity registration, and the identifying main-LRU registration. Preserve all six current CSV members, all required unchanged parent rows, every unrelated row, and every untouched archive member. Preserve existing registration-function rows unchanged and add zero candidate function rows. Keep a registration-function member header-only only when it is already header-only in the baseline.
- Do not copy physical IDs, audit fields, object-version fields, ESS fields, or service-owned values from the baseline or another row. Copy a value only when the task resources explicitly authorize it as a carrier.
- Produce a ZIP-valid immutable FSM archive, its SHA-256 digest, a member inventory, a row/member semantic diff against the baseline, and a sanitized package-preparation receipt containing no secrets or sensitive payload values.
- Any source, mapping, value, package byte, member inventory, or hash change invalidates this preview state and requires the full validation and package-preparation workflow to run again.
- On success, return
READY_FOR_DATA_LOADER_PREVIEW. Do not claimREADY_FOR_IMPORTor approval. Stop before upload or mutation and hand the exact immutable archive tocore.data-loader, which owns Task Hook validation, preview, explicit approval, archive-hash verification, upload, and initiation.
Inputs
implementation_objectiveproject_contextsetup_task_scopesetup_data_artifacts
Outputs
setup_task_plansetup_data_routingvalidation_checkpointsskill_run_recordtoken_usage_record
Implementation Notes
Use the parent functional-area skill erp.financials.legal-structures for functional-area sequencing and scope decisions. Track token usage for any generated project artifact or skill-run record using the manifest policy.