01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA250

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46030

02. DESCRIPTION

This entry point performs specific validations in getdados lines, depending on the needs of its users. 

03. OTHER INFORMATION


Handling of EP in the system
If ExistBlock('AF250LOK')
	If !ExecBlock( 'AF250LOK', .F., .F., @aAF250Imp )
		Return .F.
	EndIf
EndIf
EP Example
// Implementation of function of entry point AF250LOK
User Function AF250LOK()

    // Variables received via PARAMIXB
    Local aAF250Imp := PARAMIXB[1]  // Data on taxes and validations
	Local lRet      := .T.
	Local nLinha    := 0
	
    // Example of use
    If Len(aAF250Imp) == 0
        Return lRet
    EndIf

    // Validation of tax lines
    For nLinha := 1 To Len(aAF250Imp)
        If !Empty(aAF250Imp[nLinha][1])  // Example of basic validation
            // Implement the validation logic needed
            Return lRet
        EndIf
    Next

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.