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
DoVO
[AttExternalCollection(typeof(DoVO), new string[] { "[Do].[docarchivalnumber]", "[AccDef].[docarchivalnumberorigin]", "[Do].[year]", "[AccDef].[year]" })]
public DoVO DoVO { get; }
Property Value
PcVO
[AttExternalCollection(typeof(PcVO), new string[] { "[Pc].[accountID]", "[AccDef].[accountid]", "[Pc].[year]", "[AccDef].[year]" })]
public PcVO PcVO { get; }
Property Value
accdefconfigdescription
[AttVirtualField]
[AttHidden]
public string accdefconfigdescription { get; set; }
Property Value
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
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
accdefstate
Estado Done, Revoked, Draft
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public AccDefState accdefstate { get; set; }
Property Value
accdefstatename
[AttLenght(50)]
[AttLocale(typeof(AccDefAttInfo), new string[] { "[AccDef].[accdefstate]" })]
public string accdefstatename { get; set; }
Property Value
accountdescription
Account Description
[AttLenght(100)]
public string accountdescription { get; set; }
Property Value
accountid
Account ID
[AttLenght(30)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string accountid { get; set; }
Property Value
creditamount
Credit Amount
[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal creditamount { get; set; }
Property Value
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
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
docarchivalnumberorigin
GeneralLedgerEntries Origin
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string docarchivalnumberorigin { get; set; }
Property Value
done
[AttVirtualField]
public bool done { get; set; }
Property Value
dostamporigin
[AttVirtualField]
[AttHidden]
public string dostamporigin { get; set; }
Property Value
enddate
End date.
[AttList]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime enddate { get; set; }
Property Value
hasintegrations
[AttVirtualField]
public bool hasintegrations { get; set; }
Property Value
market
Market.
[AttLenght(1)]
public int market { get; set; }
Property Value
marketdescription
[AttVirtualField]
public string marketdescription { get; set; }
Property Value
mlstamp
ML origin
[AttLenght(25)]
public string mlstamp { get; set; }
Property Value
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
specializations
Deferrals Collections
[AttCollection(typeof(SpecializationVO))]
public List<SpecializationVO> specializations { get; set; }
Property Value
startdate
Start date.
[AttList]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime startdate { get; set; }
Property Value
type
[AttLenght(2)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public AccDefType type { get; set; }
Property Value
typedescription
[AttLocale(typeof(AccDefAttInfo), new string[] { "type" })]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public string typedescription { get; set; }
Property Value
value
[AttVirtualField]
public decimal value { get; set; }
Property Value
Methods
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
Explicit Interface Implementations
year
Year
[AttLenght(4)]
[AttMandatory]
[AttLogInfo(2)]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }