Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

FA070IMP

User Function FA070IMP()

Receives six tax amounts in settlement-calculation context.

FA070IMPFINA070
01 · OVERVIEW

Overview

TOTVS support identifies IRRF, ISS, PIS, COFINS, CSLL and INSS. P12.2210 records {nIRRF,nISS,nPIS,nCOFINS,nCSLL,nINSS} in that order in FACALCIMP, without assigning a return. This does not establish that returning an array changes taxes or that each item is passed by reference. No useful GitHub example was found. (Refs. 1–3) Research includes indexed TDN evidence; no complete specific page was recovered.

02 · SYNTAX

Syntax

User Function FA070IMP()

Parameters

Entry point context
UnconfirmedContext to confirm

The complete technical contract remains unconfirmed. Do not assume types, PARAMIXB positions or aliases beyond the evidence described.

Return value

Unconfirmed; the excerpt shows no use of the result.

03 · PRACTICAL EXAMPLE

Observed call and context

// P12.2210 caller excerpt (EURAI, ref. 2); not an entry point implementation.
// FINA070.PRX - FACALCIMP() -> EXECBLOCK("FA070IMP",.F.,.F.,{NIRRF,NISS,NPIS,NCOFINS,NCSLL,NINSS})
Expected result

The record shows arguments and immediate return use where present. It omits the full caller body and does not establish commit timing.

BEST PRACTICES
  • Do not use zero amounts or invented percentages as a tax example. Verify the modification mechanism and compare bases, withholdings and resulting titles in testing without changing tax settings to reproduce an example.
  • A call without a fourth argument does not document a PARAMIXB layout. Preserve caller identifiers and do not invent fields or positions.
  • Test plan: compare standard and customized flows, exercise success, rejection and repetition, and inspect balances, movements and accounting as applicable.
  • Under review: example not compiled or run in Protheus. Verify aliases, locks, transaction position and compatibility in the target release and patch.

Related content

REFERENCES
  1. TOTVS. Pontos de Entrada - Financeiro - P12. TDN. Accessed on 2026-10-24.
  2. EURAI. Pontos de Entrada P12.2210 - Parte 2. Universo do Desenvolvedor, 2023. Accessed on 2026-10-24.
  3. TOTVS. Pontos de entrada FINA070. Central de Atendimento, 2026. Finalidade de FA070IMP.
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