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

02. DESCRIPTION

Entry Point AF050SPS is activated to perform validations before running the Procedure responsible for calculating depreciation and indexation. This entry point allows adding customized rules, ensuring that required conditions are met before performing financial calculations on fixed assets.

03. OTHER INFORMATION

Handling of EP in the system
lRet := ExecBlock("AF050SPS",.F.,.F.)
EP Example
#Include "PROTHEUS.ch"
#INCLUDE "rwmake.ch"

User Function AF050SPS()

      Local lRet := .F.
      If MsgYesNo ("Confirm execution of Procedure?")
            lRet:= .T.
            MsgAlert("Execution successful")
      Else
            MsgAlert("Execution canceled")
      EndIf

Return lRet

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.