Table of Contents

Class TicketVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Ticket", 20241206)]
[AttTableVOInfo(typeof(TicketAttInfo))]
[AttTableOrderBy("OUSRDATA, OUSRHORA", "D, D")]
[AttTableProducts(new Products[] { Products.Service })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseDimensions })]
[AttTableMaintenance(typeof(TicketMaintenance))]
public class TicketVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
TicketVO

Properties

AgentVO

[AttExternalCollection(typeof(AgentVO), new string[] { "[Ticket].[agentstamp]", "[Agent].[agentstamp]" })]
public AgentVO AgentVO { get; }

Property Value

AgentVO

ClContactVO

[AttExternalCollection(typeof(ClContactVO), new string[] { "[ClContact].[clContactStamp]", "[Ticket].[clContactStamp]" })]
public ClContactVO ClContactVO { get; }

Property Value

ClContactVO

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "[Cl].[no]", "[Ticket].[clNo]", "[Cl].[estab]", "[Ticket].[estab]" })]
public ClVO ClVO { get; }

Property Value

ClVO

ContractServiceVO

[AttExternalCollection(typeof(ContractServiceVO), new string[] { "[Ticket].[contractServiceStamp]", "[ContractService].[contractServiceStamp]" })]
public ContractServiceVO ContractServiceVO { get; }

Property Value

ContractServiceVO

EmailArchitectVO

[AttExternalCollection(typeof(EmailArchitectVO), new string[] { "[Ticket].[emailarchitectstamp]", "[EmailArchitect].[emailarchitectstamp]" })]
public EmailArchitectVO EmailArchitectVO { get; }

Property Value

EmailArchitectVO

LastDialogVO

[AttExternalCollection(typeof(DialogVO), new string[] { "[Ticket].[ticketstatestamp]", "[Dialog].[ticketstatestamp]" })]
public DialogVO LastDialogVO { get; }

Property Value

DialogVO

MaVO

[AttExternalCollection(typeof(MaVO), new string[] { "[Ticket].[mastamp]", "[ma].[mastamp]" })]
public MaVO MaVO { get; }

Property Value

MaVO

OrganizationVO

[AttExternalCollection(typeof(OrganizationVO), new string[] { "[Ticket].[organizationstamp]", "[Organization].[organizationstamp]" })]
public OrganizationVO OrganizationVO { get; }

Property Value

OrganizationVO

PersonVO

[AttExternalCollection(typeof(PersonVO), new string[] { "[Ticket].[personstamp]", "[person].[personStamp]" })]
public PersonVO PersonVO { get; }

Property Value

PersonVO

TicketStateVO

[AttExternalCollection(typeof(TicketStateVO), new string[] { "[Ticket].[ticketstatestamp]", "[TicketState].[ticketstatestamp]" })]
public TicketStateVO TicketStateVO { get; }

Property Value

TicketStateVO

agentDate

Agent Assign Date

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime agentDate { get; set; }

Property Value

DateTime

agentHour

Agent Assign Time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string agentHour { get; set; }

Property Value

string

agentName

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

Property Value

string

agentstamp

This is the field to connect with agent table

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(AgentVO), HiddenField = false)]
public string agentstamp { get; set; }

Property Value

string

cemail

cemail.

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

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

clContactStamp

Single registration field, used to link to ClContactVO.

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

Property Value

string

Remarks

Length 25.

clName

Name of Client

[AttVirtualField(typeof(TicketAttInfo))]
[AttList]
public string clName { get; set; }

Property Value

string

clNo

Customer Number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal clNo { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

closeDate

Close Date

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime closeDate { get; set; }

Property Value

DateTime

closeHour

Close Time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string closeHour { get; set; }

Property Value

string

clstamp

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(ClVO), HiddenField = false)]
public string clstamp { get; set; }

Property Value

string

cnome

cnome.

[AttVirtualField(typeof(TicketAttInfo))]
public string cnome { get; set; }

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

contractServNumber

[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string contractServNumber { get; set; }

Property Value

string

contractServiceStamp

This is the field to connect with contract service table

[AttLenght(25)]
[AttForeignKey(CanDuplicate = false, ForeignType = typeof(ContractServiceVO), HiddenField = false)]
public string contractServiceStamp { get; set; }

Property Value

string

emailarchitectdesc

[AttVirtualField(typeof(TicketAttInfo))]
public string emailarchitectdesc { get; set; }

Property Value

string

emailarchitectstamp

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

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(EmailArchitectVO), HiddenField = false)]
[AttMandatory]
public string emailarchitectstamp { get; set; }

Property Value

string

estab

Number that identifies the customer Branch.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public int estab { get; set; }

Property Value

int

Remarks

Length 6.

From what range of software this field is available: Max.

ignoreautostate

Ignora automatic states

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

Property Value

bool

lastDialogDate

Last Dialog Date

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime lastDialogDate { get; set; }

Property Value

DateTime

lastDialogHour

Ticket Time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string lastDialogHour { get; set; }

Property Value

string

listDialogs

[AttExternalCollection(typeof(DialogVO), new string[] { "[Ticket].[ticketstamp]", "[Dialog].[ticketstamp]" })]
public List<DialogVO> listDialogs { get; }

Property Value

List<DialogVO>

listInterventions

[AttExternalCollection(typeof(InterventionVO), new string[] { "[Ticket].[ticketstamp]", "[Intervention].[ticketStamp]" })]
public List<InterventionVO> listInterventions { get; }

Property Value

List<InterventionVO>

maBrand

[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string maBrand { get; set; }

Property Value

string

maModel

[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string maModel { get; set; }

Property Value

string

madein

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string madein { get; set; }

Property Value

string

mastamp

Single registration field, used to link to MAVO.

[AttLenght(25)]
[AttEntityAvailable(typeof(MaVO))]
public string mastamp { get; set; }

Property Value

string

Remarks

Length 25.

message

Message

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

Property Value

string

newEmail

New email for person or clcontact

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.email)]
public string newEmail { get; set; }

Property Value

string

newName

New name for person or clcontact

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

Property Value

string

number

Ticket Number.

[AttLenght(10)]
[AttPrimaryKey]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
[AttList]
public decimal number { get; set; }

Property Value

decimal

Remarks

Length 10.

Field available in the basic search results list.

Searchable field.

This field is primary key.

Auto incremented Field in the backend.

organizationName

Organization name.

[AttVirtualField(typeof(TicketAttInfo))]
[AttList]
public string organizationName { get; set; }

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

organizationNo

Organization Number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal organizationNo { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

organizationstamp

Organization Stamp.

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(OrganizationVO), HiddenField = false)]
public string organizationstamp { get; set; }

Property Value

string

personName

[AttVirtualField(typeof(TicketAttInfo))]
public string personName { get; set; }

Property Value

string

personstamp

This is the field to connect with person table

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(PersonVO), HiddenField = false)]
public string personstamp { get; set; }

Property Value

string

refInt

ReferĂȘncia interna

Contains the value of the user's internal reference that created the record.

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
public string refInt { get; set; }

Property Value

string

Remarks

Length 50 .

serialnumber

serialnumber.

[AttVirtualField(typeof(TicketAttInfo))]
public string serialnumber { get; set; }

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

snstamp

Single registration field, used to link to SNVO.

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

Property Value

string

Remarks

Length 25.

summary

[AttLenght(100)]
[AttList]
[AttLogInfo(0)]
[AttMandatory]
public string summary { get; set; }

Property Value

string

ticketHour

Ticket Time

[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string ticketHour { get; set; }

Property Value

string

ticketorigin

Origin of ticket

[AttLenght(50)]
[AttList(Inactive = true)]
public string ticketorigin { get; set; }

Property Value

string

Remarks

Length 50.

ticketpriority

Priority of ticket

[AttLenght(2)]
[AttMandatory]
[AttList(Inactive = true)]
public TicketPriorityTypes ticketpriority { get; set; }

Property Value

TicketPriorityTypes

Remarks

Length 2.

ticketstamp

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

Property Value

string

ticketstatecolor

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

Property Value

string

ticketstatename

[AttVirtualField(typeof(TicketAttInfo))]
[AttList]
public string ticketstatename { get; set; }

Property Value

string

ticketstatestamp

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TicketStateVO), HiddenField = false)]
public string ticketstatestamp { get; set; }

Property Value

string

tickettype

Type of ticket

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

Property Value

string

Remarks

Length 50.

Explicit Interface Implementations

ticketDate

Ticket Date

[AttDefaultValue("getdate()")]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
DateTime ticketDate { get; set; }

Returns

DateTime