---
name: SX Configuration
slug: sx-configuration
category: DevOps
description: SX Configuration generates and validates Protheus data dictionary scripts for SX2, SX3, SIX, SXG, SXA, SX1, SX5, SXB, and SX7. Use it when creating custom tables, fields, indexes, F3 queries, report questions, or field triggers.
github: "https://github.com/thalysjuvenal/advpl-specialist/tree/main/skills/sx-configuration"
language: Shell
stars: 186
forks: 37
install: "npx degit https://github.com/thalysjuvenal/advpl-specialist/tree/main/skills/sx-configuration ~/.claude/skills/sx-configuration"
installs_to: ~/.claude/skills/sx-configuration
source_path: skills/sx-configuration/SKILL.md
collection_size: 18
category_size: 1013
collection_url: "https://dirskills.com/collections/thalysjuvenal/advpl-specialist"
added: 2026-09-06T05:20:30.221Z
last_synced: 2026-09-06T05:20:30.221Z
canonical_url: "https://dirskills.com/skills/sx-configuration"
---

# SX Configuration

SX Configuration generates and validates Protheus data dictionary scripts for SX2, SX3, SIX, SXG, SXA, SX1, SX5, SXB, and SX7. Use it when creating custom tables, fields, indexes, F3 queries, report questions, or field triggers.

**Install:**

```bash
npx degit https://github.com/thalysjuvenal/advpl-specialist/tree/main/skills/sx-configuration ~/.claude/skills/sx-configuration
```

## README

# SX Configuration

This skill provides templates and validation rules for generating Protheus data dictionary configuration scripts: SX2 table headers, SX3 field definitions, SIX indexes, SXG field groups, SXA form folders/tabs, SX1 report parameter questions, SX5 generic tables, SXB standard F3 lookup queries, and SX7 field triggers. It covers required field values, naming conventions (3-char aliases, `Z`-prefixed custom tables, `XX_FIELD` naming), share-mode semantics (`C`/`E`/`M`), and common pitfalls such as creation order (SX2 before SX3 before SIX) and hardcoded physical table names.

Activate this skill when the user is registering a new custom table, adding custom fields, defining indexes, grouping fields for cross-table validation, organizing MVC form tabs, setting up report parameter questions, creating a generic lookup table, or configuring an F3 query or field trigger. It does not cover programmatic READ access to the dictionary at runtime (`Posicione`, `TamSx3`, FW APIs) -- see `protheus-reference/sx-dictionary.md` for that.

| Reference file | Read when |
|---|---|
| reference.md | Always -- SX2/SX3/SIX/SXG/SXA/SX1/SX5/SXB/SX7 field templates, share modes, naming rules, and common pitfalls |
