Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTPublished

F565CANC

ExecBlock("F565CANC", .F., .F.)

Runs before the main cancellation loop; its return is compared with 1 to decide whether cancellation continues.

FINA565FinancialSettlementExecBlockEntry point
01 · OVERVIEW

Overview

Located in FA565CAN, in the Cancellation stage of the analyzed FINA565 flow. Runs before the main cancellation loop; its return is compared with 1 to decide whether cancellation continues.

02 · SYNTAX

Syntax

ExecBlock("F565CANC", .F., .F.)

Return value

Numeric. Exact return-value usage follows the call site described on this page.

03 · PRACTICAL EXAMPLE

Didactic skeleton

User Function F565CANC()
    // Extension point located in the FINA565 flow.
    // Preserve routine context and return only the type expected by the call site.
Return 0
Expected result

Use it as a starting point and confirm context variables, parameters, and return behavior in the target release.

BEST PRACTICES
  • The analyzed call does not pass explicit arguments in the fourth ExecBlock parameter; the Entry Point may depend on routine context.
  • The position is classified from the actual call site in the analyzed flow; patches and releases may change details.
COMMON PITFALLS
  • Do not assume PRIVATE/STATIC variables or internal arrays have the same structure in every release.
  • Do not rename field identifiers, aliases, or technical names when adapting examples.

Related content

REFERENCES
  1. TOTVS. Pontos de Entrada - Linha Microsiga Protheus.
  2. TOTVS. SIGAFIN - FINA565 - Pontos de Entrada. Central de Atendimento.
Status
Published
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