DT AF240BRT/AF240BRW Add filter to the browser
01. OVERVIEW
This document aims to explain the entry point AF240BRT/AF240BRW.
Nota |
---|
|
- 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 |
---|
title | Discontinued - 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 |
---|
language | cpp |
---|
theme | RDark |
---|
title | Manipulation of the PE in the system |
---|
|
...
| linenumbers | true |
---|
collapse | true |
---|
|
IF ExistBlock("AF240BRT") |
...
cFilter :=ExecBlock("AF240BRT",.F.,.F.,cFilter) |
...
cFilter :=IIF(ValType(cFilter) == "C",cFilter,Nil) |
...
Bloco de código |
---|
language | cpp |
---|
theme | RDark |
---|
title | AF240BRT |
---|
linenumbers | true |
---|
collapse | true |
---|
|
#INCLUDE "Protheus.ch" |
...
...
Local cFiltro := " N1_CBASE = '0000000001' "
Return cFiltro |
"
Return cFiltro
03. OTHER INFORMATION
Informações |
---|
|
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