Table of Contents

Class InterventionVO

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

Properties

ClContactVO

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

Property Value

ClContactVO

ClVO

[AttExternalCollection(typeof(ClVO), new string[] { "Cl.clstamp", "Intervention.clName" })]
public ClVO ClVO { get; }

Property Value

ClVO

ContractServiceVO

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

Property Value

ContractServiceVO

MaVO

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

Property Value

MaVO

OrganizationVO

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

Property Value

OrganizationVO

TextTemplateVO

[AttExternalCollection(typeof(TextTemplateVO), new string[] { "TextTemplate.texttemplatestamp", "Intervention.templateName" })]
public TextTemplateVO TextTemplateVO { get; }

Property Value

TextTemplateVO

TicketVO

[AttExternalCollection(typeof(TicketVO), new string[] { "Ticket.ticketstamp", "Intervention.ticketStamp" })]
public TicketVO TicketVO { get; }

Property Value

TicketVO

agentNames

This field is to store the name of the agents

[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public string agentNames { 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

[AttVirtualField(typeof(InterventionAttInfo))]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[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.

client_sign

[AttLenght(25, 0)]
[AttForeignKey(typeof(ImageInfoVO), HiddenField = false)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.signature, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string client_sign { get; set; }

Property Value

string

client_signVO

[AttExternalCollection(typeof(ImageInfoVO), new string[] { "iflstamp", "client_sign" })]
public ImageInfoVO client_signVO { get; }

Property Value

ImageInfoVO

clstamp

Stamp of customer.

[AttLenght(25)]
[AttEntityAvailable(typeof(ClVO))]
[AttMandatory]
public string clstamp { get; set; }

Property Value

string

cnome

cnome.

[AttVirtualField]
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

estab

Number that identifies the customer Branch.

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

Property Value

int

Remarks

Length 6.

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

finalHour

This field is the hour will finish the intervention

[AttLenght(8)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string finalHour { get; set; }

Property Value

string

initialHour

This field is the hour will started the intervention

[AttLenght(8)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string initialHour { get; set; }

Property Value

string

interventionAgents

[AttCollection(typeof(InterventionAgentVO))]
public List<InterventionAgentVO> interventionAgents { get; set; }

Property Value

List<InterventionAgentVO>

interventionExpenses

[AttCollection(typeof(InterventionExpenseVO))]
public List<InterventionExpenseVO> interventionExpenses { get; set; }

Property Value

List<InterventionExpenseVO>

interventionReport

Report content

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

Property Value

string

interventionStamp

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

Property Value

string

isClosed

This field is to store if the intervention is closed

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public bool isClosed { get; set; }

Property Value

bool

isToIncludeContract

This field is to store if the intervention is to include on contract service

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

Property Value

bool

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

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.

number

The intervention number

[AttLenght(15)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttLogInfo(1)]
public decimal number { get; set; }

Property Value

decimal

organizationName

Organization name.

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

Property Value

string

Remarks

Field available in the basic search results list.

Searchable field.

organizationNo

Organization Number.

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal organizationNo { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

organizationstamp

Organization Stamp.

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

Property Value

string

realDuration

This field is the real duration time of the intervention

[AttLenght(8)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string realDuration { 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

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

Property Value

string

summary

Summary

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

Property Value

string

templateName

[AttVirtualField(typeof(InterventionAttInfo))]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string templateName { get; set; }

Property Value

string

texttemplatestamp

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

Property Value

string

ticketDescription

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

Property Value

string

ticketNumber

Ticket Number.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
public decimal ticketNumber { get; set; }

Property Value

decimal

Remarks

Length 10.

Searchable field.

ticketStamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TicketVO))]
public string ticketStamp { get; set; }

Property Value

string

totalBillableCost

[AttVirtualField(typeof(InterventionAttInfo))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalBillableCost { get; set; }

Property Value

decimal

totalNotBillableCost

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalNotBillableCost { get; set; }

Property Value

decimal

Explicit Interface Implementations

interventionDate

The date intervention is scheduled

[AttMandatory]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
DateTime interventionDate { get; set; }

Returns

DateTime