Table of Contents

Class DiVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Journals

[AttTable("Di", 20210909)]
[AttTableVOInfo(typeof(DiAttInfo))]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy("[Di].[description], [Di].[id]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag })]
public class DiVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
DiVO

Properties

description

Description of the journal

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

Property Value

string

distamp

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

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

Property Value

string

id

Journal code.

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

Property Value

decimal

inactive

Inactive.

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

Property Value

bool

subtype

Journal type (affects period of the GeneralLedgerEntries and SAFT type)

[AttMandatory]
[AttLenght(2)]
public DiBiz.JournalSubType subtype { get; set; }

Property Value

DiBiz.JournalSubType

subtypelabel

Field with the description of the Journal Type.

[AttLocale(typeof(DiAttInfo), new string[] { "[Di].[subtype]" })]
public string subtypelabel { get; set; }

Property Value

string

transactiontype

SAF-T transaction type

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

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Year of Document.

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

Returns

int