Table of Contents

Class CfApVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Clearance type

[AttTable("CfAp", 20211115)]
[AttTableVOInfo(typeof(CfApAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount, TableFlags.UseDimensions, TableFlags.NotUseHashTag })]
[AttTableProducts(new Products[] { Products.Accounting })]
public class CfApVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
CfApVO

Properties

DcVO

Documents (DC)

[AttExternalCollection(typeof(DcVO), new string[] { "[DC].[docid]", "[CfAp].[documentid]", "[DC].[year]", "[CfAp].[year]" })]
public DcVO DcVO { get; }

Property Value

DcVO

DiVO

Journals

[AttExternalCollection(typeof(DiVO), new string[] { "[Di].[id]", "[CfAp].[journalid]", "[Di].[year]", "[CfAp].[year]" })]
public DiVO DiVO { get; }

Property Value

DiVO

PcyVO

Accounting years

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

Property Value

PcyVO

alloweditandrevoke

Desable from editing and revoke

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

Property Value

bool

cfapls

[AttCollection(typeof(CfApLVO))]
public List<CfApLVO> cfapls { get; set; }

Property Value

List<CfApLVO>

cfapstamp

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

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

Property Value

string

civilperiods

Clearance with civil periods (quarter and semester)

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

Property Value

bool

closedate

Disable from editing and revoke

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

Property Value

bool

controlsequence

Clearance with controlled sequence

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

Property Value

bool

dcstamp

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

Property Value

string

depcfapname

Dependent clearance Name

[AttLenght(60)]
public string depcfapname { get; set; }

Property Value

string

depcfapstamp

Dependent clearance stamp

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

Property Value

string

distamp

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

Property Value

string

documentdescription

Description of the document type (DC)

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

Property Value

string

documentid

Id of the accounting document (DC)

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

Property Value

decimal

inactive

Inactive

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

Property Value

bool

journaldescription

Description of the journal (DI)

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

Property Value

string

journalid

Journal code (DI).

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

Property Value

decimal

movdescription

Description of the movement

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

Property Value

string

name

Name

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

Property Value

string

periodicity

Clearance type

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

Property Value

periodicityEnum

periodicitydescription

Description of clearance type

[AttLocale(typeof(CfApAttInfo), new string[] { "periodicity" })]
public string periodicitydescription { get; set; }

Property Value

string

saveasdraft

If the movement should be created as draft.

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

Property Value

bool

type

Clearance type

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

Property Value

TypeOfClearanceEnum

typedescription

Description of clearance type

[AttLocale(typeof(CfApAttInfo), new string[] { "type" })]
[AttList]
public string typedescription { get; set; }

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Accounting Year

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

Returns

int