Table of Contents

Class AccDefVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Accruals and Deferrals

[AttTable("AccDef", 20230509)]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableOrderBy("[AccDef].[year]")]
[AttTableVOInfo(typeof(AccDefAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseDimensions, TableFlags.MandatorySaveLog, TableFlags.AddOnNotDeployable, TableFlags.NotUseHashTag })]
public class AccDefVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
AccDefVO

Properties

AccDefConfigVO

[AttExternalCollection(typeof(AccDefConfigVO), new string[] { "[AccDefConfig].[accdefconfigstamp]", "[AccDef].[accdefconfigstamp]" })]
public AccDefConfigVO AccDefConfigVO { get; }

Property Value

AccDefConfigVO

DoVO

[AttExternalCollection(typeof(DoVO), new string[] { "[Do].[docarchivalnumber]", "[AccDef].[docarchivalnumberorigin]", "[Do].[year]", "[AccDef].[year]" })]
public DoVO DoVO { get; }

Property Value

DoVO

PcVO

[AttExternalCollection(typeof(PcVO), new string[] { "[Pc].[accountID]", "[AccDef].[accountid]", "[Pc].[year]", "[AccDef].[year]" })]
public PcVO PcVO { get; }

Property Value

PcVO

accdefconfigdescription

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

Property Value

string

accdefconfigstamp

Configuração de Acrescimo e Diferimento

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

Property Value

string

accdefstamp

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

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string accdefstamp { get; set; }

Property Value

string

accdefstate

Estado Done, Revoked, Draft

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public AccDefState accdefstate { get; set; }

Property Value

AccDefState

accdefstatename

[AttLenght(50)]
[AttLocale(typeof(AccDefAttInfo), new string[] { "[AccDef].[accdefstate]" })]
public string accdefstatename { get; set; }

Property Value

string

accountdescription

Account Description

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

Property Value

string

accountid

Account ID

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

Property Value

string

creditamount

Credit Amount

[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal creditamount { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

debitamount

Debit Amount

[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal debitamount { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

description

Description.

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

Property Value

string

docarchivalnumberorigin

GeneralLedgerEntries Origin

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string docarchivalnumberorigin { get; set; }

Property Value

string

done

[AttVirtualField]
public bool done { get; set; }

Property Value

bool

dostamporigin

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

Property Value

string

enddate

End date.

[AttList]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime enddate { get; set; }

Property Value

DateTime

hasintegrations

[AttVirtualField]
public bool hasintegrations { get; set; }

Property Value

bool

market

Market.

[AttLenght(1)]
public int market { get; set; }

Property Value

int

marketdescription

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

Property Value

string

mlstamp

ML origin

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

Property Value

string

pcstamp

Connects to pcstamp that contains this line.

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

Property Value

string

specializations

Deferrals Collections

[AttCollection(typeof(SpecializationVO))]
public List<SpecializationVO> specializations { get; set; }

Property Value

List<SpecializationVO>

startdate

Start date.

[AttList]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime startdate { get; set; }

Property Value

DateTime

type

[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public AccDefType type { get; set; }

Property Value

AccDefType

typedescription

[AttLocale(typeof(AccDefAttInfo), new string[] { "type" })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public string typedescription { get; set; }

Property Value

string

value

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

Property Value

decimal

Methods

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

year

Year

[AttLenght(4)]
[AttMandatory]
[AttLogInfo(2)]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }

Returns

int