Páginas filhas
  • DT F010VldDel Substitution of Default Validations

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Microsiga Protheus Line

Industry:

Services

Module:

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

Function:

Assets - ATFA012/ Transfer - ATFA060

Country:

Brazil

Ticket:

Internal

Requirement/Story/Issue:

DSERCTR1-33685


02. STATUS/REQUISITION

This document aims to explain the entry point F010VldDel.

Important

  • It is observed that the use of the EP and its impacts on the system are the responsibility of the customer.
  • 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.
  • This Entry Point works in the deletion/cancellation of a transfer when selecting the transferred asset to be canceled.

03. SOLUTION


This EP is executed to substitute the routine for validation and deletion of the asset. It must return TRUE(.T.) to proceed with the deletion; otherwise, FALSE(.F.).

Manipulação do PE no Sistema
If ExistBlock("F010VldDel")

	lRet := ExecBlock("F010VldDel",.F.,.F.,{cAlias1, lCompra})

Else
	///Default system treatments

Exemplo de PE
User Function F010VldDel()
	
 	cAlias		:=	ParamIXB[1]
 	lCompraPE	:=	ParamIXB[2]
	lRet 		:=	.F.
	
	lRet := MsgYesNo("Entrou no PE","")
	//Validations desired in EP  


Return lRet


04. OTHER INFORMATION


Information


PE Parameters:

Parameter

Type

Description

Use

Mandatory

cAlias1

String

Alias SN3 conveyed by EP

Use of alias SN3

Yes

lCompra

Logical

Logical variable for control

Used for controlling when ICompra is true

Yes



What should be returned:

Return

Type

Description

Mandatory

lRet

Logical

Return if the asset can be deleted in accordance with validations specified in entry point

Yes



05. RELATED SUBJECTS

  • Not Applicable.