01. GENERAL DATA

Product

TOTVS Backoffice

Product Line

Protheus Line

Segment

Technology

Module

TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)

Function

CTBA105

Country

Brazil

Ticket

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

The Entry Point C105VLIN is used to block the deletion of accounting entries lines online. This Entry Point offers additional control, allowing customized business rules to be applied to prevent specific lines from being removed, ensuring the integrity of accounting records and compliance with established processes.

03. FURTHER INFORMATION


Entry Point (EP) handling in the system
 If _lC105VLIN 
	Return ExecBlock("C105VLIN", .F., .F.,{TMP->CT2_FLAG})
Else
	Return .T.
EndIf
EP Example
User Function C105VLIN()
 
	Local lTeste
 
	If MsgYesNo("The line cannot be deleted. Do you want it to be restored? ?","Test")
		TMP->CT2_FLAG := .F.
		lTeste:=.T.
	Else
		lTeste:=.F.
	EndIf
	
Return lTeste


Importante!

  • It should be noted that the use of the Entry Point (EP) and its impacts on the system are the customer's responsibility.
  • The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.

04. RELATED SUBJECTS

  • N/A