Class ExpensesLineVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("ExpensesLine", 20250115)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.UseDimensions })]
public class ExpensesLineVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<ExpensesVO>, IParent
- Inheritance
-
ExpensesLineVO
Properties
CountryVO
[AttExternalCollection(typeof(CountryVO), new string[] { "paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { 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
ModalidadVO
[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[ExpensesLine].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }
Property Value
TaxaIVAVO
[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[ExpensesLine].[tabvat]" })]
public TaxasIVAVO TaxaIVAVO { get; }
Property Value
baseAccountValue
[AttVirtualField]
[AttHidden]
[AttProducts(new Products[] { Products.Accounting })]
public int baseAccountValue { get; set; }
Property Value
deductibleType
[AttVirtualField]
[AttHidden]
[AttProducts(new Products[] { Products.Accounting })]
public int deductibleType { get; set; }
Property Value
description
Description field
[AttLenght(60)]
[AttList]
public string description { get; set; }
Property Value
document
Document Field
[AttLenght(25)]
public string document { get; set; }
Property Value
Remarks
Length 25.
expensesTypeVO
[AttExternalCollection(typeof(ExpensesTypeVO))]
public ExpensesTypeVO expensesTypeVO { get; }
Property Value
expensesstamp
This field is to connect with ExpensesVO.
[AttForeignKey(typeof(ExpensesVO))]
[AttLenght(25)]
public string expensesstamp { get; set; }
Property Value
Remarks
Length 25.
expensestypestamp
This field is to connect with ExpensesTypeVO.
[AttLenght(25)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string expensestypestamp { get; set; }
Property Value
Remarks
Length 25.
expensestypetitle
Title From ExpensesTypeVO
[AttLenght(100)]
public string expensestypetitle { get; set; }
Property Value
isTaxForeignRegion
If the tax is from pt
[AttVirtualField]
[AttHidden]
public bool isTaxForeignRegion { get; set; }
Property Value
market
[AttVirtualField]
[AttLenght(1)]
public int market { get; }
Property Value
marketwithregion
[AttVirtualField]
[AttLenght(1)]
public int marketwithregion { get; }
Property Value
modalidaddescription
[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }
Property Value
modalidadstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
[AttMandatory(new languages[] { languages.es_ES })]
public string modalidadstamp { get; set; }
Property Value
ncont
Número de Contribuinte.
[AttLenght(20)]
public string ncont { get; set; }
Property Value
Remarks
Length 20.
nome
[AttLenght(100)]
public string nome { get; set; }
Property Value
oristamp
key to document of origin
[AttLenght(25)]
[AttIndex(new string[] { "oritable", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }
Property Value
oritable
[AttLenght(25)]
public string oritable { get; set; }
Property Value
pais
País de Origem.
[AttLenght(70)]
[AttProducts(new Products[] { Products.Accounting })]
public string pais { get; set; }
Property Value
paisesstamp
Campo de ligação à entidade de países ().
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(CountryVO), HiddenField = false)]
[AttLenght(25)]
[AttProducts(new Products[] { Products.Accounting })]
public string paisesstamp { get; set; }
Property Value
pncont
Iniciais do País de origem.
[AttLenght(2)]
[AttProducts(new Products[] { Products.Accounting })]
public string pncont { get; set; }
Property Value
supplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }
Property Value
tabvat
VAT table.
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int tabvat { get; set; }
Property Value
Remarks
Length 3.
txIvaLabelField
From iva taxes
[AttVirtualField]
[AttHidden]
public string txIvaLabelField { get; set; }
Property Value
value
Value in Euros.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal value { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
valuecoin
Value in another coin.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal valuecoin { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
vatdeductible
VAT value dedctuble.
[AttLenght(5, 2)]
[AttMaxValue(100)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal vatdeductible { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.
vatpurchaseoperation
[AttVirtualField]
[AttLenght(1)]
public int vatpurchaseoperation { get; }
Property Value
vatrec
Recargo VAT
[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal vatrec { get; set; }
Property Value
vattype
[AttVirtualField]
[AttLenght(1)]
public int vattype { get; }
Property Value
vdate
Value Date field
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
public DateTime vdate { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |
Explicit Interface Implementations
ParentVO
ExpensesVO ParentVO { get; set; }
Returns
expenseslinestamp
This field uniquely identifies the record (primary key by default).
[AttLenght(25)]
string expenseslinestamp { get; set; }
Returns
Remarks
Length 25.
This field uniquely identifies the record (primary key by default).
lordem
Order on Receipt
[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }
Returns
Remarks
Length 10.
Not available to the user.
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }