F290PRE
User Function F290PRE()Runs a prevalidation intervention in the FINA290 payable invoice flow.
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)
Syntax
User Function F290PRE()Return value
NIL, documented as null URET. A logical approval or blocking contract was not established. (Ref. 1)
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 NilProposes logging invocation only. Does not validate business fields or stop the operation. Example not compiled or run in Protheus.
- 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.

Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.