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
cfintLabel
[AttVirtualField]
public string cfintLabel { get; set; }
Property Value
cm
Movement code.
[AttPrimaryKey]
[AttLenght(6)]
[AttMandatory]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public int cm { get; set; }
Property Value
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
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
Remarks
Length 20.
Research field.
Field available in the basic search results list.
Required field.
disableIntegration
[AttProducts(new Products[] { Products.Accounting })]
public bool disableIntegration { get; set; }
Property Value
entrada
Stock entry movement.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool entrada { get; set; }
Property Value
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
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
mudapcpond
Calcula Preço de Custo Ponderado.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool mudapcpond { get; set; }
Property Value
mudapcult
Updates Last Cost.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool mudapcult { get; set; }
Property Value
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
Remarks
Contains the indication if it’s obliged to have related interconnection code.