Table of Contents

Class EmailTemplateVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Holiday

[AttTable("EmailTemplate", 20210212, "entidade")]
[AttTableOrderBy("name")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.HasRecordsByEntity })]
[AttTableGama(Gamas.Corporate)]
public class EmailTemplateVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EmailTemplateVO

Properties

Cm1VO

[AttExternalCollection(typeof(Cm1VO), new string[] { "[Cm1].[cm]", "[Tabax].[docid]" })]
public Cm1VO Cm1VO { get; }

Property Value

Cm1VO

PcyVO

[AttExternalCollection(typeof(PcyVO), new string[] { "[PCY].[year]", "[EmailTemplate].[docid]" })]
public PcyVO PcyVO { get; }

Property Value

PcyVO

TdVO

[AttExternalCollection(typeof(TdVO), new string[] { "[Td].[ndoc]", "[Tabax].[docid]" })]
public TdVO TdVO { get; }

Property Value

TdVO

TsVO

[AttExternalCollection(typeof(TsVO), new string[] { "[Ts].[ndos]", "[Tabax].[docid]" })]
public TsVO TsVO { get; }

Property Value

TsVO

TsrdVO

[AttExternalCollection(typeof(TsrdVO), new string[] { "[Tsrd].[ndoc]", "[Tabax].[docid]" })]
public TsrdVO TsrdVO { get; }

Property Value

TsrdVO

TsreVO

[AttExternalCollection(typeof(TsreVO), new string[] { "[Tsre].[ndoc]", "[Tabax].[docid]" })]
public TsreVO TsreVO { get; }

Property Value

TsreVO

assunto

Assunto of the EmailTemplate

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

Property Value

string

bcc

CC of the EmailTemplate

[AttLenght(255)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string bcc { get; set; }

Property Value

string

cc

CC of the EmailTemplate

[AttLenght(255)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string cc { get; set; }

Property Value

string

conteudo

Conteudo of the EmailTemplate

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

Property Value

string

design

Design of the EmailTemplate

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

Property Value

string

docid

Document Number

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int docid { get; set; }

Property Value

int

Remarks

Identifies the document number.

Length 6.

docname

[AttVirtualField]
public string docname { get; set; }

Property Value

string

emailOptions

[AttCollection(typeof(EmailOptionsVO))]
public List<EmailOptionsVO> emailOptions { get; set; }

Property Value

List<EmailOptionsVO>

emailtemplatestamp

Listing Stamp.

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

Property Value

string

Remarks

This field is primary key.

Length 25.

entidade

NEntity name

[AttLenght(60)]
[AttMandatory]
[AttIndex]
public string entidade { get; set; }

Property Value

string

Remarks

Searchable field.

Field available in the basic search results list.

Mandatory field.

Length 60.

CL

entityName

[AttLocale(typeof(EmailTemplateAttInfo), new string[] { "[EmailTemplate].[entidade]" })]
[AttList]
[AttVirtualField]
public string entityName { get; set; }

Property Value

string

hasSqlTable

public bool hasSqlTable { get; set; }

Property Value

bool

inactivo

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactivo { get; set; }

Property Value

bool

isreadonly

If the EmailTemplate is "ReadOnly" (i.e. was created by PHC)

[AttPhcOwner(new string[] { "inactivo" })]
[AttList(Inactive = true)]
public bool isreadonly { get; set; }

Property Value

bool

Remarks

This field is for PHC internal use only.

name

Name of the EmailTemplate

[AttLenght(50)]
[AttMandatory]
[AttList]
public string name { get; set; }

Property Value

string

para

Para of the EmailTemplate

[AttLenght(255)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string para { get; set; }

Property Value

string

sqlColumns

public string sqlColumns { get; set; }

Property Value

string

sqlExpr

SQL expression

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

Property Value

string

sqlTitles

public string sqlTitles { get; set; }

Property Value

string

sqlTypes

public string sqlTypes { get; set; }

Property Value

string