Table of Contents

Class MlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

General Ledger Entries (Linhas dos Movimentos contabilísticos)

[AttTable("Ml", 20240101)]
[AttTableOrderBy("[Ml].[order]")]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableMaintenance(typeof(MlMaintenance))]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class MlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent<DoVO>, IParent, IGenericVO
Inheritance
MlVO

Properties

AccDefConfigVO

Configuração de Acréscimo e Diferimentos

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

Property Value

AccDefConfigVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

OcVO

Código de Tesouraria associado a esta linha

[AttExternalCollection(typeof(OcVO), new string[] { "[Oc].[olcodigo]", "[Ml].[olcode]" })]
public OcVO OcVO { get; }

Property Value

OcVO

UserDescription

[AttVirtualField]
[AttHidden]
public bool UserDescription { get; set; }

Property Value

bool

accdefconfigdescription

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

Property Value

string

accdefconfigstamp

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

Property Value

string

connectionstamp

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

Property Value

string

connectiontable

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

Property Value

string

dostamp

Connects to dostamp that contains this line.

[AttForeignKey(typeof(DoVO))]
[AttLenght(25)]
[AttIndex]
public string dostamp { get; set; }

Property Value

string

oclabelfield

From OcVO.LabelField

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

Property Value

string

olcode

[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
public string olcode { 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

reversechargedescription

[AttLenght(30)]
public string reversechargedescription { get; set; }

Property Value

string

reversechargestamp

[AttLenght(30)]
public string reversechargestamp { get; set; }

Property Value

string

sourcedocid

Source Document ID

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

Property Value

string

vatdescription

public string vatdescription { get; set; }

Property Value

string

vatlinecodestamp

Connects to PvStamp that contains this line. Filled when record is created by VAT code (ReverseCharge and VAT)

[AttLenght(25)]
[AttIndex]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(PvVO))]
public string vatlinecodestamp { get; set; }

Property Value

string

vatstamp

[AttLenght(30)]
public string vatstamp { get; set; }

Property Value

string

vattype

[AttHidden]
public DoBiz.VatType vattype { get; set; }

Property Value

DoBiz.VatType

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

DimensionValue

[AttVirtualField]
[AttHidden]
decimal DimensionValue { get; set; }

Returns

decimal

ParentVO

DoVO ParentVO { get; set; }

Returns

DoVO

accountdescription

Account Description

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

Returns

string

accountid

Account ID (Número da conta)

[AttLenght(30)]
[AttMandatory]
[AttIndex(new string[] { "accountid", "dostamp" }, new string[] { "debitamount", "creditamount" })]
string accountid { get; set; }

Returns

string

creditamount

Credit Amount

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

Returns

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)]
decimal debitamount { get; set; }

Returns

decimal

Remarks

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

description

Movement description.

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

Returns

string

mlstamp

Single registration field

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

Returns

string

order

Indicates the line order in the document.

[AttLenght(10)]
[AttHidden]
decimal order { get; set; }

Returns

decimal

previousLineID

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string

systementrydate

System Entry Date (Data e hora do registo do documento contabilístico)

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
DateTime systementrydate { get; set; }

Returns

DateTime

treestamp

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

Returns

string