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 |
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).
lRet := ExecBlock("VLCPLOTE",.F.,.F.,{dDataLanc,cLote,cSubLote,cDoc,nOpc})
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 !!