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:

ATFA030

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry Point AF030VLBX is useful for validating items to be posted in the routines for manual posting or automatic posting of assets. It allows adding customized rules and validations that are not available in the standard product.

The customer can use this entry point to implement specific validations for assets selected at the time of posting, in accordance with their business needs.

03. OTHER INFORMATION


Bloco de código
languagecpp
themeRDark
titleHandling of EP in the system
lRet := ExecBlock("AF030VLBX",.F.,.F.,{"ATFA030","MAN"})
Bloco de código
languagecpp
themeRDark
titleEP Example
#Include 'Protheus.ch'

User function AF030VLBX()

      Local lRet := .T.
      Local cRotina := paramixb[1]
      Local cManuAuto := paramixb[2]

      If cManuAuto == "MAN"

            msgAlert("Manual Posting")
            lRet := .t.
      ElseIf cManuAuto == "AUTO"
            msgAlert("Automatic Posting")
         lRet := .t.
      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.