Producto: |
TOTVS Backoffice
|
Línea de producto: | Línea Protheus |
Segmento: | Serviços |
Módulo: | TOTVS Backoffice (Línea Protheus) - Activo fijo (SIGAATF)
|
Función: | FISXATF |
País: | Brasil |
Ticket: | Interno |
Requisito/Story/Issue | DSERCTR1-46748 |
El punto de entrada ATFPR130 permite agregar filtros en el archivo temporal que se generará para los registros del F130 SPED FISCAL PIS/COFINS con base en las tablas 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)
Importante