Table of Contents

Class CfIntVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Integration configuration

[AttTable("CFINT", 20220211)]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy("[CFINT].[id], [CFINT].[year]")]
[AttTableVOInfo(typeof(CfIntAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
public class CfIntVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
CfIntVO

Properties

DcVO

Documents (DC)

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

Property Value

DcVO

DiVO

Journals

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

Property Value

DiVO

cfintstamp

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

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

Property Value

string

code

Unique code in each year

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

Property Value

string

dcstamp

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

Property Value

string

description

Description.

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

Property Value

string

distamp

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

Property Value

string

docdescription

Description of the document type (DC)

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

Property Value

string

id

Code.

[AttLenght(6)]
[AttPrimaryKey]
[AttMandatory]
public decimal id { get; set; }

Property Value

decimal

inactive

Inactive

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

Property Value

bool

integrationentity

Integration entity

[AttLenght(50)]
[AttMandatory]
public string integrationentity { get; set; }

Property Value

string

integrationentitydesc

[AttVirtualField]
[AttLocale(typeof(CfIntAttInfo), new string[] { "[CFINT].[integrationentity]" })]
[AttList]
public string integrationentitydesc { get; set; }

Property Value

string

intls

[AttCollection(typeof(IntlVO))]
public List<IntlVO> intls { get; set; }

Property Value

List<IntlVO>

Remarks

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

IntlVO

isdefault

Identifies if this configuration is the one used by default.

[AttList]
[AttLogInfo(1)]
public bool isdefault { get; set; }

Property Value

bool

journaldescription

Description of the journal (DI)

[AttLenght(200)]
[AttMandatory]
public string journaldescription { get; set; }

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

docid

Document type code (DC).

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

Returns

decimal

journalid

Journal code (DI).

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttMandatory]
decimal journalid { get; set; }

Returns

decimal

saveasdraft

If the movement should be created as draft.

bool saveasdraft { get; set; }

Returns

bool

year

Year.

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

Returns

int