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 !!

04. RELATED SUBJECTS