01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA010A

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

Entry Point AF010EXC is activated soon after the selection of the Delete option and before the opening of the deletion screen, offering a validation layer before process activation. This entry point allows the customer to set specific rules to approve or to block the deletion of records.

If the entry point returns .T. (true), the deletion of the record is authorized and occurs as usual. If it returns .F. (false), the deletion process is blocked, keeping the record unchanged. This behavior allows the customer to set additional rules to control the deletion, ensuring data integrity and compliance with established business processes.

03. OTHER INFORMATION


If ExistBlock("AF010EXC")
	lRet:= ExecBlock("AF010EXC",.F.,.F.)
EndIf
#INCLUDE "Protheus.ch"

User Function AF010EXC()

	Local lOk := .T.

	If lOk	
		Alert ("Deleting")
	Else
		lOk :=.F.
		Alert ("Unable to delete!")
	Endif

Return lOk
  • 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