Product | TOTVS Backoffice |
Product Line | Protheus Line |
Segment | Services |
Module | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGACTB) |
Function | MatxFuna - Generic ( Booking ) |
Country | Brazil |
Ticket: | Internal |
Requisite/Story/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).
#INCLUDE "PROTHEUS.ch"
#INCLUDE "rwmake.ch"
User Function CT5CPOS( aCT5 )
Local aLP := PARAMIXB[1]
If aLP[1] == "801"
DesiredFunction() // Desired rule performing some function based on the established criteria using the Standard Entry return.
Endif
Return
|
The array has 2 positions:
The aLP[1] position is the one that displays the Standard Entry Code (CT5_LANPAD), positioned (in the example, 801). Note: The array only returns standard entries that are active (CT5_STATUS equal to 1). |
// Ponto de entrada para tratamento do conteudo do CT5
If Existblock("CT5CPOS") .And. !lSimula
Execblock("CT5CPOS",.F.,.F.,{aCT5[nX]})
Endif
|
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 |
PARAMIXB[1] - aCT5 | Array | Array 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 |