Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F070ACONT

ExecBlock("F070ACONT", .F., .F.)

Runs before accounting data recording during manual settlement in FINA070.

F070ACONTFINA070SIGAFINExecBlock
01 · OVERVIEW

Overview

According to the specific TOTVS documentation, F070ACONT runs within a transaction, is not invoked through automatic processing and receives no information through PARAMIXB. (TOTVS, n.d., ref. 1) Its listed call appears below. (TOTVS, n.d., ref. 2) The editorial example logs a message without opening a screen or changing data. It is under technical review: it has not been compiled or run in Protheus.

02 · SYNTAX

Syntax

ExecBlock("F070ACONT", .F., .F.)

Return value

The system neither expects nor handles this entry point return value. (TOTVS, n.d., ref. 1)

03 · PRACTICAL EXAMPLE

Log invocation without user interaction

#Include "Protheus.ch"

User Function F070ACONT()
    // Diagnostics avoid screens and do not read implicit parameters.
    ConOut("F070ACONT: invocation observed during manual settlement")
Return
Expected result

When the documented scenario invokes the entry point, the console should record the message. The message only confirms execution of the example; it does not prove successful completion of accounting or the transaction.

BEST PRACTICES
  • Compare standard manual settlement with the same scenario using diagnostics in a test environment. Check financial and accounting results separately.
  • Include automatic processing as a control scenario to check the documented invocation difference.
  • If you add alias queries, preserve and restore the work areas used.
  • Record the release and patch tested. Consulted documentation does not replace confirmation in the target environment.
COMMON PITFALLS
  • Treating entry point invocation as confirmation of commit.
  • Reading PARAMIXB inherited from another context as an argument of this entry point.
  • Using a logical return to attempt to authorize or cancel settlement without that contract.
  • Adding screens that wait for a user decision during processing.

Related content

REFERENCES
  1. TOTVS. F070ACONT - Ponto de entrada do Contas a Receber. TDN. Specific documentation read in full through the browser on 2026-10-20.
  2. TOTVS. Pontos de Entrada. TDN. Call listing accessed on 2026-10-20.
Status
Under review
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