Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F290PRE

User Function F290PRE()

Runs a prevalidation intervention in the FINA290 payable invoice flow.

F290PREFINA290
01 · OVERVIEW

Overview

The specific page describes prevalidation and documents a null URET with value NIL. It does not detail received fields, a blocking rule or transaction position. (TOTVS, ref. 1) The P12.2210 listing records the FA290AUT call without a fourth argument or return assignment. These sources do not establish that Return .F. cancels invoice generation. (Ref. 2)

02 · SYNTAX

Syntax

User Function F290PRE()

Return value

NIL, documented as null URET. A logical approval or blocking contract was not established. (Ref. 1)

03 · PRACTICAL EXAMPLE

Identify entry point invocation in a test environment

#Include "Protheus.ch"

User Function F290PRE()
    // Editorial diagnostic based on the documented call and purpose.
    // Fixed message avoids exposing payable or supplier data.
    ConOut("F290PRE: prevalidation call identified")
    // The official page documents NIL; do not invent a blocking return.
Return Nil
Expected result

Proposes logging invocation only. Does not validate business fields or stop the operation. Example not compiled or run in Protheus.

BEST PRACTICES
  • The term prevalidation does not prove that .F. prevents recording. The consulted documentation specifies NIL.
  • The listed call has no fourth argument. No PARAMIXB layout was confirmed.
  • Compare the diagnostic across relevant operations and record the observed target release behavior without generalizing it to every release.
  • The exact transaction and commit position remains unconfirmed; do not start an external integration assuming persistence has completed.
  • Editorial test plan: compare standard and customized behavior in the described operations, inspect resulting records and record release and patch.
  • Under review: sources and example checked against documentation; code not compiled or run in Protheus. Exact transaction position and target release behavior remain unconfirmed.

Related content

REFERENCES
  1. TOTVS. F290PRE - Pré-valida faturas a pagar. TDN. Accessed on 2026-10-23.
  2. EURAI. Pontos de Entrada P12.2210 - Parte 2. Universo do Desenvolvedor, 2023. Accessed on 2026-10-23.
Status
Under review
Page created on
Last reviewed on
Original language
Portuguese
Reviewed by
Usina.BR

Was this content helpful?

👍 Like 0👎 Dislike 0

Sign in to rate this article.

0 approved comment(s)

Comments

There are no approved comments yet.

Sign in with Google or Microsoft to comment.

Powered by Usina Docs · Alpha