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
ClVO
[AttExternalCollection(typeof(ClVO), new string[] { "Cl.clstamp", "Intervention.clName" })]
public ClVO ClVO { get; }
Property Value
ContractServiceVO
[AttExternalCollection(typeof(ContractServiceVO), new string[] { "[Intervention].[contractServiceStamp]", "[ContractService].[contractServiceStamp]" })]
public ContractServiceVO ContractServiceVO { get; }
Property Value
MaVO
[AttExternalCollection(typeof(MaVO), new string[] { "Ma.mastamp", "Intervention.mastamp" })]
public MaVO MaVO { get; }
Property Value
OrganizationVO
[AttExternalCollection(typeof(OrganizationVO), new string[] { "[Intervention].[organizationstamp]", "[Organization].[organizationstamp]" })]
public OrganizationVO OrganizationVO { get; }
Property Value
TextTemplateVO
[AttExternalCollection(typeof(TextTemplateVO), new string[] { "TextTemplate.texttemplatestamp", "Intervention.templateName" })]
public TextTemplateVO TextTemplateVO { get; }
Property Value
TicketVO
[AttExternalCollection(typeof(TicketVO), new string[] { "Ticket.ticketstamp", "Intervention.ticketStamp" })]
public TicketVO TicketVO { get; }
Property Value
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
cemail
cemail.
[AttVirtualField]
public string cemail { get; set; }
Property Value
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
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
clNo
Customer Number.
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttList]
public decimal clNo { get; set; }
Property Value
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
client_signVO
[AttExternalCollection(typeof(ImageInfoVO), new string[] { "iflstamp", "client_sign" })]
public ImageInfoVO client_signVO { get; }
Property Value
clstamp
Stamp of customer.
[AttLenght(25)]
[AttEntityAvailable(typeof(ClVO))]
[AttMandatory]
public string clstamp { get; set; }
Property Value
cnome
cnome.
[AttVirtualField]
public string cnome { get; set; }
Property Value
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
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
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
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
initialHour
This field is the hour will started the intervention
[AttLenght(8)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.shortTime)]
public string initialHour { get; set; }
Property Value
interventionAgents
[AttCollection(typeof(InterventionAgentVO))]
public List<InterventionAgentVO> interventionAgents { get; set; }
Property Value
interventionExpenses
[AttCollection(typeof(InterventionExpenseVO))]
public List<InterventionExpenseVO> interventionExpenses { get; set; }
Property Value
interventionReport
Report content
[AttFieldType(AttFieldType.InputTypes.memo)]
public string interventionReport { get; set; }
Property Value
interventionStamp
[AttLenght(25)]
public string interventionStamp { get; set; }
Property Value
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
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
maBrand
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string maBrand { get; set; }
Property Value
maModel
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string maModel { get; set; }
Property Value
mastamp
Single registration field, used to link to MAVO.
[AttLenght(25)]
[AttEntityAvailable(typeof(MaVO))]
public string mastamp { get; set; }
Property Value
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
organizationName
Organization name.
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string organizationName { get; set; }
Property Value
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
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
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
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
Remarks
Length 50 .
serialnumber
[AttVirtualField]
[AttHidden]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string serialnumber { get; set; }
Property Value
summary
Summary
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string summary { get; set; }
Property Value
templateName
[AttVirtualField(typeof(InterventionAttInfo))]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string templateName { get; set; }
Property Value
texttemplatestamp
[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TextTemplateVO), HiddenField = false)]
public string texttemplatestamp { get; set; }
Property Value
ticketDescription
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string ticketDescription { get; set; }
Property Value
ticketNumber
Ticket Number.
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
public decimal ticketNumber { get; set; }
Property Value
Remarks
Length 10.
Searchable field.
ticketStamp
[AttLenght(25)]
[AttEntityAvailable(typeof(TicketVO))]
public string ticketStamp { get; set; }
Property Value
totalBillableCost
[AttVirtualField(typeof(InterventionAttInfo))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalBillableCost { get; set; }
Property Value
totalNotBillableCost
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalNotBillableCost { get; set; }
Property Value
Explicit Interface Implementations
interventionDate
The date intervention is scheduled
[AttMandatory]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
DateTime interventionDate { get; set; }