Usina BRAdvPL Guide
Sign in
← All topics
ENTRY POINTUnder review

CanPaImp

CanPaImp · FINA080

Allow cancellation of PA settlements that contain taxes.

Entry pointsFINA080SIGAFINFinancialUnder review
01 · OVERVIEW

Overview

CanPaImp is an entry point related to the SIGAFIN FINA080 routine. According to the official TOTVS list, its purpose is to allow cancellation of PA settlements that contain taxes. This page is marked as under review so it can be used cautiously until parameters, return value and specific examples are checked in the individual reference.

02 · SYNTAX

Syntax

CanPaImp · FINA080

Parameters

Routine
SIGAFINRequired

FINA080 — manual Accounts Payable settlement.

Entry point contract
Under reviewOptional

Validate PARAMIXB, available variables, return value and execution moment in the official reference.

Return value

Under review. Confirm the expected return value in the specific entry point documentation.

03 · PRACTICAL EXAMPLE

Initial structure for staging validation

#Include "TOTVS.ch"

User Function CanPaImp()
    Local aAreaAtual := GetArea()
    Local xRet := NIL

    // Implemente apenas após validar o contrato do ponto
    // de entrada no release utilizado.

    RestArea(aAreaAtual)
Return xRet
Expected result

Study skeleton to register the function and start controlled tests in a staging environment.

BEST PRACTICES
  • Check the official page before implementing business rules.
  • Keep comments indicating routine, date, support ticket or reason for the customization.
  • Test the complete settlement flow and possible effects on taxes, bordero and accounting.
COMMON PITFALLS
  • Do not assume the point always returns a logical value.
  • Do not change financial fields without validating fiscal and accounting impacts.
  • Do not publish a customization without testing it in a staging base compatible with the release.

Related content

REFERENCES
  1. TOTVS. Cross Segmentos - Backoffice Linha Protheus - SIGAFIN - FINA080 entry points. TOTVS Support Center, updated May 13, 2026.
  2. TOTVS. CanPaImp — specific entry point reference. TDN.
Status
Under review
Page created on
Last reviewed on
Original language
Português
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