01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA012

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry point ATFA012 is executed soon after the model’s commit, allowing the performance of additional operations or validation of the final status of the data after the execution of a specific transaction. This point allows the addition of business rules or customized validations that must occur after the definitive confirmation of template changes. When the return is .F., the data are not recorded.

03. OTHER INFORMATION

Handling of EP in the system
lRet := ExecBlock("ATFA012",.F.,.F., {oModel, 'MODELPOS', 'SN3DETAIL'})
EP Example
User Function ATFA012

      Local oModel     := PARAMIXB[1]
      Local cNomMaster := PARAMIXB[2]
      Local cNomDetal  := PARAMIXB[3]
      Local oSN1       := oModel:GetModel('SN1MASTER')
      Local oSN3       := oModel:GetModel('SN3DETAIL')

      Local lRet       := .F.

      //CUSTOMER VALIDATION

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.