01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Technology

Module:

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

Function:

ATFA251

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

This entry point allows you to manipulate the data from the bottom tabs Apportionment Totals and Tax Details. The objects oGetDadTot and oGetDadImp that allow the manipulation of the bottom tabs respectively cited above are transmitted to the PE.

The variables of the upper tab Asset Data and Add-ons are respectively the aCols array and the oGetDadosC object that are declared private.

03. OTHER INFORMATION

Handling of EP in the system
If ExistBlock('AF251LNK')
	aRetAF251LOK := ExecBlock( 'AF251LNK', .F., .F., {@oGetDadTot, @oGetDadImp} )
	/* Function Af251LinOK(aAF251Imp,oFolder,aAF251Desc, oGetDadTot, oGetDadImp, aColsDadoC)
	// oGetDadosC and  oGet are private*/
	oGetDadTot := aRetAF251LOK[1]
	oGetDadImp := aRetAF251LOK[2]
EndIf
EP Example
#Include 'Protheus.ch'

User function AF251LNK()

	Local oGetDTot := paramixb[1]

	Local oGetDadImp := paramixb[2]

	 /* -----------------------------------------------------------------------

	Call - ExecBlock( 'AF251LNK', .F., .F., {@oGetDadTot, @oGetDadImp})

	Note: oGetDadosC, object of the upper tab "Complements", is private

	------------------------------------------------------------------------ */

	Alert("Entry Point AF251LNK Run")

	oGetDTot:ForceRefresh()

Return ({ oGetDTot, oGetDadImp })

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.