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 (SIGAATF)

Function:

ATFA060

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

We have implemented the Entry Point AF060VLC to enable users to perform specific validations when canceling a fixed asset transfer. This entry point is called before the cancellation is complete, allowing custom rules to be added to meet specific business requirements.

You can use AF060VLC to check additional conditions, validate data or even interrupt the process, in case custom conditions are not met. This flexibility ensures greater control and adherence to the operational particularities of each company in the management of asset transfers.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleHandling of EP in the system
lCont := ExecBlock("AF060VLC",.F.,.F.,{nOpcao, cLoteAtf})
Bloco de código
languagecpp
themeRDark
titleEP Example
#Include 'Protheus.ch'

User Function AF060VLC()

      Local nOpcao := paramixb[1]
      Local cLoteAtf := paramixb[2]

      If MsgYesNo ("Continue cancellation or transfer? ","Transfer Cancellation")
            lRet:= .T.
      Else
            lRet:= .F.
            MsgInfo ("Transfer not allowed!")
      EndIf

Return lRet
Aviso
titleImportant
  • 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

  • Not Applicable.