Páginas filhas
  • DT PE AF150AMP - After Processing the Expansion of the Asset

01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Microsiga Protheus Line

Industry:

Services

Module:

TOTVS Backoffice (Protheus Line) - Fixed Asset (SIGAFIS)

Function:

ATFA150 - Extension

Country:

Brazil

Ticket:

20086586

Requisite/Story/Issue:

DSERCTR1-45328

02. DESCRIPTION

Entry point triggered after confirmation of inclusion of asset expansion (ATFA150) and before the Accounting Entry. It allows handling the recording of the Expansion Value entered in the Asset Expansion screen.

03. OTHER INFORMATION

Parameter

Parameters

Type

Description

PARAMIXB[1]

Numeric

Expansion Value.


Return

Name

Type

Description

Null

Null

No return expected.



IMPORTANT!

This entry point is within a transaction with the database.



Code and Examples

Example of Entry Point
#include "protheus.ch"

User Function AF150AMP()
    
    Local nVlAmpli := Paramixb[1]

    FWAlertInfo("Expansion value: " + cValToChar(nVlAmpli), "PE AF150AMP")

Return   
EP Call in System
If ExistBlock("AF150AMP")
	ExecBlock("AF150AMP",.f.,.f., {nDiferenca})
Endif

Important

The above example is only a model for using the Entry Point. The customer is responsible for customizing it in accordance with their needs and their impacts.

04. RELATED SUBJECTS

  • Not Applicable.