Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTPublished

FA565ROT

ExecBlock("FA565ROT", .F., .F., aRotina)

Receives aRotina and returns the menu option array, allowing FINA565 actions to be added or changed.

FINA565FinancialSettlementExecBlockEntry point
01 · OVERVIEW

Overview

Located in MenuDef, in the MenuDef stage of the analyzed FINA565 flow. Receives aRotina and returns the menu option array, allowing FINA565 actions to be added or changed.

02 · SYNTAX

Syntax

ExecBlock("FA565ROT", .F., .F., aRotina)

Return value

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

03 · PRACTICAL EXAMPLE

Didactic skeleton

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

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

BEST PRACTICES
  • The analyzed flow passes aRotina as the fourth ExecBlock argument; validate PARAMIXB in the target release.
  • 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