Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F290CAN

ExecBlock("F290CAN", .F., .F.)

Complementary processing after payable invoice cancellation in FINA290.

F290CANFINA290F290PRCCANExecBlock
01 · OVERVIEW

Overview

TDN and the Support Center describe F290CAN as complementary recording after invoice cancellation. (Refs. 1–2) The P12.2210 community listing places the call in F290PRCCAN, without a fourth argument or result assignment in the published line. (Ref. 3) The documented purpose does not establish execution after commit, available aliases or the ability to prevent cancellation. GitHub searches found no useful implementation.

02 · SYNTAX

Syntax

ExecBlock("F290CAN", .F., .F.)

Parameters

PARAMIXB / context
Undocumented contextContext to confirm

TDN presents syntax without formal arguments, and the caller excerpt supplies no fourth argument. This does not document PARAMIXB contents, array positions, private variables or available aliases. Missing arguments do not establish a positioned SE2 record.

Return value

The TDN page labels URET as logical and also states nil without explaining return effects. The community line uses no assignment or condition on the result. This inconsistency remains unresolved; do not recommend .T. or .F. as cancellation approval or veto, or claim a confirmed NIL return contract.

03 · PRACTICAL EXAMPLE

Documentary caller excerpt

// P12.2210 listing: FINA290.PRW / F290PRCCAN() (ref. 3).
// No fourth argument; the line does not show return consumption.
ExecBlock("F290CAN", .F., .F.)
Expected result

Identifies the call within cancellation processing. It does not implement F290CAN or demonstrate transaction position or failure handling.

BEST PRACTICES
  • Distinguish F290CAN from FA290C and F290CN2. The official article lists them separately; do not transfer one purpose to another.
  • Do not use this entry point as a pre-validation hook to prevent cancellation without inspecting the caller. Its documented purpose complements processing after cancellation.
  • Check call timing, payable state and transaction status in the target release and patch before introducing additional writes.
  • Do not assume SE2 is open, positioned or already deleted based solely on the old page documentation. The specific current page does not detail that state.
  • Editorial test plan: compare cancellation without customization and with an implementation based on the confirmed contract; check payables, balances and repeated processing.
  • Under review: specific TDN page read in full; official article and community excerpt consulted. Code not compiled or run in Protheus; return ambiguity remains explicit.

Related content

REFERENCES
  1. TOTVS. F290CAN - Complemento de gravação. TDN. Accessed on 2026-10-23.
  2. TOTVS. SIGAFIN - FINA290 - Pontos de Entrada. Central de Atendimento, 29/09/2026. Accessed on 2026-10-23.
  3. 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