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

You can use this entry point to perform user validations at cancellation. 

To first call the record, it must first have gone through all default system validations.

03. OTHER INFORMATION


If lCancela .AND. ExistBlock("AF250CAN")
	lCancela := Execblock("AF250CAN",.F.,.F.,{aCols,nCnt})
	lCancela := IIF(ValType(lCancela) == "L",lCancela,.T.)
EndIf
User Function AF250CAN()

    // Variables received via PARAMIXB
    Local aCols := PARAMIXB[1]  // Array containing all item records
    Local nCnt  := PARAMIXB[2]  // Number of records in array
	Local lRet  := .F.

    // Example of use
	If SN3->N3_IDBAIXA = "2"
		// customer validation
		lRet := .T.
	EndIf

Return lRet


  • 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