01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

ATFA045

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46748

02. DESCRIPTION

You can use entry point AF045VAL to handle the values added during the Asset Posting (ATFA030) routine. It enables the customer to adjust the values calculated or entered by the system, ensuring that the asset posting records correctly reflect the needs and particularities of the business.

This handling may include, for example, adjustments to depreciated values, residual values, or any other financial datum that requires changes before confirming the posting. The AF045VAL provides greater flexibility, so you can adapt the posting logic to meet the company's specific accounting criteria.

Routine discontinued on 04/04/2022

03. OTHER INFORMATION

Handling of EP in the system
nVlVend           := Iif(ExistBlock( "AF045VAL" ),ExecBlock("AF045VAL",.F.,.F.), 0)
EP Example
User Function  AF045VAL

      Local nVlVend := 0 //SN7->N7_VLSIMU1

      MsgAlert("ENTRY POINT CALL: AF045VAL")

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