Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F290TIT

User Function F290TIT()

Participates in checking and marking payables included in a payable invoice.

F290TITFINA290
01 · OVERVIEW

Overview

TDN shows a MsgYesNo confirmation returning a logical value. It also states that a customization which changes marking should return .F. to avoid updating value and title-count accumulators in the referenced flow. (TOTVS, ref. 1) The P12.2210 listing passes {.F.} in FA290EXIBE/FA290INVERTE and {.T.} in FA290MARCA without documenting the meaning of that position. (Ref. 2)

02 · SYNTAX

Syntax

User Function F290TIT()

Parameters

PARAMIXB[1]
LogicalContext to confirm

The listing passes .F. or .T.; meaning in each context unconfirmed. (Ref. 2)

Return value

Logical, as shown by the official example. When changing marking directly, observe the official instruction to return .F. to avoid updating accumulators in that flow. The consulted excerpt does not establish a universal routine cancellation rule. (Ref. 1)

03 · PRACTICAL EXAMPLE

Illustrative confirmation without directly changing marks

#Include "Protheus.ch"

User Function F290TIT()
    // Adapted from the official confirmation example (ref. 1).
    // May run during display, marking or inversion: assess dialog suitability.
    Local lAllow := MsgYesNo("Allow selection of this payable?", "F290TIT")
    // Does not directly change marks or accumulators.
Return lAllow
Expected result

Proposes returning the confirmation answer to the caller. Verify its effect in each screen action, including selection and inversion. Example not compiled or run in Protheus.

BEST PRACTICES
  • Do not label PARAMIXB[1] as inclusion, deletion or inversion without checking the target release caller.
  • The dialog example is illustrative: display or bulk selection calls may cause repeated messages.
  • If the customization changes marks directly, check totals and payable counts to prevent duplicate updates.
  • Compare individual selection, deselection and inversion. Check the final invoice composition as well as the dialog answer.
  • 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. F290TIT - Verificação de título para compor fatura. 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