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-46748

02. DESCRIPTION

Entry point AF030CAN was replaced by entry point AF036CPR (ATFA036), which performs the pre-recording of asset posting cancellation data. This new entry point is responsible for saving the asset posting cancellation form in advance (including form and grid) in the manual posting and batch posting processes.

The execution occurs within the data recording transaction, ensuring the consistency of the process. This substitution allows greater flexibility and scope, consolidating a functionality that was previously distributed among the entry points AF030CAN and AF035CAN, used in routines ATFA030 and AF035CAN, respectively.

03. OTHER INFORMATION

Handling of EP in the system
If ExistBlock("AF030CAN")
	ExecBlock("AF030CAN",.F.,.F.)
EndIf
EP Example
User Function AF036CPR()

	Local aArea := GetArea()
	Help("" ,1, "AF036CPR",,"Entry Point run before saving the posting cancellation record of the asset." ,1.0)
	RestArea(aArea)

Return Nil

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.