Class OcVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Treasury Codes
[AttTable("Oc", 20160415)]
[AttTableOrderBy(new string[] { "[Oc].[olcodigo]", "[Oc].[olgrupo]", "[Oc].[olsgrupo]" })]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.TESOURARIA })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.RequiresAdminAccess, TableFlags.TableForJorge })]
[AttTableVOInfo(typeof(OcAttInfo))]
public class OcVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
OcVO
Remarks
Os códigos de classificação de tesouraria, disponíveis nas tabelas de códigos, permitem organizar e agrupar os diversos movimentos de tesouraria, devendo ser definidos pelo utilizador. Neste local é possível indicar o grupo e o subgrupo do código, que podem ser definidos livremente pelo utilizador (por exemplo: clientes, fornecedores, gastos variáveis, investimentos, etc.). Além desta situação, é possível definir o próprio tipo de código (Recebimentos e Pagamentos). Esta definição é muito importante, pois será utilizada nos diversos movimentos de tesouraria, bem como na gravação dos documentos, como, por exemplo, nos Recibos e nos Pagamentos. Quando um código é de recebimento significa que se trata de uma entrada de valores, sendo esse o código correcto para definir, por exemplo, nos recibos. As classificações dos códigos de Tesouraria em Exploração e Extra-exploração permitem análises de Tesourarias separadas. Esta opção também é importante para outras análises, nomeadamente quando apenas se pretende analisar os resultados da actividade principal da empresa (exploração). .
O campo para ordenação dos códigos nas consultas é "olcodigo".
Código de tesourariaProperties
ecodtransf
Este é o código de transferência.
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool ecodtransf { get; set; }
Property Value
inactivo
Inactive.
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactivo { get; set; }
Property Value
Remarks
Informs if the registry is inactive, that means, it is not available to other entities.
labelField
[AttVirtualField(typeof(OcAttInfo))]
[AttLabelField(new string[] { "olcodigo", "olgrupo", "olsgrupo" })]
public string labelField { get; set; }
Property Value
ocstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string ocstamp { get; set; }
Property Value
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
olcodigo
Treasury code.
[AttPrimaryKey]
[AttMandatory]
[AttLenght(12)]
[AttLogInfo(0)]
[AttList]
public string olcodigo { get; set; }
Property Value
Remarks
Primary key.
Length 12.
Required field.
Research field.
Field available in the basic search results list.
olgrupo
Treasury group.
[AttLenght(50)]
[AttLogInfo(1)]
[AttList]
public string olgrupo { get; set; }
Property Value
Remarks
Length 50.
Search Field.
Field available in the basic search results list.
olsgrupo
Sub-group of treasury.
[AttLenght(50)]
[AttLogInfo(2)]
[AttList]
public string olsgrupo { get; set; }
Property Value
Remarks
Length 50.
Search Field.
Field available in the basic search results list.
oltipo
Type of Movement.
[AttLenght(1)]
[AttList(Inactive = true)]
[AttMandatory]
public OlTypeEnum oltipo { get; set; }
Property Value
Remarks
Length 1.
Search Field.