Qualidade e documentaçãoPlanning, testing, impact, useful comments, headers and expressive names.
AdvPL Guide31 páginas · qualidade · variáveis · banco de dados · interfaces · customizaçãoReview programming principles and upgrade cautions from an AP5/TopConnect-era internal manual.
This 31-page collaborative Microsiga manual covers readability, documentation, variables, record positioning, reports, interfaces, entry points, SX dictionaries, transactions, preprocessor directives, queries, branches, referential integrity and automatic routines. Its general principles remain useful, but product names, functions and procedures require confirmation against current TDN documentation.
31 páginas · qualidade · variáveis · banco de dados · interfaces · customizaçãoQualidade e documentaçãoPlanning, testing, impact, useful comments, headers and expressive names.
Variáveis e estadoDeclaration, initialization, scope and work-area preservation.
Dados e relatóriosSearches, indexes, filters, branches, totals and loop safety.
CustomizaçãoEntry points, SX dictionaries, transactions, includes and localization.
Arquitetura e integraçãoClient/server files, TopConnect, queries, integrity and automatic routines.
// See the Portuguese example; localize only user-facing text.Historical principles become verifiable modern review criteria.
User Function ExLeituraSegura()
Local aArea := GetArea()
DbSelectArea("SB1")
DbSetOrder(1)
If SB1->(DbSeek(xFilial("SB1") + "000001"))
ConOut(SB1->B1_DESC)
EndIf
RestArea(aArea)
ReturnThe search is checked and the caller work area is restored.
© 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.