What problem does it solve?
This skill helps you identify, create, and debug Protheus “Ponto de Entrada” (PE) customizations so you can change standard TOTVS behavior safely without modifying original sources.
Core Features & Use Cases
- Understand PE naming, signature, and return rules: choose the right User Function name, rely on
PARAMIXB (1-based), and return the correct value type (e.g., .T./.F. for validations).
- Pick the correct PE moment in the execution flow: use naming patterns and common suffixes like
LOK, TOK, INC, ALT, EXC, COMMIT, STRU, MOD, and VLD to target validations, post-events, MVC structure hooks, and commits.
- Diagnose “PE not firing”: verify function existence in the RPO (conceptually via
ExistBlock/ExecBlock), check naming typos, and resolve potential conflicts between client and TOTVS RPO compilations.
Quick Start
Use the advpl-pontos-entrada skill to find which PE to implement for routine behavior you want to change, then name the User Function exactly and write the correct PARAMIXB handling and return value for that hook.