Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F460VLDE

User Function F460VLDE()

Discount-field validation in legacy settlement editing.

F460VLDEFINA460
01 · OVERVIEW

Overview

In the GitHub copy, the nValDes MSGET uses Fa460Val .And. ExecBlock and passes nValDes directly as the fourth argument. Its result is a logical validation condition rather than a new discount. F460VLDE differs from F460EDIT: the observed fields are discount and interest respectively. Verify the current contract in the release caller. (Refs. 1 and 3) Research includes indexed TDN evidence; no complete specific page was recovered.

02 · SYNTAX

Syntax

User Function F460VLDE()

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

Logical consumed by MSGET validation; do not return an assumed monetary amount.

03 · PRACTICAL EXAMPLE

Observed call and context

// Analysis of a legacy caller published on GitHub (ref. 3); not a hook implementation.
// // MSGET nValDes / Valid:
// Fa460Val(nValOri,nValBxd,nValJur+nMora,nValDes,nValAbt,@nValLiq,,nMoedaTit,nValCvt,nCotMoed) .And. ExecBlock("F460VLDE",.F.,.F.,nValDes)
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 - Financeiro - P12. TDN. 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 legado na FINA460. Relação nominal de retirada; não generalizar para todos os F460.
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