Table of Contents

Class MapDefCabVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entity that represents a listing.

[AttTable("Mapdefcab", 20211113, "entidade")]
[AttTableGama(Gamas.Grow)]
[AttTableOrderBy("grupo, nome")]
[AttTableVOInfo(typeof(MapDefAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.CanUpdFromSourceBD, TableFlags.HasRecordsByEntity, TableFlags.HasRecordsByProducts, TableFlags.AddOnNotCustomizable, TableFlags.TableForJorge, TableFlags.CelebrateFirstInsert })]
[AttTableMaintenance(typeof(MapdefcabMaintenance))]
[AttTableProducts(new Products[] { Products.ANALISES })]
public class MapDefCabVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
MapDefCabVO

Remarks

This object class represents a value that maps to MAPDEFCAB table in the database and which has the function of storing information relating to a listing.

This entity is composed of four collections.

Properties

Cm1VO

[AttExternalCollection(typeof(Cm1VO), new string[] { "[Cm1].[cm]", "[Tabax].[docid]" })]
public Cm1VO Cm1VO { get; }

Property Value

Cm1VO

DimensionVO

[AttExternalCollection(typeof(DimensionVO), new string[] { "[Dimension].[id]", "[Tabax].[docid]" })]
public DimensionVO DimensionVO { get; }

Property Value

DimensionVO

TdVO

[AttExternalCollection(typeof(TdVO), new string[] { "[Td].[ndoc]", "[Tabax].[docid]" })]
public TdVO TdVO { get; }

Property Value

TdVO

TsVO

[AttExternalCollection(typeof(TsVO), new string[] { "[Ts].[ndos]", "[Tabax].[docid]" })]
public TsVO TsVO { get; }

Property Value

TsVO

TsrdVO

[AttExternalCollection(typeof(TsrdVO), new string[] { "[Tsrd].[ndoc]", "[Tabax].[docid]" })]
public TsrdVO TsrdVO { get; }

Property Value

TsrdVO

TsreVO

[AttExternalCollection(typeof(TsreVO), new string[] { "[Tsre].[ndoc]", "[Tabax].[docid]" })]
public TsreVO TsreVO { get; }

Property Value

TsreVO

colbranco

Blank column

[AttLenght(1)]
public bool colbranco { get; set; }

Property Value

bool

Remarks

indicates whether prints last a Blank column.

docid

Document Number

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int docid { get; set; }

Property Value

int

Remarks

Identifies the document number.

Length 6.

docname

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

Property Value

string

entidade

NEntity name

[AttLenght(60)]
[AttMandatory]
[AttIndex]
public string entidade { get; set; }

Property Value

string

Remarks

Searchable field.

Field available in the basic search results list.

Mandatory field.

Length 60.

CL

entityName

[AttLocale(typeof(MapDefAttInfo), new string[] { "[Mapdefcab].[entidade]" })]
[AttList]
[AttVirtualField]
public string entityName { get; set; }

Property Value

string

groupType

public MapDefCabBiz.MapDefCabGroupTypes groupType { get; set; }

Property Value

MapDefCabBiz.MapDefCabGroupTypes

grupo

Group

[AttLenght(30)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string grupo { get; set; }

Property Value

string

hasSearchParameters

[AttVirtualField]
public bool hasSearchParameters { get; set; }

Property Value

bool

helpcenterstamp

public string helpcenterstamp { get; set; }

Property Value

string

inactivo

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList(Inactive = true)]
public bool inactivo { get; set; }

Property Value

bool

isreadonly

Read-only mode

[AttPhcOwner(new string[] { "inactivo", "istoshowonmenu", "pfstamp", "pfname" })]
[AttList(Inactive = true)]
public bool isreadonly { get; set; }

Property Value

bool

Remarks

This field is reserved for use by PHC exclusively.

Non Duplicable Field

istoshowonmenu

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

Property Value

bool

Remarks

This field is use to know if will show the analize in menu

Non Duplicable Field

mapdefcabstamp

Listing Stamp.

[AttPrimaryKey]
[AttLenght(25)]
public string mapdefcabstamp { get; set; }

Property Value

string

Remarks

This field is primary key.

Length 25.

mapdeflins

Colecção de campos das listagens.

[AttCollection(typeof(MapDefLinVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD })]
public List<MapDefLinVO> mapdeflins { get; set; }

Property Value

List<MapDefLinVO>

Remarks

Colecção de elementos do tipo MapDefLinVO.

mapdefords

Colecção de campos de ordination das listagens.

[AttCollection(typeof(MapDefOrdVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD })]
public List<MapDefOrdVO> mapdefords { get; set; }

Property Value

List<MapDefOrdVO>

Remarks

Colecção de elementos do tipo MapDefOrdVO.

mapdefseps

Colecção de campos de separação das listagens.

[AttCollection(typeof(MapDefSepVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD })]
public List<MapDefSepVO> mapdefseps { get; set; }

Property Value

List<MapDefSepVO>

Remarks

Colecção de elementos do tipo MapDefSepVO.

mapdeftots

Colecção de campos totalizadores das listagens.

[AttCollection(typeof(MapDefTotVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD })]
public List<MapDefTotVO> mapdeftots { get; set; }

Property Value

List<MapDefTotVO>

Remarks

Colecção de elementos do tipo MapDefTotVO.

minGama

[AttLenght(4)]
[AttHidden]
public int minGama { get; set; }

Property Value

int

nome

Listing name.

[AttLenght(50)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string nome { get; set; }

Property Value

string

Remarks

Identifies the document number.

Searchable field.

Field available in the basic search results list.

Mandatory field.

Length 50.

obs

Complete description about how to use this listing

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

orientacao

Orientation

[AttLenght(1)]
public int orientacao { get; set; }

Property Value

int

Remarks

Identify the paper orientation of the listing. The value 0 corresponds to Portrait and Landscape mode 1 format.

Length 1.

pfname

Nome do Perfil.

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

Property Value

string

Remarks

Length 50.

pfstamp

[AttForeignKey(ForeignType = typeof(RoleVO), HiddenField = false, CanDuplicate = true)]
[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string pfstamp { get; set; }

Property Value

string

runalwayschangefilter

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

Property Value

bool

searchitems

[AttCollection(typeof(SearchItemsVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "[SearchItems].[searchstamp]", "[Mapdefcab].[mapdefcabstamp]" })]
public List<SearchItemsVO> searchitems { get; set; }

Property Value

List<SearchItemsVO>

tamfonte

Font size

[AttLenght(3)]
[AttMinValue(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int tamfonte { get; set; }

Property Value

int

Remarks

Indicates the font size used.

Length 3.

9

Methods

GetSeriesName()

public override string GetSeriesName()

Returns

string

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal