01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
| Linha de Produto: | |
|---|
| Segmento: | |
|---|
|
Product Line: | Protheus Line |
Segment: | Technology |
Module: | Módulo: | | Modulos_cross_segmentos |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTB) | Modulos_totvs_prestadores_de_servicos |
|---|
|
|---|
FunçãoFunction: | CTBXCTB |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequisite/ | StoryStory/Issue | DSERCTR1-46829 |
02.
...
O ponto de entrada CTBCTASU é empregado para definir a geração do código de uma conta contábil superior, sendo acionado pela função CtbCtaSup(). Esse ponto de entrada possibilita implementar critérios personalizados para calcular o código da conta contábil superior com base na conta atual, tanto no momento do cadastro quanto em processos internos de verificação. Dessa forma, permite flexibilidade na hierarquização das contas contábeis, ajustando-se a requisitos específicos de estruturação contábil ou normativas internas.
...
DESCRIPTION
The entry point CTBCTASU is used to define the generation of the code for a superior ledger account, being triggered by the function CtbCtaSup(). This entry point makes it possible to implement custom criteria to calculate the superior ledger account code based on the current account, both at the time of registration and during internal verification processes. Thus, it allows flexibility in the hierarchy of ledger accounts, adjusting to specific requirements of accounting structuring or internal regulations.
03. OTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point (EP) manipulation in the system |
|---|
|
cCod := ExecBlock("CTBCTASU",.F.,.F.,cCodigo) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEEP Example |
|---|
|
User Function CTBCTASU()
Local cContaAtual := PARAMIB[1]
Local cContSuperior := "" // VALIDACAOCUSTOMER DOVALIDATION CLIENTETO PARACREATE CRIARTHE A CONTAACCOUNT
// Displays Exibethe ocode códigoof dathe contasuperior contábilledger superioraccount
ConOut("ContaCurrent AtualAccount: " + cContaAtual)
ConOut("ContaSuperior SuperiorAccount: " + cContaSuperior)
Return cContSuperior |
| Aviso |
|---|
| title | Importante Important!! |
|---|
|
- Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
- Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.
|
04. ASSUNTOS RELACIONADOS
|
- It should be noted that the use of the Entry Point (PE) and its impacts on the system are the customer's responsibility.
- The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.
|
04. RELATED SUBJECTS