Table of Contents

Class ClrVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Clr", 20220204)]
[AttTableVOInfo(typeof(ClrAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.AddOnNotCustomizable })]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy(new string[] { "[Clr].[usrdata]", "[Clr].[description]", "[Clr].[initdate]", "[Clr].[Year]" }, COrderType = "D")]
public class ClrVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
ClrVO

Properties

cfapdescription

[AttLenght(60)]
[AttMandatory]
[AttList]
public string cfapdescription { get; set; }

Property Value

string

cfapstamp

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

Property Value

string

clrds

[AttCollection(typeof(ClrdVO))]
public List<ClrdVO> clrds { get; set; }

Property Value

List<ClrdVO>

clrps

[AttCollection(typeof(ClrpVO))]
public List<ClrpVO> clrps { get; set; }

Property Value

List<ClrpVO>

clrstamp

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

Property Value

string

creditammount

[AttVirtualField]
public decimal creditammount { get; set; }

Property Value

decimal

debitammount

[AttVirtualField]
public decimal debitammount { get; set; }

Property Value

decimal

description

Description of the document

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

Property Value

string

dodescription

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

Property Value

string

dostamp

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

Property Value

string

enddate

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public DateTime enddate { get; set; }

Property Value

DateTime

entrydate

[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public DateTime entrydate { get; set; }

Property Value

DateTime

initdate

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public DateTime initdate { get; set; }

Property Value

DateTime

isdone

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

Property Value

bool

isrevoked

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

Property Value

bool

journaldescription

Description of the journal (DI)

[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string journaldescription { get; set; }

Property Value

string

journalid

Journal code (DI).

[AttForeignKey(CanDuplicate = true, ForeignType = typeof(DiVO), HiddenField = false)]
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public decimal journalid { get; set; }

Property Value

decimal

movdescription

[AttLenght(100)]
public string movdescription { get; set; }

Property Value

string

periodicity

[AttLenght(5)]
[AttMandatory]
public periodicityEnum periodicity { get; set; }

Property Value

periodicityEnum

periodicityvalue

[AttLenght(5)]
[AttMandatory]
public int periodicityvalue { get; set; }

Property Value

int

type

[AttLenght(2)]
[AttMandatory]
public TypeOfClearanceEnum type { get; set; }

Property Value

TypeOfClearanceEnum

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Accounting Year

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

Returns

int