Usina BRAdvPL Guide
Sign in
← All topics
FOUNDATIONUnder review

SXA and SXB — Folders and standard lookups

Distinguishes field grouping from selection lookups.

SXA and SXB — Folders and standard lookupsAdvPL
01 · OVERVIEW

Overview

The official map assigns field folders/grouping to SXA and lookups to SXB. These are presentation/query metadata rather than business transaction tables. Investigate grouping for misplaced fields and the lookup/field relationship for incorrect selection. Visual configuration does not replace processing validation. The in-memory map is a diagnostic outline, not an SX read or modification API. (Sources: refs. 1–1.)

03 · PRACTICAL EXAMPLE

Commented example

#Include "Protheus.ch"

User Function Ed686()
    Local aMap := {{"SXA","Folders and grouping"},{"SXB","Selection lookups"}}
    Local nItem
    // Teaching map; neither reads nor changes dictionaries.
    For nItem := 1 To Len(aMap)
        ConOut(aMap[nItem][1]+": "+aMap[nItem][2])
    Next
Return Nil
Expected result

Displays two conceptual in-memory relationships. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

BEST PRACTICES
  • Test navigation, selection, cancellation and authorization with different profiles. Do not directly edit metadata solely to fix one screen.
  • Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.

Related content

REFERENCES
  1. TOTVS. Dicionário de Dados: tabelas, funções e usos. Accessed on 2026-10-28.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha