Table of Contents

Class InterventionExpenseVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("InterventionExpense", 20240107)]
[AttTableProducts(new Products[] { Products.Service })]
[AttTableFlags(new TableFlags[] { TableFlags.TableForJorge })]
public class InterventionExpenseVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<InterventionVO>, IParent
Inheritance
InterventionExpenseVO

Properties

AgentVO

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

Property Value

AgentVO

BoVO

[AttExternalCollection(typeof(BoVO), new string[] { "Bo.bostamp", "InterventionExpense.entityStamp" })]
public BoVO BoVO { get; }

Property Value

BoVO

ExpenseVO

[AttExternalCollection(typeof(ExpensesVO), new string[] { "Expenses.expensesstamp", "InterventionExpense.entityStamp" })]
public ExpensesVO ExpenseVO { get; }

Property Value

ExpensesVO

FtVO

[AttExternalCollection(typeof(FtVO), new string[] { "Ft.ftstamp", "InterventionExpense.ftStamp" })]
public FtVO FtVO { get; }

Property Value

FtVO

boNo

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

Property Value

int

costPrice

Cost Price

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
public decimal costPrice { get; set; }

Property Value

decimal

entity

This field identifies the entity

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string entity { get; set; }

Property Value

string

entityLogInfo

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

Property Value

string

entityName

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

Property Value

string

entityStamp

This field identifies the record stamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string entityStamp { get; set; }

Property Value

string

epv

Unit Price

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttMinValue(0)]
public decimal epv { get; set; }

Property Value

decimal

ftNdoc

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

Property Value

int

ftStamp

This field identifies the invoice stamp

[AttLenght(25)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string ftStamp { get; set; }

Property Value

string

interventionExpenseStamp

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

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

Property Value

string

interventionExpenseType

This field identifies the type of expense

[AttLenght(1)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer)]
public InterventionExpenseType interventionExpenseType { get; set; }

Property Value

InterventionExpenseType

interventionExpenseTypeName

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

Property Value

string

interventionStamp

Connects to interventionStamp that contains this line.

[AttForeignKey(typeof(InterventionVO))]
[AttLenght(25)]
[AttIndex]
public string interventionStamp { get; set; }

Property Value

string

isBillableCost

Identifies if is to invoice

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

Property Value

bool

isInvoiced

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

Property Value

bool

margin

Margin

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMinValue(0)]
public decimal margin { get; set; }

Property Value

decimal

qtt

Quantity of the Article or Service.

[AttLenght(14, 4)]
[AttFieldType(AttFieldType.InputTypes.quantity)]
public decimal qtt { get; set; }

Property Value

decimal

Remarks

Length 14 for the units and 4 for the decimals.

ref

St ref

[AttLenght(18)]
[AttIndex]
public string @ref { get; set; }

Property Value

string

Remarks

Length 18.

Explicit Interface Implementations

ParentVO

InterventionVO ParentVO { get; set; }

Returns

InterventionVO