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
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
OcVO
Código de Tesouraria associado a esta linha
[AttExternalCollection(typeof(OcVO), new string[] { "[Oc].[olcodigo]", "[Ml].[olcode]" })]
public OcVO OcVO { get; }
Property Value
UserDescription
[AttVirtualField]
[AttHidden]
public bool UserDescription { get; set; }
Property Value
accdefconfigdescription
[AttVirtualField]
[AttHidden]
public string accdefconfigdescription { get; set; }
Property Value
accdefconfigstamp
[AttLenght(25)]
public string accdefconfigstamp { get; set; }
Property Value
connectionstamp
[AttLenght(25)]
public string connectionstamp { get; set; }
Property Value
connectiontable
[AttLenght(25)]
public string connectiontable { get; set; }
Property Value
dostamp
Connects to dostamp that contains this line.
[AttForeignKey(typeof(DoVO))]
[AttLenght(25)]
[AttIndex]
public string dostamp { get; set; }
Property Value
oclabelfield
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public string oclabelfield { get; set; }
Property Value
olcode
[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
public string olcode { 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
reversechargedescription
[AttLenght(30)]
public string reversechargedescription { get; set; }
Property Value
reversechargestamp
[AttLenght(30)]
public string reversechargestamp { get; set; }
Property Value
sourcedocid
Source Document ID
[AttLenght(60)]
public string sourcedocid { get; set; }
Property Value
vatdescription
public string vatdescription { get; set; }
Property Value
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
vatstamp
[AttLenght(30)]
public string vatstamp { get; set; }
Property Value
vattype
[AttHidden]
public DoBiz.VatType vattype { get; set; }
Property Value
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
ParentVO
DoVO ParentVO { get; set; }
Returns
accountdescription
Account Description
[AttLenght(100)]
string accountdescription { get; set; }
Returns
accountid
Account ID (Número da conta)
[AttLenght(30)]
[AttMandatory]
[AttIndex(new string[] { "accountid", "dostamp" }, new string[] { "debitamount", "creditamount" })]
string accountid { get; set; }
Returns
creditamount
Credit Amount
[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal creditamount { get; set; }
Returns
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
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
mlstamp
Single registration field
[AttLenght(25)]
string mlstamp { get; set; }
Returns
order
Indicates the line order in the document.
[AttLenght(10)]
[AttHidden]
decimal order { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }
Returns
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
treestamp
[AttLenght(25)]
string treestamp { get; set; }