Product: | TOTVS Backoffice |
Product Line: | Protheus Line |
Industry: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF) |
Function: | FISXATF |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
Entry point ATFPR130 allows adding filters to the temporary file to be created for records of F130 TAX SPED PIS/COFINS based on tables SN1/SN3.
cTmpWhere := ExecBlock("ATFPR130",.F.,.F.,{lQuery,cWhere})
cWhere := IIF(ValType(cTmpWhere) != "C" .Or. Empty(cTmpWhere),cWhere,cTmpWhere)
#Include 'Protheus.ch' User Function DEPREATF() Local lQuery := ParamIXB[1] Local cWhere := ParamIXB[2] cWhere += " AND N1_ITEM ='005' " Return(cWhere)
Important