Páginas filhas
  • DT A010BRWT/A012BRWT Add Filter to the Browser

Versões comparadas

Chave

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


01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Microsiga Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Asset (SIGAFIS)

Function:

ATFA012

Country:

Brazil

Ticket:

Internal

Requirement/Story/Issue:

DSERCTR1-33685


02. STATUS/REQUISITION

This document aims to explain the entry point A010BRWT/A012BRWT.

Aviso
titleImportant
  • 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 A012BRWT (which must be compiled with the actions to be performed) if the user function of entry point A010BRWT is compiled, which may be blank only to be redirected.
  • 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.


03. SOLUTION

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


Bloco de código
languagecpp
themeRDark
titleHandling of EP in the System
linenumberstrue
collapsetrue
Local lA010Brwt 	:= ExistBlock("A010BRWT")

If lA010Brwt
	cFilter := ExecBlock( "A012BRWT", .F., .F. )
	cFilter := If(ValType(cFilter) == "C", cFilter, Nil )
Endif  
Bloco de código
languagecpp
themeRDark
titleEP Example
linenumberstrue
collapsetrue
User Function A010BRWT() //ok, document it on tdn
 
	// There is no need to add code, only compile to redirect to A012BRWT.     


Return cFiltroA


User Function A012BRWT()// OK
 
	Local cFiltroA  := " SN1->N1_CBASE = 'TESTE' "
 
 
Return cFiltroA



04. OTHER INFORMATION

Informações
titleInformation


PE Parameters:

Parameter

Type

Description

Use

Required

Not Applicable

Not Applicable

Not Applicable

Not Applicable

No



What should be returned:

Return

Type

Description

Required

cFiltro

Character

The filter returned by the user

Yes


05. RELATED SUBJECTS

  • Not Applicable.