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 |
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.
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
Important