Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA050

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

You can use the entry point ATF050LOG to perform customized validations before calculating depreciation and indexation in the Monthly Calculation (ATFA050) routine. It is used for performing the validations before running the Procedure in the calculation of depreciation and indexation in the Monthly Calculation (ATFA050) routine.

03. OTHER INFORMATION

Bloco de código
languagecpp
themeRDark
titleHandling of EP in the system
If !ExecBlock("ATF050LOG")
      Return
EndIf
Bloco de código
languagecpp
themeRDark
titleEP Example
#Include "PROTHEUS.ch"
#INCLUDE "rwmake.ch"

User Function ATF050LOG()

      Local cTipDepr := AllTrim(GetMv("MV_TIPDEPR"))
      Local lret := .T.

      If cTipDepr <> "0"
            lret:= .F.
            Alert("Depreciation is not proportional")
      EndIf

Return lRet
Aviso
titleImportant
  • 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.