Product: |
TOTVS Backoffice
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function: | CTBXATU |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46748 |
The entry point CTBVLDSLD is used to validate whether the basic balances will be updated during the saving of the Automatic Accounting Entries routine. It offers the client the possibility of defining criteria that determine whether the balance update should be performed, ensuring that the booking process complies with the company's policies and practices.
With CTBVLDSLD, it is possible to implement validation rules that ensure accounting balances are manipulated only when necessary, providing greater control over records and ensuring the accuracy of financial information.
If _lAtSldBase .and. lVldSld
lRetSld := ExecBlock("CTBVldSld",.F.,.F., {_lAtSldCT7, _lAtSldCT3, _lAtSldCT4, _lAtSldCTI})
If lRetSld
_lAtSldBase := .F.
EndIf
EndIf
User Function CTBVldSld()
Local lRet := .F.
Local _lAtSldCT7 := paramixb[1]
Local _lAtSldCT3 := paramixb[2]
Local _lAtSldCT4 := paramixb[3]
Local _lAtSldCTI := paramixb[4]
//Customers Customization
Alert("Entry Point Executed")
If (_lAtSldCT7 .or. _lAtSldCT3 .or. _lAtSldCT4 .or. _lAtSldCTI)
lRet := .T.
EndIf
Return lRet
Important!