01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

Assets - ATFA012/ Transfer - ATFA060

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue:

DSERCTR1-33685


02. STATUS/REQUISITION

This document aims to explain the entry point F010VldDel.

  • 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.
  • 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.).

If ExistBlock("F010VldDel")

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

Else
      ///Default system treatments
User Function F010VldDel()

      cAlias            :=    ParamIXB[1]
      lCompraPE   :=    ParamIXB[2]
      lRet        :=    .F.

      lRet := MsgYesNo("Entered in EP","")
      //Validations desired in EP

Return lRet

04. OTHER INFORMATION


PE Parameters:

Parameter

Type

Description

Use

Required

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

Required

lRet

Logical

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

Yes



05. RELATED SUBJECTS