Table of Contents

Class AccDefConfigVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Accurrals and Deferrals Configuration

[AttTable("AccDefConfig", 20230511)]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableGama(Gamas.Advanced)]
[AttTableOrderBy("[AccDefConfig].[year]")]
[AttTableVOInfo(typeof(AccDefConfigAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
public class AccDefConfigVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
AccDefConfigVO

Properties

CfIntVO

[AttExternalCollection(typeof(CfIntVO), new string[] { "[CFINT].[code]", "[AccDefConfig].[cfintcode]" })]
public CfIntVO CfIntVO { get; }

Property Value

CfIntVO

accdefconfigstamp

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

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

Property Value

string

accdefpcs

[AttCollection(typeof(AccDefPcVO))]
public List<AccDefPcVO> accdefpcs { get; set; }

Property Value

List<AccDefPcVO>

Remarks

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

AccDefPcVO

autocreatespec

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

Property Value

bool

cfintcode

Accounting integration config code

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

Property Value

string

cfintdescription

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

Property Value

string

description

Description.

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

Property Value

string

inactive

Inactive

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

Property Value

bool

isdefault

Identifies if this configuration is the one used by default.

public bool isdefault { get; set; }

Property Value

bool

periods

Periods to split.

[AttMandatory]
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(1)]
[AttMaxValue(9999)]
[AttList]
public int periods { get; set; }

Property Value

int

supplytypedescription

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

Property Value

string

supplytypestamp

Connects to SupplyTypeStamp that contains this line.

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(SupplyTypeVO), HiddenField = false)]
public string supplytypestamp { get; set; }

Property Value

string

type

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

Property Value

AccDefType

typedescription

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

Property Value

string

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

PcLoaded()

public bool PcLoaded()

Returns

bool

Explicit Interface Implementations

year

Year.

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

Returns

int