advpl-dicionario-sx-validacoes

Community

Audite validações ADVPL dentro do SX

AuthorJoniPraia
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you understand and verify what embedded ADVPL expressions inside the SX data dictionary will do, so you can predict behavior changes when customizing Protheus catalogs and forms.

Core Features & Use Cases

  • Pinpoints field-level validation logic: interprets X3_VALID and X3_VLDUSER to explain when values will be accepted or rejected.
  • Explains conditional enablement and defaulting: covers X3_WHEN (enable/disable), X3_RELACAO (X3_INIT for both default and virtual recalculation), and what “can’t save” situations look like.
  • Traces trigger-based impacts: analyzes X7_REGRA/X7_CHAVE/X7_SEEK patterns to show how an edited field propagates to destinations, including common silent failures and cycles.
  • Scopes questionnaire validations too: includes X1_VALID/default content (X1_DEF01, CNT01) and parameter validations (X6_VALID/X6_INIT) relevant to SX-based dialogs.

Quick Start

Use the skill to audit the embedded ADVPL expressions for field A1_COD in the SX dictionary and identify which expressions may break or propagate changes during edit-time and save-time.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: advpl-dicionario-sx-validacoes
Download link: https://github.com/JoniPraia/plugadvpl/archive/main.zip#advpl-dicionario-sx-validacoes

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.