PARAMIXB[1]uRetorno: {expression, bitmap, description} rules.
AdvPL GuideUser Function OM030COR()Replaces color rules returned to the browse.
Analysis of the OFIOM030.PRW caller in the Workshop module (SIGAOFI). OM030LEG. Calls at lines 6973. Receives {uRetorno,aLegenda}. Runs only when nReg == Nil, after four {expression, bitmap, description} rules are built. Returns the rule array, not a single color. The other branch calls BrwLegenda without OM030COR. 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 OM030COR()PARAMIXB[1]uRetorno: {expression, bitmap, description} rules.
PARAMIXB[2]aLegenda: legend array after OM030CLG.
Array, consumed according to the structure described above.
#Include "Protheus.ch"
/*/{Protheus.doc} OM030COR
Replaces color rules returned to the browse.
/*/
User Function OM030COR()
// Preserves the value required by this call-site consumer.
// Add rules only after validating this context in the target release.
Return PARAMIXB[1]Original editorial example without an additional business rule. Neither compiled nor run in Protheus. Array, consumed according to the structure 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.