Table of Contents

Class LotVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("LOT", 20171116)]
[AttTableOrderBy("ref,lote", "A,A")]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.STOCKS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable })]
[AttTableVOInfo(typeof(LotAttInfo))]
public class LotVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
LotVO

Properties

StDesginVO

[AttExternalCollection(typeof(StVO), new string[] { "[ST].[design]", "[LOT].[design]" })]
public StVO StDesginVO { get; }

Property Value

StVO

StRefVO

[AttExternalCollection(typeof(StVO), new string[] { "[ST].[ref]", "[LOT].[ref]" })]
public StVO StRefVO { get; }

Property Value

StVO

StVO

[AttExternalCollection(typeof(StfamiVO), new string[] { "st.ref", "ref" })]
public StVO StVO { get; }

Property Value

StVO

design

Reference description

[AttLenght(60)]
[AttLogInfo(1)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string design { get; set; }

Property Value

string

epcpond

Weighted Cost Price.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal epcpond { get; set; }

Property Value

decimal

epcult

Last Cost Price.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal epcult { get; set; }

Property Value

decimal

inactive

Controls if the lot is active.

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool inactive { get; set; }

Property Value

bool

inactivedate

inactive date.

[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime inactivedate { get; set; }

Property Value

DateTime

inactivereason

inactive reason.

public string inactivereason { get; set; }

Property Value

string

lastentrydate

Last entry date

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

Property Value

DateTime

lastexitdate

Last exit date

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

Property Value

DateTime

lote

Lot

[AttPrimaryKey]
[AttLenght(40)]
[AttMandatory]
[AttLogInfo(2)]
[AttList]
public string lote { get; set; }

Property Value

string

lotstamp

Single registration field, used to link others to this entity.

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

Property Value

string

Remarks

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

lottype

[AttEntityAvailable(typeof(LotVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public LotTypes lottype { get; set; }

Property Value

LotTypes

lottypename

Name of lot type.

[AttLenght(50)]
[AttLocale(typeof(LotAttInfo), new string[] { "[LOT].[lottype]" })]
public string lottypename { get; set; }

Property Value

string

ref

Reference

[AttPrimaryKey]
[AttForeignKey(true, typeof(StVO), HiddenField = false)]
[AttLenght(18)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string @ref { get; set; }

Property Value

string

Remarks

ForeignKey to ref

refdate

Expiration date for FEFO or Entry date for FIFO and LIFO

[AttLogInfo(3)]
[AttIndex(new string[] { "ref", "lote", "refdate", "stock" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending }, new string[] { "lotstamp" })]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime refdate { get; set; }

Property Value

DateTime

stock

Current Stock.

[AttLenght(14, 4)]
[AttLogInfo(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal stock { get; set; }

Property Value

decimal