Table of Contents

Class SalotVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("SALOT", 20220920)]
[AttTableOrderBy("ref,lote,armazem")]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.STOCKS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotCheckAcess, TableFlags.IsNotFormEntity, TableFlags.AddOnNotCustomizable, TableFlags.DisableRowCount, TableFlags.NotUseHashTag })]
[AttTableVOInfo(typeof(SalotAttInfo))]
public class SalotVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
SalotVO

Properties

armazem

Warehouse

[AttLenght(5)]
public int armazem { get; set; }

Property Value

int

lastentrydate

Lats entry date

public DateTime lastentrydate { get; set; }

Property Value

DateTime

lastentryhour

Lats entry date

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

Property Value

string

lastexitdate

Lats entry date

public DateTime lastexitdate { get; set; }

Property Value

DateTime

lote

Lot

[AttForeignKey(true, typeof(LotVO), HiddenField = false)]
[AttLenght(40)]
public string lote { get; set; }

Property Value

string

Remarks

ForeignKey to lote

ref

Reference

[AttForeignKey(true, typeof(StVO), HiddenField = false)]
[AttLenght(18)]
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", "armazem", "refdate", "stock" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending, OrderTypes.Ascending }, new string[] { "salotstamp" })]
public DateTime refdate { get; set; }

Property Value

DateTime

salotstamp

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

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

Property Value

string

Remarks

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

stock

Current Stock.

[AttLenght(14, 4)]
public decimal stock { get; set; }

Property Value

decimal