01.
...
GENERAL DATA
...
Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
| Linha de Produto: | |
|---|
| Segmento: | |
|---|
|
Product Line | Protheus Line |
Segment | Services |
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting | Módulo: | | Modulos_cross_segmentos |
|---|
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB) | Função:
|---|
Function | Efetivação (CTBA350) |
País:Country | BrasilBrazil |
Ticket | : | 19125366 |
RequisitoRequisite/ | StoryStory/Issue | : | DSERCTR1-44381 |
02.
...
STATUS/
...
REQUIREMENT
Change the entry confirmation after validations.
03.
...
SOLUTION
At this EFELANC entry point, the record is positioned right after confirmation (or not), making it possible to change the result.
| Card documentos |
|---|
| Informacao | A utilização do ponto de entrada é de total autoria de quem o utiliza e os efeitos resultantes dele são de responsabilidade do cliente. |
|---|
| Titulo | IMPORTANTE! |
|---|
|
04.
...
O ponto de entrada estará posicionado logo após a efetivação.
...
FURTHER INFORMATION
The entry point will be positioned immediately after the entry confirmation.
In this example, the balance type is being changed.
| Informações |
|---|
| title | Contextualização PEEntry Point Context |
|---|
|
EFELANC – Manipula o registro após a efetivação ou não. Características do Requisito Handles the record after confirmation (or not).
Requirement Characteristics. Description: | The entry point EFELANC allows handling of the record right after confirmation (or not) within the CTBA350 – Pre-Entry Confirmation routine. | Events |
Descrição: | O ponto de entrada EFELANC permite manipular o registro logo após a efetivação ou não na rotina CTBA350-Efetivação de Pré-Lançamento. | EventosPrograma FonteSource Program: | CTBA350.PRW | Função PE Permite manipular o registro de efetivado ou não da rotina CTBA350-Efetivação de Pré-lançamento.Parâmetros: | Não há. | Retorno: | Allows handling the record of whether or not it was executed in the CTBA350 – Pre-Entry Execution routine. | Parameters: | None. | Return: | None | Não há| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEEP Example |
|---|
| linenumbers | true |
|---|
| collapse | true |
|---|
| #Include "Protheus.ch"
// ajusta o registro na// adjusts the record in CT2 após a efetivaçãoafter finalization/entry. RotinaRoutine ctba350 - Efetivação de pré-lançamentoPre-Entry finalization.
User Function EFELANC()
Local aArea := GetArea()
IF EMPTY(CT2->CT2_ITEMD)
RECLOCK( 'CT2', .F. )
CONOUT("registrorecord : " + STR(CT2->(RECNO())) + " posicionadopositioned ")
CT2->CT2_TPSALD := "9"
CT2->(MSUNLOCK())
ENDIF
RestArea(aArea)
Return |
| Nota |
|---|
| Este Ponto de Entrada é acionado exclusivamente para os lançamentos contábeis que não apresentam inconsistências, ou seja, aqueles que são efetivados diretamente. Já os lançamentos com inconsistências não são gravados, e, quando exibidos em tela (Pergunta "Mostra Lanc Contab ?" = Sim), devem ser corrigidos pelo usuário, sendo nesse caso processados por outro fluxo do sistema. |
|
05. ASSUNTOS RELACIONADOS
| This Entry Point is triggered exclusively for accounting entry that do not present inconsistencies, meaning those that are finalized directly. Entries with inconsistencies, however, are not recorded, and when displayed on screen (Question "Show Acct. Entry?" = Yes), they must be corrected by the user, being processed by another system flow in that case. |
|
05. RELATED SUBJECTS