Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

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


Bloco de código
languagecpp
themeRDark
titleManipulação de PE no sistemaHandling of EP in the system
If lCancela .AND. ExistBlock("AF250CAN")
	lCancela := Execblock("AF250CAN",.F.,.F.,{aCols,nCnt})
	lCancela := IIF(ValType(lCancela) == "L",lCancela,.T.)
EndIf
Bloco de código
languagecpp
themeRDark
titleExemplo de PEEP Example
User Function AF250CAN()

    // VariáveisVariables recebidasreceived via PARAMIXB
    Local aCols := PARAMIXB[1]  // Array contendocontaining osall registrositem de itensrecords
    Local nCnt  := PARAMIXB[2]  // NúmeroNumber deof registrosrecords noin array
	Local lRet  := .F.

    // ExemploExample deof usouse
	If SN3->N3_IDBAIXA = "2"
		// validaçãocustomer do clientevalidation
		lRet := .T.
	EndIf

Return lRet


Aviso
titleImportante !!Important !!
  • 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
  • Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
  • Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.

04. RELATED SUBJECTS

  • Not Applicable.