01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Segment:

Services

Module:

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

Function:

CTBA500

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

O ponto de entrada CTB500USU é utilizado para validação de usuário na rotina de Contabilização via arquivo TXT. Esse ponto de entrada permite restringir o acesso a determinados usuários, garantindo que apenas aqueles com a devida autorização possam realizar operações de contabilização através de importações TXT.

03. OTHER INFORMATION


Entry Point (EP) manipulation in the system
If ExistBlock("CTB500USU") 
	lUsu := ExecBlock( "CTB500USU", .F. , .F. ) 
	If !lUsu 
		Return
	EndIf
EndIf    
EP Example
User function CTB500USU	

	If cUserName == "Administrator" 		
		Alert("User " + cUserName + " no access to the routine!")
		Return (.F.)	
	Else          		
		Return (.T.)	
	EndIf

Return


Important!

  • It should be noted that the use of the Entry Point (PE) 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