reading-multichoix

Parses Divalto ERP multichoix dictionary files to list and decode choice list entries.

6|Updated May 11, 2026
One-click install
npx skills add https://github.com/divalto/divalto-ia-devkit --skill reading-multichoix-divalto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reading-multichoix
Source: https://github.com/divalto/divalto-ia-devkit/tree/main/plugins/divalto-devkit/skills/reading-multichoix
Command: npx skills add https://github.com/divalto/divalto-ia-devkit --skill reading-multichoix-divalto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Divalto ERP choice lists (multichoix) are stored in binary ISAM dictionary files (XXfdmc.dhfi) that cannot be inspected with a text editor. This Skill reads those files via the DhxIsam64.dll API and decodes the three entry Types (fixed list, dynamic lookup, external identifier) into structured JSON, so integrators can consult a choice list definition before binding a business dictionary field. ## Core Features & Use Cases - List and inspect multichoix: Enumerate all multichoix in a module's XXfdmc.dhfi file with their Type and entry counts, or dump the decoded entries of one specific multichoix. - Type-aware decoding: Handles Type 1 (fixed list with labels), Type 3 (dynamic lookup with enreg/donnee/prefixe/ideb/ifin target table config), and Type 4 (external identifier like IdFic), plus Type distribution statistics. - Standard-file integrity guidance: Explains the norm of never modifying a standard XXfdmc, how to detect modifications by diffing against a clean reference, and how to compare dictionaries with the native Harmony tool. - Use Case: Before binding a field with Choix=gtfdmc.dhfi + NomChoix=AXENO, run the detail mode to confirm AXENO is a Type 3 lookup targeting the axelibtb table with codes ca1 through ca4. ## Quick Start Ask the assistant to list all multichoix in the Achat-Vente gtfdmc.dhfi file and show the details of the NONOUI multichoix.

Frequently Asked Questions about reading-multichoix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read a Divalto gtfdmc.dhfi multichoix dictionary file?

Run the read_multichoix.py script with --file pointing to the gtfdmc.dhfi path and choose a mode: --list to enumerate all multichoix, --detail <NC> for one entry set, or --stats for Type distribution. Output is JSON with decoded entries.

What are the multichoix Types 1, 3, and 4 in Divalto?

Type 1 is a fixed list with hardcoded labels in the choix field. Type 3 is a dynamic lookup storing enreg/donnee/prefixe/ideb/ifin fields that point to a target table read at runtime. Type 4 holds an external identifier like IdFic in the valeur field, resolved by the DIVA framework.

Does the multichoix reader work without DhxIsam64.dll?

No, the script requires DhxIsam64.dll at C:\divalto\sys\DhxIsam64.dll to open the ISAM file. If the DLL is missing, the script exits with code 2 and reports the DLL as not found.

Can the script resolve a Type 3 lookup table directly?

Not yet. The --resolve mode is recognized but returns an error referencing backlog item MC-03. The workaround is to use --detail to get the lookup configuration, then read the target table with the reading-isam-files skill.

How do I check if a standard XXfdmc dictionary was modified?

Compare the file against a clean reference copy of the standard pack with a simple file diff; without a reference, modification is undetectable. For detailed comparison use the native Harmony tool under Utilitaires, and move any custom entries into the partner's own XXfdmc rather than merging.