...
Product | Produto: |
| ||||||||||||
| Linha de Produto: |
| |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Segmento: |
| |||||||||||||
Product Line: | Protheus Line | |||||||||||||
Segment: | Services | |||||||||||||
Module: | TOTVS Backoffice (Protheus Line) - Managerial Accounting | Módulo: |
ModulosCrossSegmentos | TOTVS Backoffice (Linha Protheus) - Contabilidade Gerencial (SIGACTB)
| ||||||||||
Function: | CTBXREL | |||||||||||||
Country: | BrasilBrazil | |||||||||||||
Ticket: | InternoInternal | |||||||||||||
Requisite/ | StoryStory/Issue | DSERCTR1-46829 |
...
The entry point CTCABR3 allows for the customization of the standard report header in the R3 version.
With this entry point, it is possible to define and adapt specific information that should appear in the header, customizing the display according to the report requirements or user preferences
...
O ponto de entrada CTCABR3 possibilita a customização do cabeçalho padrão dos relatórios na versão R3. Com esse ponto de entrada, é possível definir e adaptar informações específicas que devem aparecer no cabeçalho, personalizando a exibição de acordo com os requisitos do relatório ou preferências do usuário.
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
aCabec := ExecBlock("CTCABR3",.F.,.F.) |
| Bloco de código | ||||||
|---|---|---|---|---|---|---|
| ||||||
User Function CTCABR3() Local dDataIni Local dDataFim Local cChar := chr(160) // caracterDummy dummycharacter parafor alinhamentoheader doalignment cabeçalho Local cDataExt := "" If NomeProg = "CTBR110" // ExemploExample -> SeIf it foris othe DiarioGeneral ContabilJournal dDataIni := mv_par01 dDataFim := mv_par02 cDataExt := Transform(Day(dDataIni),'99') + " deof " + MesExtenso(dDataIni) + " de " + Transform(Year(dDataIni),'9999'); + " a " + Transform(Day(dDataFim),'99') + " de " + MesExtenso(dDataFim) + " de " + Transform(Year(dDataFim),'9999') aCabec := { cChar + " " + "EMPRESATEST TESTECOMPANY S/A" + " " + cChar; , cChar + " " + "000.000.000-0" + " " + cChar; , cChar + " " + "LIVROGENERAL DIARIOJOURNAL" + " " + cChar; , cChar + " " + cDataExt + " " + cChar; , cChar + " " + RptFolha + TRANSFORM(m_pag,'999999')} EndIf Return aCabec |
| Aviso | ||
|---|---|---|
| ||
|
|