Table of Contents

Class DcVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Document type

[AttTable("DC", 20210911)]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableVOInfo(typeof(DcAttInfo))]
[AttTableOrderBy("[DC].[docname], [DC].[docid]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag })]
public class DcVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
DcVO

Properties

dcstamp

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

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

Property Value

string

docid

[AttPrimaryKey]
[AttLenght(6)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal docid { get; set; }

Property Value

decimal

docname

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

Property Value

string

inactive

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

Property Value

bool

shortname

[AttLenght(15)]
[AttList(Hidden = true)]
public string shortname { get; set; }

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Year of Document.

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

Returns

int