PARAMIXB[1]Operation intent (lOperacao): confirm or cancel.
AdvPL GuideUser Function OM030OKN()Runs at the end of confirm/cancel handling.
Analysis of the OFIOM030.PRW caller in the Workshop module (SIGAOFI). OM030OKNO. Calls at lines 915. Receives {lOperacao}: .T. on confirmation and .F. on cancellation. The return is ignored; OM030OKNO returns lOk. Confirmation does not prove a successful save: earlier validation may fail and still reach this call. 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 OM030OKN()PARAMIXB[1]Operation intent (lOperacao): confirm or cancel.
Return ignored by the analyzed caller; no validation is based on this value.
#Include "Protheus.ch"
/*/{Protheus.doc} OM030OKN
Runs at the end of confirm/cancel handling.
/*/
User Function OM030OKN()
// Preserves the value required by this call-site consumer.
// Add rules only after validating this context in the target release.
Return NilOriginal editorial example without an additional business rule. Neither compiled nor run in Protheus. Return ignored by the analyzed caller; no validation is based on this value.
© 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.