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

Entry point AF251VLO is used for handling the data of the lower tabs Apportionment Totals and Tax Details in the Acquisition by Transfer routine. You can run the entry point through the function AF251VORIG, called during the validation of the tudoOk method.

Details:

This entry point grants the user flexibility to customize the information of the upper and lower tabs, allowing adjustments in accordance with the specific needs of the business.

03. OTHER INFORMATION


 If Existblock("AF251VLO")
      aRetAF251V := ExecBlock("AF251VLO", .f., .f., { @oGetDadTot, @oGetDadImp } )
      oGetDadTot := aRetAF251V[1]
      oGetDadImp := aRetAF251V[2]
EndIf
#Include 'Protheus.ch'

User Function AF251VLO()

      Local oGetDTot   := paramixb[1]
      Local oGetDadImp := paramixb[2]

      /*
      -------------------------------------------------------------------------
      Call - ExecBlock( 'AF251VLO', .F., .F., {@oGetDadTot, @oGetDadImp})
      Note: oGetDadosC, object of the upper tab "Complements", is private
      --------------------------------------------------------------------------
      */

      Alert("Entry Point Executed")
      oGetDTot:aCols[1,4] := 20000
      oGetDadImp:aCols[1][3]:= 10

      oGetDTot:ForceRefresh()
      oGetDadImp:ForceRefresh()

Return ({ oGetDTot, oGetDadImp })
  • 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