lVerificaTrue checks number existence in the database; false does not.
AdvPL GuideConfirmSxe( <lVerifica> )Confirms pending numbering under the documented historical contract.
The CONFIRMSXE() page describes confirming the number obtained by the latest GetSxeNum; true lVerifica requests checking whether it exists in the database. It is not a generic record commit. Documentation formalizes neither a return nor every current availability context. Daniel Atilio’s community example reports using ConfirmSX8 in his environment rather than ConfirmSxe: check the release API instead of silently replacing names. The example prepares an action without confirming or reserving numbers. (TOTVS, 2012, ref. 1; ATILIO, 2023, ref. 2)
ConfirmSxe( <lVerifica> )lVerificaTrue checks number existence in the database; false does not.
Unspecified in the consulted page.
#Include "Protheus.ch"
User Function Ed310()
Local bConfirm
// Invoke only in the lifecycle of an already validated own reservation.
bConfirm := {|| ConfirmSxe(.T.)}
Return NilCallback created; no numbering changed. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 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.