Class ContractServiceVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("ContractService", 20240723)]
[AttTableVOInfo(typeof(ContractServiceAttInfo))]
[AttTableProducts(new Products[] { Products.Service })]
[AttTableOrderBy("OUSRDATA, OUSRHORA", "D, D")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.UseDimensions })]
public class ContractServiceVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
ContractServiceVO
Properties
ClVO
[AttExternalCollection(typeof(ClVO), new string[] { "Cl.clstamp", "ContractService.clName" })]
public ClVO ClVO { get; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
StVO
[AttExternalCollection(typeof(StVO), new string[] { "ref", "ref" })]
public StVO StVO { get; }
Property Value
amount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
public decimal amount { get; set; }
Property Value
clName
[AttVirtualField(typeof(ContractServiceAttInfo))]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttLogInfo(1)]
[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.
clstamp
Stamp of customer.
[AttLenght(25)]
[AttEntityAvailable(typeof(ClVO))]
[AttMandatory]
public string clstamp { get; set; }
Property Value
contractNumber
Number of contract.
[AttLenght(10)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttMinValue(0)]
[AttList]
public decimal contractNumber { get; set; }
Property Value
Remarks
Length 10.
Searchable field.
contractServDetails
[AttCollection(typeof(ContractServDetailVO))]
public List<ContractServDetailVO> contractServDetails { get; set; }
Property Value
contractServEquipments
[AttCollection(typeof(ContractServEquipVO))]
public List<ContractServEquipVO> contractServEquipments { get; set; }
Property Value
contractServInvoices
[AttCollection(typeof(ContractServiceInvoiceVO))]
public List<ContractServiceInvoiceVO> contractServInvoices { get; set; }
Property Value
contractServiceFrequency
Represents the contract type
[AttLenght(5)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer)]
public ContractServiceVO.ContractServiceFrequencyEnum contractServiceFrequency { get; set; }
Property Value
contractServiceFrequencyName
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string contractServiceFrequencyName { get; set; }
Property Value
contractServiceStamp
This field uniquely identifies the record (primary key by default)
[AttLenght(25)]
public string contractServiceStamp { get; set; }
Property Value
contractServiceType
Represents the contract type
[AttLenght(5)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer)]
public ContractServiceVO.ContractServiceTypeEnum contractServiceType { get; set; }
Property Value
contractServiceTypeName
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string contractServiceTypeName { get; set; }
Property Value
design
[AttVirtualField]
[AttHidden]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string design { 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.
finalDate
The date when the contract ends
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime finalDate { get; set; }
Property Value
ftInAdvance
Allows you to define that you will use advance billing, it occurs before the start of the contract period.
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool ftInAdvance { get; set; }
Property Value
ftText
OBS.
[AttFieldType(AttFieldType.InputTypes.memo)]
public string ftText { get; set; }
Property Value
inactive
This field is to store if the contract is inactive
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }
Property Value
initialDate
The date when the contract start
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime initialDate { get; set; }
Property Value
ref
Service Reference.
[AttLenght(50)]
[AttMandatory]
public string @ref { get; set; }
Property Value
Remarks
Lenght 50.
refInt
Internal Reference.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
public string refInt { get; set; }
Property Value
Remarks
Lenght 50.
totalBillableCost
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totalBillableCost { get; set; }
Property Value
Methods
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |