01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA036

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

You can use entry point AF036VAL to handle the sale value when saving the record of asset posting in routine ATFA036 - Asset Posting.

Substitutions:

Operation:

Benefits:

This entry point is essential for scenarios in which the sale value must be adjusted or validated to meet specific criteria in the asset posting process.

03. OTHER INFORMATION


Handling of EP in the system

nVlVend           := Iif(ExistBlock( "AF036VAL" ),ExecBlock("AF036VAL",.F.,.F.), 0)

EP Example

User Function AF036VAL()

      Local nVlVend := 100

Return nVlVend

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