Table of Contents

Class TabaxVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entity that represents tables that have attachments.

[AttTable("Tabax", 20220202)]
[AttTableProducts(new Products[] { Products.Documents })]
[AttTableVOInfo(typeof(TabaxAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge, TableFlags.AddOnNotCustomizable, TableFlags.NotUseHashTag })]
public class TabaxVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
TabaxVO

Remarks

Allows you to define which entities may use attachments.

Properties

BPMProcessVO

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

Property Value

BPMProcessVO

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

PcyVO

[AttExternalCollection(typeof(PcyVO), new string[] { "[PCY].[year]", "[Tabax].[docid]" })]
public PcyVO PcyVO { get; }

Property Value

PcyVO

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

docid

Document category number.

[AttPrimaryKey]
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal docid { get; set; }

Property Value

decimal

Remarks

Contains the number that identifies the type of document.

Length 4 .

docname

Link field to the Files table.

[AttLenght(40)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string docname { get; set; }

Property Value

string

Remarks

Field wiring to the Categories table, identifies the Category default for a given entity.

Length 25 .

gruaxname

Link field to the Categories table.

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(GruaxVO), HiddenField = false)]
[AttLenght(25)]
[AttList]
public string gruaxname { get; set; }

Property Value

string

Remarks

Field wiring to the Categories table, identifies the Category default for a given entity.

Length 25 .

gruaxstamp

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

Property Value

string

grupo

Nome da Categoria por defeito.

[AttVirtualField]
public string grupo { get; }

Property Value

string

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.

isSeriesAvailable

[AttVirtualField]
[AttHidden]
public bool isSeriesAvailable { get; set; }

Property Value

bool

nmdoc

Nome do documento.

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

Property Value

string

Remarks

Contém o nome nome do documento da tabela para a qual está associado, esta ligação é feita através do campo tabcod e docid.

Virtual field.

Faturas

storageplace

Attachment type.

[AttLenght(1)]
[AttProducts(new Products[] { Products.Documents })]
[AttFieldType(AttFieldType.InputTypes.integer)]
public StoragePlace storageplace { get; set; }

Property Value

StoragePlace

storageplacename

Name of attachment type.

[AttLenght(50)]
[AttLocale(typeof(TabaxAttInfo), new string[] { "[Tabax].[storageplace]" })]
[AttProducts(new Products[] { Products.Documents })]
public string storageplacename { get; set; }

Property Value

string

tabaxstamp

Single registration field, used to link others to this entity.

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

Property Value

string

Remarks

This field uniquely identifies the record (primary key by default).

Length 25.

tabcod

Indicates the entity's code corresponds to the table name.

[AttPrimaryKey]
[AttLenght(80)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string tabcod { get; set; }

Property Value

string

Remarks

Length 80.

CL, FT, BO, etc... .

tabnm

Nome da tabela.

[AttVirtualField]
[AttLocale(typeof(TabaxAttInfo), new string[] { "[Tabax].[tabcod]" })]
[AttList]
public string tabnm { get; set; }

Property Value

string

Remarks

Contém o nome traduzido da tabela para a qual estamos a definir que tem acesso a anexar, esta ligação é feita através do campo tabcod.

Virtual field.

Fornecedores