Product: |
TOTVS Backoffice
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGAFIS)
|
Function: | CTBA102,CTBA103,CTBA105,CTBA104 |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
The entry point CT105CHK is used to validate accounting entries at the time of their execution, ensuring that the total debit value is equal to the total credit value. Should there be any discrepancy between debit and credit, the system may interrupt the process, ensuring the integrity of the accounting entries.
lRet := ExecBlock("CT105CHK",.F.,.F.,{lModified})
User Function CT105CHK Local lRet := .T. Local lModified := PARAMIXB[1] // if any record was changed in the grid If lModified // IMPLEMENT CUSTOM LOGIC HERE lRet := .F. EndIf Return lRet
Important!