Páginas filhas
  • DT AF240BRT/AF240BRW Add filter to the browser

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

DT AF240BRT/AF240BRW Add filter to the browser

01. OVERVIEW

This document aims to explain the entry point AF240BRT/AF240BRW.

Nota
titleNote
  • It is observed that the use of the PE and its impacts on the system are the responsibility of the customer.
  • The entry point will only work and be redirected to PE AF240BRT when it is compiled with the actions to be performed (user function of entry point AF240BRT.)
  • The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point.



Aviso
titleDiscontinued - AF240BRW
The entry point AF240BRW had the same purpose as the PE AF240BRT, but it had its application for codebase environments - DBF and ctree({}.DTC{}).* With the modernization and advancement of technology, PE AF240BRW was in disuse with the arrival of TOPCONNECT environments.


02. EXAMPLE OF USE


Entry point AF240BRT handles the browser filter as returned by the entry point.

Bloco de código
languagecpp
themeRDark
titleManipulation of the PE in the system

...

linenumberstrue
collapsetrue
IF ExistBlock("AF240BRT")

...


	cFilter :=ExecBlock("AF240BRT",.F.,.F.,cFilter)

...


	cFilter :=IIF(ValType(cFilter) == "C",cFilter,Nil)

...


EndIF
Bloco de código
languagecpp
themeRDark
titleAF240BRT
linenumberstrue
collapsetrue
#INCLUDE "Protheus.ch"

...



User Function AF240BRT()

...


  
    Local cFiltro  := " N1_CBASE = '0000000001' "
  
  
Return cFiltro

  "
Return cFiltro



03. OTHER INFORMATION


Informações
titleInformation

PE Parameters:

Parameter

Type

Description

Use

Mandatory

Not Applicable

Not Applicable

Not Applicable

Not Applicable

No



What should be returned:

Return

Type

Description

Mandatory

cFiltro

Character

The filter returned by the user

Yes


04. RELATED SUBJECTS

  • Not Applicable.