Product: |
TOTVS Backoffice
|
Product Line: | Protheus Line |
Segment: | Services |
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB)
|
Function: | CTBXCTB |
Country: | Brazil |
Ticket: | Internal |
Requisite/Story/Issue | DSERCTR1-46829 |
The entry point CTBCVSUP is used to generate a superior Value Class in situations where the system's standard rule is not suitable. This entry point allows for the creation of customized logic to determine the superior Value Class, adapting to the user's specific needs for accounting categorization and hierarchy.
cCod := ExecBlock("CTBCVSUP",.F.,.F.,cCodigo)
User Function CTBCVSUB(cCodigo)
Local cCodigo := PARAMIXB[1]
Local cSubordinada := ""
// Enter the customized logic for generating the subordinate Value Class code
//Example: cSubordinada := Alltrim(cCodigo) + "_SUB"
Return cSubordinada
Important!