| Producto: | TOTVS Backoffice |
|---|---|
| Línea de producto: | Línea Protheus |
| Segmento: | Backoffice |
| Módulo: | TOTVS Backoffice (Línea Protheus) - Financiero (SIGAFIN) |
| Función: | Genera datos para la Dirf (FINA401) |
| País: | Brasil |
El Punto de entrada FA401GRV utilizado para gravar campos de la tabla "SR4" - Ítems DIRF/Informe Rendimiento, referente a los tipos de rendimiento "A"(Título principal) y "D"(Título de impuesto).
| Nombre | Tipo | Descripción |
|---|---|---|
ParamIxb[1] | Carácter | Contiene tabla temporal con informaciones del título principal. |
ParamIxb[2] | Caracter | Contiene tabla temporal con informaciones del título de impuesto. |
04. EJEMPLO DE UTILIZACIÓN
#include "PROTHEUS.ch"
User Function FA401GRV()
Local cTitNF as Character
Local cTitTX as Character
If ParamIxb <> Nil // Uso obligatorio para verificar que ParamIxb tendrá contenido.
cTitNF := ParamIxb[1] // Título principal
cTitTX := ParamIxb[2] // Título de impuesto
If !Empty(SRL->RL_PAIS)
Reclock("SR4", .F.)
SR4->R4_DTPGT := (cTitNF)->E2_BAIXA
SR4->(MsUnlock())
EndIf
Endif
Return