Entry point contextThe complete technical contract remains unconfirmed. Do not assume types, PARAMIXB positions or aliases beyond the evidence described.
AdvPL GuideUser Function FA110TOT()Complements the automatic receivable-settlement totalizer record.
The historical Protheus 10/11 page describes the totalizer extension. Its example saves/restores the workarea and displays a message; it does not actually write fields. P12.2210 also lists FINA910A and FINA920A calls besides FA110AUT: presence in those flows does not establish identical aliases or transactions. No useful GitHub example was found. (Refs. 1–2)
User Function FA110TOT()Entry point contextThe complete technical contract remains unconfirmed. Do not assume types, PARAMIXB positions or aliases beyond the evidence described.
The example ends without an explicit value; calls assign no result.
#Include "Protheus.ch"
User Function FA110TOT()
// Adapted TOTVS example: diagnostic without a modal window.
Local aArea := GetArea()
ConOut("FA110TOT: totalizer extension")
RestArea(aArea)
Return NilTeaching proposal with behavior described in comments. Verify the context before compiling in a test environment. Under review: example not compiled or run in Protheus. Verify aliases, locks, transaction position and compatibility in the target release and patch.
// P12.2210 caller excerpt (EURAI, ref. 2); not an entry point implementation.
// FINA110.PRX - FA110AUT() -> EXECBLOCK("FA110TOT",.F.,.F.)
// FINA910A.PRW - A910THRLOTE() -> EXECBLOCK( 'FA110TOT', .F., .F. )
// FINA920A.PRW - A920THRLOTE() -> EXECBLOCK('FA110TOT', .F., .F.)The record shows arguments and immediate return use where present. It omits the full caller body and does not establish commit timing.
© 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.