Table of Contents

Class StocktakingVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Inventory Checking

[AttTable("Stocktaking", 20210913)]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.STOCKS })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
[AttTableOrderBy("[Stocktaking].[datePicker],[Stocktaking].[hourPicker],[Stocktaking].[warehouse], [Stocktaking].[stockLaunched]", "D,D,A,D")]
[AttTableMaintenance(typeof(StocktakingMaintenance))]
[AttTableVOInfo(typeof(StocktakingAttInfo))]
public class StocktakingVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
StocktakingVO

Remarks

Is the physical verification of the quantities and condition of items held in an warehouse.

Properties

Cm2EntryVO

[AttExternalCollection(typeof(Cm2VO), new string[] { "Cm2.cm", "cmEntry" })]
public Cm2VO Cm2EntryVO { get; }

Property Value

Cm2VO

Cm2ExitVO

[AttExternalCollection(typeof(Cm2VO), new string[] { "Cm2.cm", "cmExit" })]
public Cm2VO Cm2ExitVO { get; }

Property Value

Cm2VO

cmEntry

Entry stock code movement

[AttLenght(6)]
[AttForeignKey(typeof(Cm2VO), HiddenField = false)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int cmEntry { get; set; }

Property Value

int

Remarks

ForeignKey to cm

cmEntryLabelfield

[AttVirtualField]
[AttHidden]
public string cmEntryLabelfield { get; set; }

Property Value

string

cmExit

Exit stock code movement

[AttLenght(6)]
[AttForeignKey(typeof(Cm2VO), HiddenField = false)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int cmExit { get; set; }

Property Value

int

Remarks

ForeignKey to cm

cmExitLabelfield

[AttVirtualField]
[AttHidden]
public string cmExitLabelfield { get; set; }

Property Value

string

cmdescEntry

Entry stock code movement description

[AttLenght(20)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string cmdescEntry { get; set; }

Property Value

string

Remarks

Denormalization of field cmdesc

cmdescExit

Exit stock code movement description

[AttLenght(20)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string cmdescExit { get; set; }

Property Value

string

Remarks

Denormalization of field cmdesc

datePicker

Date Picker

[AttLogInfo(2)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
[AttList]
[AttIndex(new string[] { "datePicker", "hourPicker", "warehouse", "stockLaunched" }, new OrderTypes[] { OrderTypes.Descending, OrderTypes.Descending, OrderTypes.Ascending, OrderTypes.Descending }, new string[] { "stamp", "cmEntry", "cmExit", "stockcostType" })]
public DateTime datePicker { get; set; }

Property Value

DateTime

description

Inventory Description

[AttLenght(40)]
[AttLogInfo(0)]
[AttMandatory]
[AttList]
public string description { get; set; }

Property Value

string

hourPicker

Stock hour launch

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

Property Value

string

stamp

ID, used to link others to this entity.

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

Property Value

string

Remarks

This field uniquely identifies the record.

stockLaunched

Inventory finished

[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool stockLaunched { get; set; }

Property Value

bool

stockcostType

Stock cost type

[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public StocktakingCostTypes stockcostType { get; set; }

Property Value

StocktakingCostTypes

stockcostTypename

Name of Stock cost type

[AttLenght(50)]
[AttLocale(typeof(StocktakingAttInfo), new string[] { "[Stocktaking].[stockcostType]" })]
public string stockcostTypename { get; set; }

Property Value

string

stockdate

Stock date launch

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

Property Value

DateTime

stockhour

Stock hour launch

[AttLenght(12)]
[AttFieldType(AttFieldType.InputTypes.shortTime, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string stockhour { get; set; }

Property Value

string

stocktakingLines

Colecção das linhas do Produto Composto.

[AttCollection(typeof(StocktakingLineVO), new string[] { "parentstamp", "stamp" })]
[AttGama(Gamas.Advanced)]
public List<StocktakingLineVO> stocktakingLines { get; set; }

Property Value

List<StocktakingLineVO>

Remarks

This field is a collection of type List (Of ScVO).

ScVO

warehouse

Warehouse number

[AttLenght(5)]
[AttLogInfo(1)]
[AttMandatory]
[AttList]
[AttMinValue(1)]
public int warehouse { get; set; }

Property Value

int