01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Assets (SIGAATF)

Function:

ATFA251

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

We created the entry point AF251ICM to enable the deviation of the default validation performed by the system during the ICMS allocation process. 

Return:

.T. Ignore default validation

.F. Keep system default validation

03. OTHER INFORMATION

Handling of EP in the system
If ExistBlock("AF251ICM")
      lValIcms := ExecBlock("AF251ICM",.F.,.F.)
EndIf
EP Example
#Include 'Protheus.ch'

User Function AF251ICM()

      If MsgYesNo("Do you want to ignore ICMS allocation?","Attention")
      Return .F.
      Else
      Return .T.
      EndIf

Return

Important

  • It is noteworthy that the customer is responsible for EP utilization and its impacts on the system.
  • The examples used in this documentation are for demonstration purposes only. Each customer must check what behavior they want to perform according to the scope of the entry point.

04. RELATED SUBJECTS

  • Not Applicable.