01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Technology

Module:

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

Function:

ATFA035

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry point AF035GRV is called after records related to the automatic posting of assets are saved, within the context of Fixed Assets module control. While running, the point assesses such data as posting values, booking of accrued depreciation, checking of multiple currencies and integration with other modules, such as the SIGAMNT module, to sync transaction data.

03. OTHER INFORMATION

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

	If SN3->N3_TIPO == "01"       // Acquisition
		// CUSTOMER VALIDATION
	ElseIf SN3->N3_TIPO $ "02.05" // Reassessment
		// CUSTOMER VALIDATION
	ElseIf SN3->N3_TIPO $ "03*13" // Advance
		// CUSTOMER VALIDATION
	ElseIf SN3->N3_TIPO == "04"   // Law 8200 (Dif. BTN/IPC)
		
	Else
		// Posting of other asset types
		// CUSTOMER VALIDATION
	EndIf

Return 

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