01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
Linha de ProdutoProduct line: | | Linhas_totvs |
|---|
| Linha | Linha Protheus line
SegmentoSegment: | | Módulo: |
| Modulos_cross_segmentos |
ModulosCrossSegmentosModule: | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Management Accounting (SIGACTB) | Modulos_totvs_prestadores_de_servicos |
|---|
|
FunçãoFunction: | CTBA101 |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequirement/ | StoryStory/Issue | DSERCTR1-46748 |
02.
...
O ponto de entrada CT101TOK é utilizado para executar a validação de todos os campos do folder contábil, sendo acionado na rotina de Validação do Folder de Lançamento Contábil. Ele permite ao cliente verificar cada campo do folder antes de finalizar a validação, assegurando que todos os dados estejam corretos e atendam às regras contábeis estabelecidas.
Com o CT101TOK, é possível implementar regras de validação adicionais, garantindo que as informações contidas no folder sejam consistentes e precisas, contribuindo para a qualidade e conformidade dos registros contábeis da empresa.
...
DESCRIPTION
The CT101TOK entry point is used to perform the validation of all fields in the accounting folder, being triggered within the Accounting Entry Folder Validation routine. It allows the client to check every field in the folder before finalizing the validation, ensuring that all data is correct and meets the established accounting rules.
With CT101TOK, it is possible to implement additional validation rules, guaranteeing that the information contained in the folder is consistent and accurate, thereby contributing to the quality and compliance of the company's accounting records.
03. OTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point (EP) manipulation in the system |
|---|
|
lRet := ExecBlock( "CT101TOK" , .F. , .F. , {cTipo,cDebito,cCredito,cCustoDeb,cCustoCrd,cItemDeb,cItemCrd,cClVlDeb,cClVlCrd,cTpSald,nOpc,@cTexto } ) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEExample of EP |
|---|
|
#INCLUDE "PROTHEUS.CH"
User Function CT101TOK
Local lRet := .F.
Local cTipo := PARAMIXB[1]
Local cDebito := PARAMIXB[2]
Local cCredito := PARAMIXB[3]
Local cCustoDeb := PARAMIXB[4]
Local cCustoCrd := PARAMIXB[5]
Local cItemDeb := PARAMIXB[6]
Local cItemCrd := PARAMIXB[7]
Local cClVlDeb := PARAMIXB[8]
Local cClVlCrd := PARAMIXB[9]
Local cTpSald := PARAMIXB[10]
Local nOpc := PARAMIXB[11]
Local cTexto := PARAMIXB[12]
MsgAlert("CHAMADAENTRY DO PONTO DE ENTRADAPOINT CALL: CT101TOK")
Return lRet |
| Aviso |
|---|
|
- 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 ISSUES
- It does not applyNão se aplica.