Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

F300FIL

User Function F300FIL()

Handles the payable processed in the former FINA300 SISPAG return flow.

F300FILFINA300
01 · OVERVIEW

Overview

The historical page documents four aCpos positions: payable number, installment size, payable number size and RecNo. Its example reads PARAMIXB directly, without an additional outer array. (TOTVS, ref. 1) The P12.2210 listing confirms aCpos as the fourth FA300PROCESSA argument. (Ref. 2) Legacy use: SISPAG was discontinued on 2022-08-20. The official migration table points to FA430FIL in FINA430; this does not establish identical contracts. (Ref. 3)

02 · SYNTAX

Syntax

User Function F300FIL()

Parameters

PARAMIXB[1]
CharacterExecution context

Payable number. (Ref. 1)

PARAMIXB[2]
NumericExecution context

Installment size. (Ref. 1)

PARAMIXB[3]
NumericExecution context

Payable number size. (Ref. 1)

PARAMIXB[4]
NumericExecution context

Payable RecNo. (Ref. 1)

Return value

The page leaves the return contract blank and its example ends without a value. The listed call does not assign the result. A logical approval or array replacement return is not established. (Refs. 1–2)

03 · PRACTICAL EXAMPLE

Inspect context dimensions in a legacy test environment

#Include "Protheus.ch"

User Function F300FIL()
    // Defensive adaptation of aCpos reading in the official example (ref. 1).
    // Legacy investigation only; SISPAG has been discontinued.
    Local aData := PARAMIXB
    If ValType(aData) == "A"
        If Len(aData) >= 4
            If ValType(aData[2]) == "N" .And. ValType(aData[3]) == "N"
                // Does not log payable number or RecNo.
                ConOut("F300FIL: installment size=" + Str(aData[2]) + ;
                    "; payable number size=" + Str(aData[3]))
            EndIf
        EndIf
    EndIf
Return Nil
Expected result

Proposes observing received sizes without positioning aliases or changing payables. This is not a recommended new SISPAG implementation. Example not compiled or run in Protheus.

BEST PRACTICES
  • PARAMIXB[1] contains the payable number; it is not the entire aCpos array.
  • RecNo alone does not identify table, branch and search order. Check the caller before positioning or writing records from this number.
  • Replacing the name with FA430FIL is not a migration: verify its documentation, CNAB layout and FINA430 context.
  • Bank return processing, payable identification and settlement recording are different stages. The isolated excerpt does not establish a commit boundary.
  • Editorial test plan: compare standard and customized behavior in the described operations, inspect resulting records and record release and patch.
  • Under review: sources and example checked against documentation; code not compiled or run in Protheus. Exact transaction position and target release behavior remain unconfirmed.

Related content

REFERENCES
  1. TOTVS. F300FIL - Tratamento de título processado. TDN. Accessed on 2026-10-23.
  2. EURAI. Pontos de Entrada P12.2210 - Parte 2. Universo do Desenvolvedor, 2023. Accessed on 2026-10-23.
  3. TOTVS. SISPAG - Descontinuada em 20/08/22. TDN. Accessed on 2026-10-23.
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