Table of Contents

Class AvVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Accounting variables

[AttTable("Av", 20220320)]
[AttTableVOInfo(typeof(AvAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy("[Av].[code]")]
[AttTableMaintenance(typeof(AvMaintenance))]
public class AvVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
AvVO

Properties

BlTypeVO

[AttExternalCollection(typeof(BlTypeVO))]
public BlTypeVO BlTypeVO { get; }

Property Value

BlTypeVO

aves

Variable values.

[AttCollection(typeof(AveVO))]
public List<AveVO> aves { get; set; }

Property Value

List<AveVO>

Remarks

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

AveVO

avls

Variable values.

[AttCollection(typeof(AvlVO))]
public List<AvlVO> avls { get; set; }

Property Value

List<AvlVO>

Remarks

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

AvlVO

avstamp

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

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

Property Value

string

bltype

Type of treasury account

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal bltype { get; set; }

Property Value

decimal

bltypename

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

Property Value

string

code

Code / short name

[AttPrimaryKey]
[AttLenght(150)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string code { get; set; }

Property Value

string

defaultDescription

Default value account used for generic customer exception

[AttLenght(250)]
public string defaultDescription { get; set; }

Property Value

string

defaultValue

Default value account used for generic customer exception

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

Property Value

string

descfield

Entitie's value field description.

[AttLenght(150)]
public string descfield { get; set; }

Property Value

string

descfieldlabel

DescField label

[AttVirtualField]
[AttHidden]
public string descfieldlabel { get; set; }

Property Value

string

digits

Number of digits

[AttLenght(2)]
[AttMandatory]
[AttList(Hidden = true)]
[AttMinValue(1)]
[AttMaxValue(25)]
public int digits { get; set; }

Property Value

int

entityname

Entity name.

[AttLenght(250)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string entityname { get; set; }

Property Value

string

entitynamelabel

EntityName label

[AttVirtualField]
[AttHidden]
public string entitynamelabel { get; set; }

Property Value

string

inactive

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

Property Value

bool

name

Name

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

Property Value

string

type

Variable type

[AttLenght(1)]
[AttMandatory]
[AttIndex(false, new string[] { "Type", "Year" })]
public int type { get; set; }

Property Value

int

valuefield

Entitie's value field.

[AttLenght(150)]
public string valuefield { get; set; }

Property Value

string

valuefieldlabel

ValueField label

[AttVirtualField]
[AttHidden]
public string valuefieldlabel { get; set; }

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Explicit Interface Implementations

year

Year

[AttPrimaryKey]
[AttLenght(4)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }

Returns

int