PARAMIXB[1]Context 1: FS_SERTEM; context 2: FS_SELECIONA.
AdvPL GuideUser Function OM030VTS()Validates service type and time type in two contexts.
Analysis of the OFIOM030.PRW caller in the Workshop module (SIGAOFI). FS_SERTEM / FS_SELECIONA. Calls at lines 2592, 8718. PARAMIXB: [1] numeric context (1 in FS_SERTEM, 2 in FS_SELECIONA); [2] service type; [3] time type; [4] lMensagem; [5] lTpo. Context 2 sends .F. in [4] and [5]. .F. stops the calling function; .T. allows its remaining checks. FS_SERTEM lTpSrvBlq is not passed. Scope: fontes_2210 repository version, commit d6f74ed8f5a2c61a69e9f903b041b4ee425a6ae9, accessed November 9, 2026. Software de Terceiros/MIL contains a customized variant; it does not establish a universal TOTVS contract. Under review: static caller analysis; editorial examples neither compiled nor run in Protheus. Confirm includes, dependencies, release and environment patch.
User Function OM030VTS()PARAMIXB[1]Context 1: FS_SERTEM; context 2: FS_SELECIONA.
PARAMIXB[2]Service type.
PARAMIXB[3]Time type.
PARAMIXB[4]lMensagem; .F. in context 2.
PARAMIXB[5]lTpo; .F. in context 2.
Logical, consumed according to the control described above.
#Include "Protheus.ch"
/*/{Protheus.doc} OM030VTS
Validates service type and time type in two contexts.
/*/
User Function OM030VTS()
// Preserves the value required by this call-site consumer.
// Add rules only after validating this context in the target release.
Return .T.Original editorial example without an additional business rule. Neither compiled nor run in Protheus. Logical, consumed according to the control described above.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.