Table of Contents

Class BaseReportVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Relatório

[AttTable("rep", 20241218, "entityType", AttTable.MaintenanceOrders.Rep)]
[AttTableTarget(DBTarget.Home)]
[AttTableVOInfo(typeof(BaseReportAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.CanUpdFromSourceBD, TableFlags.SystemVO, TableFlags.NotSaveLog, TableFlags.AddOnFramework, TableFlags.AddOnNotCustomizable, TableFlags.HasRecordsByEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount })]
[AttTableMaintenance(typeof(ReportMaintenance))]
public class BaseReportVO : AbstractReportVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BaseReportVO

Remarks

Implementação de um relatório.

Properties

duplicateText

Texto duplicado

[AttLenght(50)]
public string duplicateText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões duplicadas.

Length 50 .

duplicatesQuantity

Número de duplicados

[AttLenght(2)]
[AttMinValue(0)]
[AttMaxValue(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int duplicatesQuantity { get; set; }

Property Value

int

Remarks

Contém o número de duplicados a serem impressos.

Length 2 .

entityName

[AttLocale(typeof(BaseReportAttInfo), new string[] { "[rep].[entityType]" })]
[AttVirtualField]
[AttList]
public string entityName { get; set; }

Property Value

string

fivefoldText

Texto quintuplicado

[AttLenght(50)]
public string fivefoldText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões quintuplicadas.

Length 50 .

hasobs

Indicate if is the report show observations

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool hasobs { get; set; }

Property Value

bool

Indicate if is the report shows payment link/ QRcode fields

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool haspaylink { get; set; }

Property Value

bool

haspayment

Indicate if is the report shows payment fields

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool haspayment { get; set; }

Property Value

bool

hasrefmb

Indicate if is the report shows refmb fields

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool hasrefmb { get; set; }

Property Value

bool

hastransport

Indicate if is the report shows transport fields

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool hastransport { get; set; }

Property Value

bool

imagebaseboardsize

Indica o tipo de ajuste da imagem

public int imagebaseboardsize { get; set; }

Property Value

int

imagecolor

Indica a cor do relatorio

[AttFieldType(AttFieldType.InputTypes.integer)]
public CorImagemEnum imagecolor { get; set; }

Property Value

CorImagemEnum

imagesize

Indica o tipo de ajuste da imagem

public int imagesize { get; set; }

Property Value

int

isAggregateReport

Indicate if is Aggregate report

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
public bool isAggregateReport { get; set; }

Property Value

bool

isDefaultForOtherDocs

public bool isDefaultForOtherDocs { get; set; }

Property Value

bool

isDepositCupon

Indicate if is Deposit Cupon

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttGama(Gamas.Advanced)]
[AttProducts(new Products[] { Products.POS })]
public bool isDepositCupon { get; set; }

Property Value

bool

iscustom

Indicate if is custom report

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool iscustom { get; set; }

Property Value

bool

isfather

public bool isfather { get; set; }

Property Value

bool

isforeigncurrency

Indicate if is foreign currency

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isforeigncurrency { get; set; }

Property Value

bool

linesedits

Colecção dos campos presentes nas linhas do reltório.

[AttCollection(typeof(ReportEditVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportedit].[basereportstamp]", "[rep].[repstamp]" })]
public List<ReportEditVO> linesedits { get; set; }

Property Value

List<ReportEditVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportEditVO

logobaseboardheight

Height for Logo to be used in report

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttMaxValue(50)]
public int logobaseboardheight { get; set; }

Property Value

int

logobaseboardwidth

Width for Logo to be used in report

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttMaxValue(100)]
public int logobaseboardwidth { get; set; }

Property Value

int

logoheight

Height for Logo to be used in report

[AttLenght(3)]
[AttMinValue(0)]
[AttMaxValue(999)]
public int logoheight { get; set; }

Property Value

int

logowidth

Width for Logo to be used in report

[AttLenght(3)]
[AttMinValue(0)]
[AttMaxValue(999)]
public int logowidth { get; set; }

Property Value

int

mainheaderedits

Colecção dos campos presentes no cabeçalho da E1 do reltório.

[AttCollection(typeof(ReportEditVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportedit].[basereportstamp]", "[rep].[repstamp]" })]
public List<ReportEditVO> mainheaderedits { get; set; }

Property Value

List<ReportEditVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportEditVO

nextText

Texto para vias seguintes, após a quintuplicada

[AttLenght(50)]
public string nextText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões seguintes.

Length 50 .

originalText

Texto original

[AttLenght(50)]
public string originalText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado à impressão original.

Length 50 .

predefinedReport

public bool predefinedReport { get; set; }

Property Value

bool

printerStamp

[AttLenght(50)]
public string printerStamp { get; set; }

Property Value

string

quadruplicateText

Texto quadruplicado

[AttLenght(50)]
public string quadruplicateText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões quadruplicadas.

Length 50 .

reportSeries

[AttLenght(2)]
[AttMinValue(0)]
[AttMaxValue(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int reportSeries { get; set; }

Property Value

int

reportlines

Colecção dos relatórios filhos

[AttCollection(typeof(ReportLineVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportline].[basereportstamp]", "[rep].[repstamp]" })]
public List<ReportLineVO> reportlines { get; set; }

Property Value

List<ReportLineVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportLineVO

secondVersionText

Segunda via

[AttLenght(50)]
public string secondVersionText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões de segunda via de documento.

Length 50 .

secondaryheaderedits

Colecção dos campos presentes no cabeçalho da CL/FL do reltório.

[AttCollection(typeof(ReportEditVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportedit].[basereportstamp]", "[rep].[repstamp]" })]
public List<ReportEditVO> secondaryheaderedits { get; set; }

Property Value

List<ReportEditVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportEditVO

showbaseboard

Indicate if is the report shows the baseboard

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showbaseboard { get; set; }

Property Value

bool

Indicate if is the report shows the logo

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showlogo { get; set; }

Property Value

bool

showlogobaseboard

Indicate if is the report shows the logo on the baseboard

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showlogobaseboard { get; set; }

Property Value

bool

showserialnumbers

Indicate if is the report shows serial numbers

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showserialnumbers { get; set; }

Property Value

bool

showtaxes

Indicate if is the report shows serial numbers

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showtaxes { get; set; }

Property Value

bool

showzeros

Indicate if is the report shows zeros

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool showzeros { get; set; }

Property Value

bool

thirdheaderedits

Colecção dos campos presentes no cabeçalho da CL/FL do reltório.

[AttCollection(typeof(ReportEditVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[reportedit].[basereportstamp]", "[rep].[repstamp]" })]
public List<ReportEditVO> thirdheaderedits { get; set; }

Property Value

List<ReportEditVO>

Remarks

This field is a collection of type List (Of ReportEditVO).

ReportEditVO

toolDescription

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolDescription { get; set; }

Property Value

string

toolName

Virtual use only for "recent" tab @frontend Do not forget to include AttList for fields that are included in virtual

[AttVirtualField]
public string toolName { get; set; }

Property Value

string

triplicateText

Texto triplicado

[AttLenght(50)]
public string triplicateText { get; set; }

Property Value

string

Remarks

Contém o texto que será impresso num componente Série de Documento. O valor impresso será aplicado às impressões triplicadas.

Length 50 .

version

[AttLenght(6)]
public BackendVersion version { get; set; }

Property Value

BackendVersion

Methods

Finalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

protected override void Finalize()

GetOldTipoSaft(int)

public string GetOldTipoSaft(int oldDocid)

Parameters

Nome Tipo Descrição
oldDocid int

Returns

string

GetTipoSaft()

public string GetTipoSaft()

Returns

string

fetchDynamicFields()

public List<IDataBindable> fetchDynamicFields()

Returns

List<IDataBindable>

Explicit Interface Implementations

AsStudioTool()

StudioToolVO AsStudioTool()

Returns

StudioToolVO

CanDeleteTool()

bool CanDeleteTool()

Returns

bool

ToolMainFields()

List<string> ToolMainFields()

Returns

List<string>