...
Product |
...
| Produto: | |||||
|---|---|---|---|---|---|
| Solucoes_totvs_cross | TOTVS Backoffice | ||||
| 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
Function | MatxFuna - GenéricoGeneric ( ContabilizaçõesBooking ) | ||||
Country | BrasilBrazil | ||||
Ticket: | InternoInternal | ||||
Requisite/ | StoryStory/Issue | :DSERCTR1-35327 |
...
...
The Point of Entry CT5CPOS allows the execution of a specific user rule, based on the information received by the array, according to the positioned Standard Entry (CTBA080).
...
| Bloco de código | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
#INCLUDE "PROTHEUS.ch" #INCLUDE "rwmake.ch" User Function CT5CPOS( aCT5 ) Local aLP := PARAMIXB[1] If aLP[1] == "801" FuncaoDesejadaDesiredFunction() //Regra desejadaDesired realizandorule algumperforming funcionamentosome comfunction basebased noon critériosthe estabelecidosestablished comcriteria baseusing nothe retornoStandard do lançamento padrãoEntry return. Endif Return |
| Informações | |||
|---|---|---|---|
| |||
The array has 2 positionsO array conta com 2 posições sendo: A posição The aLP[1] é a posição que mostra o Código do lançamento padrão position is the one that displays the Standard Entry Code (CT5_LANPAD) posicionado( no exemplo , positioned (in the example, 801). Note: The array only returns standard entries that are active (CT5_STATUS equal to Observação: O array retorna apenas os lançamentos padrões que estão ativos ( CT5_STATUS igual à 1). |
| Bloco de código | ||||||||
|---|---|---|---|---|---|---|---|---|
| ||||||||
// Ponto de entrada para tratamento do conteudo do CT5
If Existblock("CT5CPOS") .And. !lSimula
Execblock("CT5CPOS",.F.,.F.,{aCT5[nX]})
Endif
|
| Aviso | ||
|---|---|---|
| ||
As alterações realizadas no PE são de responsabilidade de quem os utiliza, como também os impactos gerados por esse ponto de entrada. |
Parâmetros:
The changes made in the EP are the responsibility of the user who utilizes them, as are the impacts generated by this entry point. |
Parameters:
Parameter | Type | Description | Required | Parâmetro | Tipo | Descrição | Obrigatório|
|---|---|---|---|---|---|---|---|
PARAMIXB[1] - aCT5 | Array | Array | com as informações do ponto de lançamento posicionado contendo seus campos e valores para manipulação desejadaSim |
,
Retorno:
Retorno | Tipo | Descrição | Obrigatório |
|---|---|---|---|
| Não se aplica | Não se aplica | Não se aplica, manipulação é realizada conforme retorno do parâmetro PARAMIXB[1] | Não |
containing the information of the positioned entry point, including its fields and values for desired handling. | Yes |
,
Return:
Return | Type | Description | Required |
Not Applicable | Not Applicable | Not applicable, handling is performed according to the return of the PARAMIXB[1] parameter. | No |
| Templatedocumentos |
|---|