Table of Contents

Class GtdVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Journal mapping grid (Grelha de transição diários)

[AttTable("Gtd", 20240401)]
[AttTableOrderBy("[Gtd].[newjournalid],[Gtd].[newdocumentid],[Gtd].[oldjournalid]")]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable })]
public class GtdVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<MapYVO>, IParent
Inheritance
GtdVO

Properties

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

OcCreditVO

Código de Tesouraria para crédito associado a esta linha

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

Property Value

OcVO

OcDebitVO

Código de Tesouraria para débito associado a esta linha

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

Property Value

OcVO

gtdstamp

Single registration field

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

Property Value

string

mapystamp

Connects to mapystamp that contains this line.

[AttForeignKey(typeof(MapYVO))]
[AttLenght(25)]
public string mapystamp { get; set; }

Property Value

string

newdocumentdesc

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

Property Value

string

newdocumentid

New doc ID (DC)

[AttLenght(6)]
public decimal newdocumentid { get; set; }

Property Value

decimal

newjournaldesc

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

Property Value

string

newjournalid

New journal ID

[AttLenght(6)]
public decimal newjournalid { get; set; }

Property Value

decimal

newjournalsubtype

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

Property Value

string

obs

Comments

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

oclabelfieldcredit

From OcCreditVO.LabelField

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

Property Value

string

oclabelfielddebit

From OcDebitVO.LabelField

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

Property Value

string

olcodecredit

[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
public string olcodecredit { get; set; }

Property Value

string

olcodedebit

[AttLenght(12)]
[AttEntityAvailable(typeof(BlVO))]
public string olcodedebit { get; set; }

Property Value

string

oldjournaldesc

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

Property Value

string

oldjournalid

Previous journal ID (Número do diário do ano anterior)

[AttLenght(6)]
[AttMandatory]
public decimal oldjournalid { get; set; }

Property Value

decimal

oldjournalsubtype

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

Property Value

string

year

Year

[AttLenght(4)]
public int year { get; set; }

Property Value

int

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

MapYVO ParentVO { get; set; }

Returns

MapYVO