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 |
This entry point performs specific validations in getdados lines, depending on the needs of its users.
If ExistBlock('AF250LOK') If !ExecBlock( 'AF250LOK', .F., .F., @aAF250Imp ) Return .F. EndIf EndIf
// 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 !!