Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F460GRV

User Function F460GRV()

Legacy hook mapped officially to MODELCOMMITNTTS.

F460GRVFINA460
01 · OVERVIEW

Overview

TOTVS removes F460GRV from 12.1.17 and maps it to MODELCOMMITNTTS in FINA460A MVC, outside the transaction. In the old GitHub copy, the call follows DbSelectArea("TRB") and precedes further tests, without explicit context. Do not transfer the MVC event’s transaction timing to that legacy call. A public file containing only Return does not establish a functional integration either. (Refs. 1 and 3)

02 · SYNTAX

Syntax

User Function F460GRV()

Parameters

Entry point context
UnconfirmedContext to confirm

The complete technical contract remains unconfirmed. Do not assume types, PARAMIXB positions or aliases beyond the evidence described.

Return value

The excerpt does not assign the result; complete contract unconfirmed.

03 · PRACTICAL EXAMPLE

Observed call and context

// Analysis of a legacy caller published on GitHub (ref. 3); not a hook implementation.
// DbSelectArea("TRB")
// If ExistBlock("F460GRV")
//     ExecBlock("F460GRV",.F.,.F.)
// EndIf
Expected result

The record shows arguments and immediate return use where present. It omits the full caller body and does not establish commit timing.

BEST PRACTICES
  • The GitHub copy does not identify a validated release and is not an official distribution. Check the caller in the target environment; this example analyzes legacy flow rather than providing a deployable function.
  • A call without a fourth argument does not document a PARAMIXB layout. Preserve caller identifiers and do not invent fields or positions.
  • Test plan: compare standard and customized flows, exercise success, rejection and repetition, and inspect balances, movements and accounting as applicable.
  • Under review: example not compiled or run in Protheus. Verify aliases, locks, transaction position and compatibility in the target release and patch.

Related content

REFERENCES
  1. TOTVS. Pontos de entrada legado na FINA460. Central de Atendimento TOTVS. Accessed on 2026-10-24.
  2. EURAI. Pontos de Entrada P12.2210 - Parte 2. Universo do Desenvolvedor, 2023. Accessed on 2026-10-24.
  3. cmgalves/advpl. Cópia pública de fina460.prw. GitHub, commit f0f4a0ca2390dc41f7ab9e9a412e3b91350ccb76. Contexto legado sem release validado; não é fonte oficial de distribuição.
  4. TOTVS. Pontos de Entrada - Financeiro - P12. Índice oficial histórico; não substitui a orientação de migração.
  5. eltonteodoro1308/Base-Teste. F460GRV.prw. GitHub, commit 5d25c92d81d433b1ab430d2b11c2b9ad6592b212. Arquivo comunitário sem lógica funcional no exemplo localizado.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR
0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha