Table of Contents

Class TreasuryDocumentTemplateLineVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("TreasuryDocumentTemplateLine", 20240603)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.UseDimensions })]
public class TreasuryDocumentTemplateLineVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<TreasuryDocumentTemplateVO>, IParent
Inheritance
TreasuryDocumentTemplateLineVO

Properties

CountryVO

[AttExternalCollection(typeof(CountryVO), new string[] { "paisesstamp", "paisesstamp" })]
public CountryVO CountryVO { get; }

Property Value

CountryVO

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

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

Property Value

OcVO

TreasuryDocumenttypeVO

[AttExternalCollection(typeof(TreasuryDocumentTypeVO))]
public TreasuryDocumentTypeVO TreasuryDocumenttypeVO { get; }

Property Value

TreasuryDocumentTypeVO

UserDescription

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

Property Value

bool

description

Description field

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

Property Value

string

factor

[AttLenght(14, 4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal factor { get; set; }

Property Value

decimal

ocLabelField

From OcVO.LabelField

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

Property Value

string

olcodigo

Treasury Code

[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public string olcodigo { get; set; }

Property Value

string

Remarks

Length 12.

Mandatory field.

pais

País de Origem.

[AttLenght(70)]
public string pais { get; set; }

Property Value

string

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

string

pncont

Iniciais do País de origem.

[AttLenght(2)]
public string pncont { get; set; }

Property Value

string

treasurydocumentmov

From OcVO.LabelField

[AttVirtualField]
[AttHidden]
public TreasuryDocumentMovement treasurydocumentmov { get; set; }

Property Value

TreasuryDocumentMovement

treasurydocumenttemplatestamp

This field is to connect with TreasuryDocumentTemplateVO.

[AttForeignKey(typeof(TreasuryDocumentTemplateVO))]
[AttLenght(25)]
public string treasurydocumenttemplatestamp { get; set; }

Property Value

string

Remarks

Length 25.

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

string

Remarks

Length 25.

treasurydocumenttypetitle

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

Property Value

string

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

TreasuryDocumentTemplateVO ParentVO { get; set; }

Returns

TreasuryDocumentTemplateVO

lordem

Order on Receipt

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

Returns

decimal

Remarks

Length 10.

Not available to the user.

previousLineID

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

Returns

string

treasurydocumenttemplatelinestamp

This field uniquely identifies the record (primary key by default).

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

Returns

string

Remarks

Length 25.

This field uniquely identifies the record (primary key by default).