01. DATOS GENERALES

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

02. DESCRIPCIÓN

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)"D"(Título de impuesto).

03. PARÁMETROS

NombreTipoDescripción

ParamIxb[1] 

CarácterContiene tabla temporal con informaciones del título principal.

ParamIxb[2] 

CaracterContiene tabla temporal con informaciones del título de impuesto.


04. EJEMPLO DE UTILIZACIÓN

FA401CMP
#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