ADVPL MsExecAuto Resolver
Resolves indirect MsExecAuto calls in Protheus ADVPL code to identify modules, operations, and affected database tables.
This skill bridges a critical gap in ADVPL static analysis by mapping MsExecAuto calls to their underlying TOTVS routines. It utilizes a curated catalog to infer which database tables (such as SC5 for Sales Orders or SB1 for Products) are touched during automated operations, even when those tables aren't explicitly referenced in the source file. This is an essential tool for Protheus developers performing impact analysis, auditing deletions, or mapping complex integrations between custom and standard modules.
Key Features
01Filters calls by operation type such as inclusion, alteration, or deletion
02Resolves MsExecAuto routine redirections to specific TOTVS modules
03Identifies dynamic calls that require manual code review due to macro-substitutions
0413 GitHub stars
05Infers affected database tables using a built-in TOTVS routine catalog
06Provides detailed traceability including file name, line number, routine, and module
Use Cases
01Performing impact analysis when standard TOTVS routines are deprecated or require migration
02Mapping integrations between custom code and standard Finance (SIGAFIN) or Sales (SIGAFAT) modules
03Auditing automatic deletions across a project to ensure data integrity and logging compliance