Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F240SUM

SISPAG amount composition.

F240SUMFINA240SISPAG
01 · OVERVIEW

Overview

SISPAG discontinued: 2022-08-20. The support article lists this identifier among payment batch and SISPAG entry points. (TOTVS, 2022, ref. 1) The specific TDN reference was read for this review. (TOTVS, n.d., ref. 2)

Parameters

Entry point context
To confirmContext to confirm

PARAMIXB structure and requiredness are unconfirmed. Missing information does not mean an optional parameter.

Return value

Numeric in the example: SOMAVALOR/nSomaValor composition. Base: E2_SALDO + E2_SDACRES - E2_SDDECRE; the example adds E2_MULTA. Page for versions 11/12.

03 · PRACTICAL EXAMPLE

Adapted documentary example

#Include "Protheus.ch"

// Documentary adaptation of the TOTVS reference; not compiled or executed.
User Function F240SUM()
    Local nAmount := SE2->E2_SALDO + SE2->E2_SDACRES - SE2->E2_SDDECRE + SE2->E2_MULTA
Return nAmount
Expected result

Expected behavior by reading the official example. Validate context and effects in a test environment before use.

BEST PRACTICES
  • Mapping: F420SOMA.
  • Documentary review; examples were neither compiled nor executed in Protheus.
  • After recording does not mean after commit. Transaction placement and target-release compatibility require confirmation.
  • Do not transfer a PARAMIXB or return contract between different entry points.

Related content

REFERENCES
  1. TOTVS. FINA240 — Borderô de Pagamentos — Ponto de Entrada. Central de Atendimento, 17/08/2022. Accessed on 2026-10-22.
  2. TOTVS. F240SUM. TDN. Accessed on 2026-10-22.
  3. TOTVS. SISPAG — Descontinuada em 20/08/22. TDN. 2026-10-22
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