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çãoFunction: | Lançamento Padrão automático Automatic Standard Entries - CTBA102 |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequisite/ | StoryStory/Issue: | DSERCTR1-42480 |
02.
...
STATUS/
...
REQUIREMENT
This document aims to clarify the operation of the Ct102Carr entry point.
| Aviso |
|---|
The impacts related to the Point of Entry are the sole responsibility of the customer who implements it |
...
Este documento visa esclarecer o funcionamento do ponto de entrada Ct102Carr.
| Aviso |
|---|
Os impactos relacionados ao ponto de entrada são de total responsabilidade do cliente que o implementa. |
03.
...
SOLUTION
The entry point CT102CARR allows reading the data in the temporary table (TMP) created when performing the routine's operations of Change, Deletion, Viewing, Copying, or Reversal. Thus, the Point of Entry has the function of manipulating the data of the currently positioned entries and its performed operation for the implementation of a specific rule using the available data
...
O ponto de entrada CT102CARR permite a leitura dos dados na tabela temporária criada ao realizar as operações da rotina de Alteração, Exclusão, Visualização, Copia ou Estorn, Sendo assim o ponto de entrada tem a função de manipular os dados do lançamento posicionado e sua operação realizada para a implementação de alguma regra em especifico com os dados disponibilizados.
| Informações |
|---|
| title | ContextualizaçãoContextualization |
|---|
|
| Bloco de código |
|---|
| language | c# |
|---|
| theme | RDark |
|---|
| title | Exemplo PE |
|---|
| linenumbers | true |
|---|
| collapse | true |
|---|
| #include 'totvs.ch'
#include "rwmake.ch"
User Function Ct102Carr()
//retornoRoutine dareturn rotina nOpc,dDataLanc,cLote,cSubLote,cDoc
Local nOpcRot := PARAMIXB[1]
Local dDataLancRot := PARAMIXB[2]
Local cLoteRot := PARAMIXB[3]
Local cSubLoteRot := PARAMIXB[4]
Local cDocRot := PARAMIXB[5]
Local cTpSald := "
cTpSald:= TMP->CT2_TPSALD
If cTpSald == "1"
alert("AcessadoAccessed entry PEpoint " + " / OperaçãoOperation " + STR(nOpcRot) + "/ DataDate " + DTOC(dDataLancRot) + "/ LoteBatch " + cLoteRot + "/ SubLoteSub-Batch " + cSubLoteRot + "/ DocumentoDocument " + cDocRot)
//Funcaoxpto(nOpcRot,dDataLancRot,cLoteRot,cSubLoteRot,cDocRot)
EndIF
Return |
| Informações |
|---|
| title | Sobre o TMP | About TMP |
|---|
| To access the information read from the TMP, the following syntax can be used for manipulation and viewing of the positioned entriesPara acessar a leitura das informações do TMP pode se ter a seguinte escrita para manipulação e visualização do lançamento posicionado:
TMP→ "CAMPO DA CT2 QUE DESEJA VISUALIZAR colocando ponteirado antes o FIELD from CT2 TO VIEW, placing the pointer before the TMP" Exemplo Example: TMP→CT2_TPSALD |
| Aviso |
|---|
- The Point of Entry is only used for reading and manipulating the parameters passed to the P.E. and the information of the record positioned in the TMP.
- The Point of Entry can be used when accessing the options for: Change, Deletion, Viewing, Copying, and Reversal in the Automatic Standard Entries routine (CTBA102).
- The examples used in this Entry Point are only intended to give an idea and are merely illustrative. The Entry Points rule must be created according to the expected outcome, aligned with the Entry Points operation and the data it provides
- O ponto de entrada só é utilizado para leitura e manipulação dos parâmetros passados ao PE e as informações do registro posicionado no TMP.
- O ponto de entrada pode ser utilizado ao acessar as opções de: Alteração, Exclusão, Visualização, Copia e Estorno na rotina de Lançamento Padrão Automático- CTBA102.
- Os exemplos utilizados nesse ponto de entrada são só para dar uma ideia e são meramente ilustrativos, a regra do ponto de entrada deve ser criada conforme a expectativa esperada alinhado com o funcionamento do ponto de entrada e o que ele dispõe.
|
| Bloco de código |
|---|
| language | c# |
|---|
| theme | RDark |
|---|
| title | PE no sistemaEP in the system |
|---|
| linenumbers | true |
|---|
| collapse | true |
|---|
| IF _lCt102Carr
ExecBlock("Ct102Carr",.F.,.F.,{ nOpc,dDataLanc,cLote,cSubLote,cDoc } )
Endif |
|
04.
...
OTHER INFORMATION
Parameters
...
Parâmetros
PARAIXB | TipoType | DescriçãoDescription | ExplicaçãoExplanation |
PARAMIXB[1] | Numérico Numeric | nOpc | Opção que esta sendo realizada ( Podendo ser as opções de alteração, exclusão, visualização, estorno ou copia Option being performed (Which can be the options for change, deletion, viewing, reversal, or copy). |
PARAMIXB[2] | Data Date | dDataLanc | Data do lançamento.Entry Date |
PARAMIXB[3] | Caractere Character | cLote | Numeração de lote do lançamentoEntry batch number. |
PARAMIXB[4] | Caractere Character | cSubLote | Sublote do lançamento.Entry Sub-Batch |
PARAMIXB[5] | CaractereCharacter | cDoc | Numero de documento do lançamentoEntry document number. |
RetornoReturn
RetornoReturn | TipoType | Obrigatório Mandatory? |
Not Applicable | Not Applicable | No | Não se aplica | Não se aplica | Não |
05.
...
RELATED SUBJECTS
...