Class OxVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Deposit Slip
[AttTable("Ox", 20211217)]
[AttTableVOInfo(typeof(OxAttInfo))]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.TESOURARIA })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.TableForJorge, TableFlags.UseDimensions })]
public class OxVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
OxVO
Remarks
Esta entidade é composta por uma colecção principal, linhas de talões de depósito OyVO. .
Properties
ContaDestinoVO
Conta de Destino
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO ContaDestinoVO { get; }
Property Value
Remarks
Data type BlVO.
Field not sent to the frontend.
ContaOrigemVO
Conta de Origem
[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "ocontado" })]
public BlVO ContaOrigemVO { get; }
Property Value
Remarks
Data type BlVO.
Field not sent to the frontend.
Ols
The treasury movement created in OL
[AttExternalCollection(typeof(List<OlVO>))]
public List<OlVO> Ols { get; }
Property Value
blDestinationLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blDestinationLabelField { get; set; }
Property Value
blOriginLabelField
From BlVO.labelField
[AttVirtualField]
[AttHidden]
public string blOriginLabelField { get; set; }
Property Value
bldestsupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string bldestsupplytype { get; }
Property Value
blorisupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blorisupplytype { get; }
Property Value
contado
Número Interno de Conta Bancária.
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int contado { get; set; }
Property Value
Remarks
Length 4.
diaplano
Dia da data de contabilização.
[AttLenght(2)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int diaplano { get; set; }
Property Value
Remarks
Data type Numeric.
Length 2.
dilnoplano
Nº lançamento no Diário de contabilização.
[AttLenght(10)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public int dilnoplano { get; set; }
Property Value
Remarks
Data type Numeric.
Length 10.
dinoplano
Diário de contabilização.
[AttLenght(50)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string dinoplano { get; set; }
Property Value
Remarks
Data type String.
Length 50.
dplano
Document accounting date.
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public DateTime dplano { get; set; }
Property Value
Remarks
Data type DateTime.
Non Duplicable Field.
dvalor
Date value.
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList(Inactive = true)]
public DateTime dvalor { get; set; }
Property Value
Remarks
Research field.
Field available in the basic search results list.
enumer
Valor Numerário.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
public decimal enumer { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
evalor
Total deposit.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal evalor { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Research field.
Field available in the basic search results list.
moeda
Moeda
Moeda do Talão de Deposito .
[AttLenght(3)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string moeda { get; set; }
Property Value
Remarks
Length 3 .
nomedepo
Nome do Depositante.
[AttLenght(40)]
public string nomedepo { get; set; }
Property Value
Remarks
Length 40.
notalao
Ticket number.
[AttLenght(15)]
[AttMandatory]
[AttLogInfo(2)]
[AttList(Inactive = true)]
public string notalao { get; set; }
Property Value
Remarks
Length 15.
Research Field.
Field available in the basic search results list.
numerm
Valor Numerário em Moeda Estrangeira.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMinValue(0)]
public decimal numerm { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
ocontado
Número Interno de Conta Bancária de Origem.
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttMandatory]
public int ocontado { get; set; }
Property Value
Remarks
Length 4.
ollocal
Treasury Account of destination.
[AttLenght(50)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string ollocal { get; set; }
Property Value
Remarks
Length 50.
Filling Required.
Research field.
Field available in the basic search results list.
olorigem
Conta de Tesouraria de Origem.
[AttLenght(50)]
[AttMandatory]
[AttList(Inactive = true)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string olorigem { get; set; }
Property Value
Remarks
Length 50.
olstamp
Campo de ligação à entidade de movimento de tesouraria (OlVO).
[AttForeignKey(typeof(OlVO))]
[AttLenght(25)]
public string olstamp { get; set; }
Property Value
Remarks
Length 25.
Foreign Key field to another table.
olstampent
Campo de ligação para entrada de movimento de tesouraria (OlVO).
[AttHidden]
[AttLenght(25)]
public string olstampent { get; set; }
Property Value
Remarks
Length 25.
Foreign Key field to another table.
olstampsai
Campo de ligação para saída de movimento de tesouraria (OlVO).
[AttHidden]
[AttLenght(25)]
public string olstampsai { get; set; }
Property Value
Remarks
Length 25.
Foreign Key field to another table.
oxdesc
Description.
[AttLenght(60)]
[AttList]
public string oxdesc { get; set; }
Property Value
Remarks
Length 60.
Research field.
Field available in the basic search results list.
oxstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string oxstamp { get; set; }
Property Value
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
oys
Collection of the lines of this deposit ticket.
[AttCollection(typeof(OyVO))]
public List<OyVO> oys { get; set; }
Property Value
Remarks
Collection of elements type. OyVO.
plano
Indica se o documento está contabilizado.
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public bool plano { get; set; }
Property Value
Remarks
Data type Boolean.
refInt
Referência interna
Contains the value of the user's internal reference that created the record.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public string refInt { get; set; }
Property Value
Remarks
Length 50 .
valorMoedaEstrangeira
Foreign Currency: Total in Source Currency
[AttLenght(19, 6)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal valorMoedaEstrangeira { get; set; }
Property Value
Remarks
Lenght of 19, where the units are 12 and decimals are 6.
Required field.
Research field.
Field available in the basic search results list.
Explicit Interface Implementations
CanIntegrate()
Returns true if integration is available
bool CanIntegrate()
Returns
CleanIntegrationErrors()
Cleans the accounting integration errors
void CleanIntegrationErrors()
GetIntegrationConfig(int)
Get Accounting configuration if exists
PHCResult GetIntegrationConfig(int year)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
GetPendingIntegrationsCommands(int)
PHCCmdSql GetPendingIntegrationsCommands(int year = 0)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
year |
int |
Returns
HasAccountingIntegration()
Check for permission to integrate document
bool HasAccountingIntegration()
Returns
LogIntegrationErrors(List<MessageVO>)
Logs the accounting integration errors
void LogIntegrationErrors(List<MessageVO> errorMessages)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
errorMessages |
List<MessageVO> |
accounted
Mark document as accounted
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool accounted { get; set; }
Returns
adate
Accounting Date
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
DateTime adate { get; set; }
Returns
data
Data.
[AttLenght(1)]
[AttMandatory]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
DateTime data { get; set; }
Returns
Remarks
Research field.
Field available in the basic search results list.
docarchivalnumber
ID: Journal + Period + DocNumber
[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string docarchivalnumber { get; set; }
Returns
documentdescription
Description of the document type (DC)
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string documentdescription { get; set; }
Returns
documentid
Id of the accounting document (DC)
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal documentid { get; set; }
Returns
integrationErrors
Accounting integrations message errors
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string integrationErrors { get; set; }
Returns
isaccounting
Is true if the document is in integrating process
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
bool isaccounting { get; set; }
Returns
journaldescription
Description of the journal (DI)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
string journaldescription { get; set; }
Returns
journalid
Journal code (DI).
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
decimal journalid { get; set; }
Returns
year
Year of Document (PCY).
[AttLenght(4)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttProducts(new Products[] { Products.Accounting })]
int year { get; set; }