Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

01.

...

GENERAL DATA

ProdutoModulosCrossSegmentosFunçãoPaísBrasilInternoRequisitoStory

Product

:

Solucoes_totvs

Solucoes_totvs_cross
SolucaoCrossTOTVS Backoffice

Solucoes_totvs_parceiros
SolucaoParceiros

Solucoes_totvs_parceirosexptotvs
SolucaoParcsExpsTOTVS

Linha de Produto:

Linhas_totvs
LinhaLinha Protheus

Segmento:

Segmentos_totvs
SegmentoTecnologia

Product Line:

Protheus Line

Segment:

Technology

Module:

Módulo:
Modulos_cross_segmentos

TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTB)

Modulos_framework

Modulos_totvs_construcao

Modulos_totvs_juridico

Modulos_totvs_logistica

Modulos_totvs_manufatura

Modulos_totvs_rh

Modulos_totvs_saude

Modulos_totvs_prestadores_de_servicos

Function:

CTBXCTB

Country:

Brazil

Ticket:

Internal

Requisite/

Story/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
languagecpp
themeRDark
titleManipulação de PE no sistemaEntry Point (EP) manipulation in the system
cCod := ExecBlock("CTBCTASU",.F.,.F.,cCodigo)
Bloco de código
languagecpp
themeRDark
titleExemplo 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
titleImportante 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

  • N/ANão se aplica.