01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFXINT

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry point ATFXOCOR allows handling the variable cOcorr, which controls the reason for posting an asset. You can use this entry point to define or adjust the reason for posting, in compliance with customized rules, having the flexibility to adapt the reasons to the specific needs of the company in the asset posting process.

03. OTHER INFORMATION

Handling of EP in the system
cOcorr := ExecBlock("ATFXOCOR",.F.,.F.,{cOcorr})
EP Example
User Function ATFXOCOR()

      Local cOcorr := ParamIxb[1]

      cOcorr := '02'
      Alert ('New occurrence recorded: '+cOcorr)

Return cOcorr

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.

04. RELATED SUBJECTS

  • Not Applicable.