01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF)

Function:

ATFA040

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry Point FA040CHK is used during the filtering process of the screen to display records in the Mark Browser as assets. It allows the application of customized criteria for selecting assets to be displayed while processing.

03. OTHER INFORMATION



If EXISTBLOCK("FA040CHK")
      cFiltroAux := EXECBLOCK("FA040CHK", .F., .F., {cFiltro} )
      If ( ValType(cFiltroAux) == "C" ) .and. !Empty( cFiltroAux )
            cFiltro := cFiltroAux
      EndIf
EndIf




#Include "Totvs.ch"

User Function FA040CHK()

      Local cFiltOld := ParamIxb[1]
      Local cFiltNew := ''

      //Example of handling to not display item 01 in the Mark Browser
      cFiltNew := cFiltOld + '.AND. N3_ITEM != "01"'

Return cFiltNew




  • It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • 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.


04. RELATED SUBJECTS