Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

GPDAV040

User Function GPDAV040()

Historical SIGAGPE entry point associated with Cálculo de Rescisão (GPEM040) | Calculo de Múltiplas Rescisões (GPEM630).

Entry pointsSIGAGPEProtheus 7.10Under review
01 · OVERVIEW

Overview

Record extracted from the Advanced Protheus 7.10 entry-point catalog dated January 20, 2003. The original Portuguese execution note is: “Na chamada da rotina de Cálculo da quantidade em Dias de Aviso Prévio.” This page is under review; confirm it against the current TDN and the source of the release in use before implementation.

02 · SYNTAX

Syntax

User Function GPDAV040()

Parameters

Módulo
Referência históricaOptional

SIGAGPE

Programa/rotina
Referência históricaOptional

Cálculo de Rescisão (GPEM040) | Calculo de Múltiplas Rescisões (GPEM630)

PARAMIXB / parâmetros
Contrato históricoOptional

Original Portuguese record: Nenhum.

Return value

Original Portuguese record: Nenhum.

03 · PRACTICAL EXAMPLE

Initial review structure

#Include "TOTVS.ch"

User Function GPDAV040()
    // Confirm PARAMIXB and return type for your release.
Return
Expected result

Intentionally minimal structure. Complete it only after validating the current contract.

BEST PRACTICES
  • Original execution note: Na chamada da rotina de Cálculo da quantidade em Dias de Aviso Prévio.
  • Original observation: Permite o Usuário personalizar o Cálculo da Rescisão.
  • Confirm availability, parameters and return type in the supported release.
  • Test in a controlled environment and preserve work areas and transactions.
COMMON PITFALLS
  • This material is based on Protheus 7.10; the entry point may have changed or been removed.
  • Missing parameters in the old document do not prove that the current point receives no PARAMIXB.
  • An incorrect return type may change or stop standard processing.

Related content

REFERENCES
  1. Entry Points — AP 7 7.10. Database dated January 20, 2003. GPDAV040 record in Cálculo de Rescisão (GPEM040) | Calculo de Múltiplas Rescisões (GPEM630). Supplied project document.
  2. TOTVS TDN portal — confirm the identifier for the release currently in use.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR