...
Product | Produto: |
| ||||||||||||
| Linha de Produto: |
| |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Segmento: |
| |||||||||||||
Product Line: | Protheus Line | |||||||||||||
Segment: | Services | |||||||||||||
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting (SIGAFIS | Módulo: |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)
| ||||||||||
Function: | CTBXATU | |||||||||||||
Country: | BrasilBrazil | |||||||||||||
Ticket: | InternoInternal | |||||||||||||
Requisite/ | StoryStory/Issue | DSERCTR1-46748 |
...
O ponto de entrada CT105CT2 é utilizado para executar um procedimento de usuário ao final da gravação de um lançamento contábil, sendo acionado antes do ponto de entrada CTBGRV. Ele permite ao cliente adicionar lógicas personalizadas logo após a gravação do lançamento, possibilitando ajustes ou ações específicas que precisam ser realizadas antes do fechamento definitivo do registro.
Com o CT105CT2, é possível garantir que procedimentos adicionais sejam executados de acordo com as necessidades do negócio, permitindo uma maior flexibilidade e controle sobre os lançamentos contábeis, assegurando que todas as etapas relevantes sejam realizadas de forma adequada.
...
The entry point CT105CT2 is used to execute a user procedure at the end of the recording of an accounting entry, being triggered before the CTBGRV entry point It allows the client to add custom logic immediately after the entry is recorded, enabling specific adjustments or actions that need to be performed before the definitive closing of the record.
With CT105CT2, it is possible to ensure that additional procedures are executed according to business needs, allowing for greater flexibility and control over the accounting entries, and ensuring that all relevant steps are properly carried out.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
ExecBlock("CT105CT2", .F., .F., {__nQuantas, dDatalanc,cLote,cSubLote,cDoc,lCusto,lItem,lCLVL,nTotInf,_lAtSldBase,_lReproc }) |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
User Function CT105CT2() Local nX Local cMoedan_Quantas := aParamIxb[1] Local dDatalanc := aParamIxb[2] Local cLote := aParamIxb[3] Local cSubLote := aParamIxb[4] Local cDoc := aParamIxb[5] Local lCusto := aParamIxb[6] Local lItem := aParamIxb[7] Local lCLVL := aParamIxb[8] Local nTotInf := aParamIxb[9] Local lAtSldBase := aParamIxb[10] Local lReproc := aParamIxb[11] For nX := 1 to n_Quantas If StrZero(nX, 2) == CT2->CT2_MOEDLC CT2->CT2_USUHOR := TIME() // Records gravatime horain nothe lancamento entry Endif Next Return |
| Aviso | ||
|---|---|---|
| ||
|
|