Table of Contents

Class Cm2VO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Stock Transactions Codes

[AttTable("CM2", 20110914)]
[AttTableVOInfo(typeof(Cm2AttInfo))]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.STOCKS })]
[AttTableOrderBy(new string[] { "[CM2].[cm]", "[CM2].[cmdesc]", "[CM2].[entrada]" })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge })]
public class Cm2VO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
Cm2VO

Properties

cfintCode

Accounting integration config code

[AttLenght(25)]
[AttProducts(new Products[] { Products.Accounting })]
public string cfintCode { get; set; }

Property Value

string

cfintLabel

[AttVirtualField]
public string cfintLabel { get; set; }

Property Value

string

cm

Movement code.

[AttPrimaryKey]
[AttLenght(6)]
[AttMandatory]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public int cm { get; set; }

Property Value

int

Remarks

This field is Primary Key.

Length 6.

Research field.

Field available in the basic search results list.

Required field.

cm2stamp

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

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

Property Value

string

Remarks

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

Length 25.

cmdesc

Description of the movement.

[AttLenght(20)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string cmdesc { get; set; }

Property Value

string

Remarks

Length 20.

Research field.

Field available in the basic search results list.

Required field.

V/Invoice

disableIntegration

[AttProducts(new Products[] { Products.Accounting })]
public bool disableIntegration { get; set; }

Property Value

bool

entrada

Stock entry movement.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool entrada { get; set; }

Property Value

bool

Remarks

Contains the indication if the stock movement code is a movement entry stocks.

inactivo

Inactive.

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

Property Value

bool

Remarks

Informs if the registry is inactive, that means, it's not available to other entities.

labelField

[AttVirtualField(typeof(Cm2AttInfo))]
[AttLabelField(new string[] { "cm", "cmdesc", "entrada" })]
public string labelField { get; set; }

Property Value

string

mudapcpond

Calcula Preço de Custo Ponderado.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool mudapcpond { get; set; }

Property Value

bool

mudapcult

Updates Last Cost.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool mudapcult { get; set; }

Property Value

bool

Remarks

Contains the indication if the stock movement code updates the last average cost (for Inventory Entries only).

obrigacpsl

Requires to have interconnection code.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool obrigacpsl { get; set; }

Property Value

bool

Remarks

Contains the indication if it’s obliged to have related interconnection code.