01. GENERAL DATA

Product:

TOTVS Backoffice

Product Line:

Protheus Line

Industry:

Services

Module:

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

Function:

CTBXVLD

Country:

Brazil

Ticket:

Internal

Requisite/Story/Issue

DSERCTR1-46829

02. DESCRIPTION

Entry Point VLCPLOTE allows checking whether you can edit an accounting entry from another module in the system. This EP is enabled when you add the entry as well as when you edit it, providing a validation of editing rights. It uses parameters received via PARAMIXB — Date, Batch, Sub-batch, Doc, nOpc — and must return a boolean value (.T. to allow editing or .F. to block it). 

03. OTHER INFORMATION


Handling of EP in the system
lRet := ExecBlock("VLCPLOTE",.F.,.F.,{dDataLanc,cLote,cSubLote,cDoc,nOpc})
EP Example
User Function VLCPLOTE()
	
	Local lRet      := .T.
	Local dDataLanc := PARAMIXB[1]
	Local cLote     := PARAMIXB[2]
	Local cSubLote  := PARAMIXB[3]
	Local cDoc      := PARAMIXB[4]
	Local nOpc      := PARAMIXB[5]

	// customer validation
    MsgAlert("ENTRY POINT CALL: VLCPLOTE")

Return lRet             

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.