cTableGeneric-table code.
AdvPL GuideFWGetSX5(cTable, [cKey], [cIdiom]) --> aContentQueries a generic SX5 table.
cTable identifies the generic table rather than the SX5 alias. Omitting cKey retrieves its records; supplying a key restricts lookup. Results contain branch, table, key and description. cIdiom accepts pt-br, pt-pt, en, es or ru from LIB 20190705. This callback does not query the dictionary or assume any code exists. (Sources: refs. 1–1.)
FWGetSX5(cTable, [cKey], [cIdiom]) --> aContentcTableGeneric-table code.
cKeyOptional key.
cIdiomSupported language under LIB version.
Array with branch, table, key and description.
#Include "Protheus.ch"
User Function Ed428()
// Table and key must exist in the test dictionary.
Local bQuery := {|cTable,cKey| FWGetSX5(cTable,cKey)}
Return NilPrepared block without SX5 reads. 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.