Class TreasuryDocumentLineVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("TreasuryDocumentLine", 20240603)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.UseDimensions })]
public class TreasuryDocumentLineVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<TreasuryDocumentVO>, IParent
- Inheritance
-
TreasuryDocumentLineVO
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
OcVO
[AttExternalCollection(typeof(OcVO), new string[] { "[Oc].[olcodigo]", "[TreasuryDocumentLine].[olcodigo]" })]
public OcVO OcVO { get; }
Property Value
OlVO
The treasury movement created in OL
[AttExternalCollection(typeof(OlVO))]
public OlVO OlVO { get; }
Property Value
TreasuryDocumentTypeVO
[AttExternalCollection(typeof(TreasuryDocumentTypeVO))]
public TreasuryDocumentTypeVO TreasuryDocumentTypeVO { get; }
Property Value
TreasuryDocumenttypetitle
Title From TreasuryDocumentTypeVO
[AttLenght(100)]
public string TreasuryDocumenttypetitle { get; set; }
Property Value
UserDescription
[AttVirtualField]
[AttHidden]
public bool UserDescription { get; set; }
Property Value
description
Description field
[AttLenght(60)]
[AttList]
[AttMandatory]
public string description { get; set; }
Property Value
market
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
public int market { get; }
Property Value
ocLabelField
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public string ocLabelField { get; set; }
Property Value
pais
País de Origem.
[AttLenght(70)]
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)]
public string paisesstamp { get; set; }
Property Value
pncont
Iniciais do País de origem.
[AttLenght(2)]
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
treasurydocumentmov
From OcVO.LabelField
[AttVirtualField]
[AttHidden]
public TreasuryDocumentMovement treasurydocumentmov { get; set; }
Property Value
treasurydocumentstamp
This field is to connect with TreasuryDocumentVO.
[AttForeignKey(typeof(TreasuryDocumentVO))]
[AttLenght(25)]
public string treasurydocumentstamp { get; set; }
Property Value
treasurydocumenttypestamp
This field is to connect with TreasuryDocumentTypeVO.
[AttLenght(25)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string treasurydocumenttypestamp { 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
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
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
TreasuryDocumentVO ParentVO { get; set; }
Returns
lordem
Order on Receipt
[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }
Returns
olcodigo
Treasury Code
[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
string olcodigo { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }
Returns
treasurydocumentlinestamp
This field uniquely identifies the record (primary key by default).
[AttLenght(25)]
string treasurydocumentlinestamp { get; set; }