Protheus ADVPL Dictionary Validations
Analyzes and validates ADVPL expressions embedded within Protheus SX dictionary tables to ensure ERP integrity.
This skill provides specialized intelligence for managing ADVPL code that resides outside of source files, specifically within Protheus SX dictionary fields such as X3_VALID, X3_WHEN, and X7_REGRA. It empowers Claude to perform deep impact analysis when modifying field structures, identify performance-draining anti-patterns like embedded SQL in UI expressions, and debug complex trigger chains. By leveraging the plugadvpl index, it ensures that dictionary-level customizations follow best practices and do not cause silent regressions during environment updates.
Key Features
01Analyzes SX3 field expressions including VALID, WHEN, INIT, and VLDUSER
02Audits SX1 report questions and SX6 parameter validations
03Maps SX7 trigger chains to detect circular dependencies and logic errors
04Identifies anti-patterns like embedded SQL or restricted TOTVS functions in validations
0513 GitHub stars
06Performs cross-file impact analysis between dictionary metadata and .prw source code
Use Cases
01Predicting the impact of changing field types or sizes across the entire ERP metadata
02Auditing legacy customizations to ensure they utilize VLDUSER instead of modifying standard TOTVS validations
03Debugging 'ghost' behaviors where fields are unexpectedly disabled or triggers fail to fire