01.
...
GENERAL DATA
Product | Produto: | | Solucoes_totvs_cross |
|---|
| SolucaoCross | TOTVS Backoffice |
|---|
|
| Solucoes_totvs_parceirosexptotvs |
|---|
|
|
Linha de ProdutoProduct Line: | | Linhas_totvs |
|---|
| Linha | Linha Protheus Line
SegmentoSegment: | | Services |
Module: | Módulo: | | Modulos_cross_segmentos |
|---|
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus Line) - Contabilidade Gerencial Managerial Accounting (SIGACTBSIGAFIS)| Modulos_totvs_prestadores_de_servicos |
|---|
|
|---|
FunçãoFunction: | CTBA101 |
PaísCountry: | BrasilBrazil |
Ticket: | InternoInternal |
RequisitoRequisite/ | StoryStory/Issue | DSERCTR1-46829 |
02.
...
O ponto de entrada CTB101CNV é implementado na função CTBCONV (dentro da rotina CTBA101) e permite a customização do processo de conversão de moedas. Com ele, é possível adicionar regras e ajustes específicos para a conversão de moedas, adaptando a funcionalidade às necessidades contábeis particulares da empresa. Este ponto é ideal para empresas que necessitam de um controle mais detalhado ou uma lógica de conversão diferenciada em seu ambiente contábil.
...
DESCRIPTION
The entry point CTB101CNV is implemented in the CTBCONV function (within the CTBA101 routine) and allows for the customization of the currency conversion process. With it, it is possible to add specific rules and adjustments for currency conversion, adapting the functionality to the company's particular accounting needs. This entry point is ideal for companies that require more detailed control or a differentiated conversion logic in their accounting environment.
03. OTHER INFORMATION
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Manipulação de PE no sistemaEntry Point (EP) manipulation in the system |
|---|
|
nValConv := ExecBlock( "CTB101CNV" , .F. , .F. , {cCriter,dData,cMoeda,nValor,lVBloq,cBloq}) |
| Bloco de código |
|---|
| language | cpp |
|---|
| theme | RDark |
|---|
| title | Exemplo de PEEP Example |
|---|
|
User Function CTB101CNV()
Local cCriter := paramixb[1] // CriterioConversion de ConversaoCriterion
Local dData := paramixb[2] // Data do lancamento contabilEntry Date
Local cMoeda := paramixb[3] // Moeda do Lancamento contabilEntry Currency
Local nValor := paramixb[4] // ValorValue parafor conversaoconversion.
Local lBloq := paramixb[5] // IdentificaIdentifies sewhether deveto verificarcheck othe bloqueio da moedacurrency lock.
Local cBloq := paramixb[6] // Type Tipoof delock bloqueioapplied aplicadoto parathe moedacurrency
If cCriter == "1"
nValor := 10
ElseIf cCriter == "4"
nValor := 40
Else
nValor := 100
EndIf
Return nValor |
| Aviso |
|---|
|
- Observa-se que a utilização do PE e os impactos dele no sistema são de responsabilidade do cliente.
- Os exemplos utilizados nessa documentação são apenas para fins de demonstração, cada cliente deve verificar qual comportamento deseja realizar de acordo com o escopo do ponto de entrada.
|
04. ASSUNTOS RELACIONADOS
|
- It should be noted that the use of the Entry Point (PE) and its impacts on the system are the customer's responsibility.
- The examples used in this documentation are for demonstration purposes only; each customer must determine the behavior they wish to implement according to the scope of the entry point.
|
04. RELATED SUBJECTS