Product | |
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 |
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.
If _lC105VLIN
Return ExecBlock("C105VLIN", .F., .F.,{TMP->CT2_FLAG})
Else
Return .T.
EndIf |
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 |
|