Entry point contextContext is undocumented in the evidence located. Do not infer fields, aliases or PARAMIXB positions from the entirely authored helper arguments.
AdvPL GuideF060VBCO()Additional user validations in FINA060/FINA061. Listed purpose and structuring a custom rule before entry point integration.
The official Financeiro P12 index describes F060VBCO as an entry point for additional user validations in FINA060/FINA061; its specific page is under construction. (TOTVS, n.d., ref. 1) The settlement entry point list repeats that purpose. (TOTVS, n.d., ref. 2) The sources located do not confirm the full call, arguments, execution timing or return value. The name does not prove a specific banking validation. F060VBCO() below identifies the entry point without establishing a complete signature. This page is under review, based on indexed evidence with restricted full access. The example separates messages from a fictional rule; it neither implements nor replaces F060VBCO.
F060VBCO()Entry point contextContext is undocumented in the evidence located. Do not infer fields, aliases or PARAMIXB positions from the entirely authored helper arguments.
The return value and effect on standard processing are unconfirmed. The example message array belongs to the helper and must not be returned by F060VBCO without caller evidence.
#Include "Protheus.ch"
User Function ExF060VBCO()
Local aErrors := ValidateCase("", 0)
Local nIndex := 0
// Two errors are expected for this fictional input.
// Presentation is separate from the rule collecting messages.
For nIndex := 1 To Len(aErrors)
ConOut(aErrors[nIndex])
Next nIndex
Return
Static Function ValidateCase(cIdentifier, nAmount)
Local aErrors := {}
// Local exercise arguments do not represent Protheus fields.
If Empty(cIdentifier)
AAdd(aErrors, "Enter the exercise identifier")
EndIf
If nAmount <= 0
AAdd(aErrors, "The exercise amount must be positive")
EndIf
Return aErrors
The helper collects and displays two messages: missing identifier and nonpositive amount. Input valid under the fictional rule produces an empty list. No messages do not authorize a Protheus operation; integration depends on the actual contract. The example has not been compiled or run in Protheus.
© 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.