Class PayrollPaymentVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Payroll payment
[AttTable("PayrollPayment", 20221011)]
[AttTableVOInfo(typeof(PayrollPaymentAttInfo))]
[AttTableProducts(new Products[] { Products.Payroll })]
[AttTableOrderBy("[PayrollPayment].[code]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class PayrollPaymentVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
PayrollPaymentVO
Properties
Address
[AttVirtualField]
[AttHidden]
public string Address { get; set; }
Property Value
BlVO
[AttExternalCollection(typeof(BlVO), new string[] { "[Bl].[noconta]", "[PayrollPayment].[blaccount]" })]
public BlVO BlVO { get; }
Property Value
CategoryPurposeCodeSALA
[AttVirtualField]
[AttHidden]
public string CategoryPurposeCodeSALA { get; set; }
Property Value
CompanyName
[AttVirtualField]
[AttHidden]
public string CompanyName { get; set; }
Property Value
CompanyTaxesTotal
[AttVirtualField]
public decimal CompanyTaxesTotal { get; set; }
Property Value
CompanyZipCode
[AttVirtualField]
[AttHidden]
public string CompanyZipCode { get; set; }
Property Value
ControlSum
[AttVirtualField]
[AttHidden]
public decimal ControlSum { get; set; }
Property Value
Country
[AttVirtualField]
[AttHidden]
public string Country { get; set; }
Property Value
DateTime
[AttVirtualField]
[AttHidden]
public string DateTime { get; set; }
Property Value
DebtorAccount
[AttVirtualField]
[AttHidden]
public string DebtorAccount { get; set; }
Property Value
DebtorBIC
[AttVirtualField]
[AttHidden]
public string DebtorBIC { get; set; }
Property Value
DeductionsTotal
[AttVirtualField]
public decimal DeductionsTotal { get; set; }
Property Value
EarningsTotal
[AttVirtualField]
public decimal EarningsTotal { get; set; }
Property Value
MsgId
[AttVirtualField]
[AttHidden]
public string MsgId { get; set; }
Property Value
NumberOfTransactions
[AttVirtualField]
[AttHidden]
public int NumberOfTransactions { get; set; }
Property Value
OcVO
[AttExternalCollection(typeof(OcVO), new string[] { "[Oc].[olcodigo]", "[PayrollPayment].[olcode]" })]
public OcVO OcVO { get; }
Property Value
OrganizationId
[AttVirtualField]
[AttHidden]
public string OrganizationId { get; set; }
Property Value
PaymentConfigVO
[AttExternalCollection(typeof(PaymentConfigVO), new string[] { "[PaymentConfig].[PaymentConfigStamp]", "[PayrollPayment].[paymentconfigstamp]" })]
public PaymentConfigVO PaymentConfigVO { get; }
Property Value
PaymentInformationId
[AttVirtualField]
[AttHidden]
public string PaymentInformationId { get; set; }
Property Value
PaymentMethodTRF
[AttVirtualField]
[AttHidden]
public string PaymentMethodTRF { get; set; }
Property Value
PaymentTypeDescription
[AttVirtualField]
[AttHidden]
public string PaymentTypeDescription { get; set; }
Property Value
RequestedExecutionDate
[AttVirtualField]
[AttHidden]
public string RequestedExecutionDate { get; set; }
Property Value
SEPACode
[AttVirtualField]
[AttHidden]
public string SEPACode { get; set; }
Property Value
TownName
[AttVirtualField]
[AttHidden]
public string TownName { get; set; }
Property Value
XmlnsXsi
[AttVirtualField]
[AttHidden]
public string XmlnsXsi { get; set; }
Property Value
adjustamount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal adjustamount { get; set; }
Property Value
bankentity
[AttVirtualField]
[AttHidden]
public string bankentity { get; set; }
Property Value
blaccount
Bank account.
[AttLenght(4)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int blaccount { get; set; }
Property Value
bldescription
[AttVirtualField]
[AttHidden]
public string bldescription { get; set; }
Property Value
blmoeda
[AttVirtualField]
[AttHidden]
public string blmoeda { get; set; }
Property Value
blnib
[AttVirtualField]
[AttHidden]
public string blnib { get; set; }
Property Value
blsupplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string blsupplytype { get; }
Property Value
code
ID.
[AttLenght(40)]
[AttLogInfo(0)]
[AttPrimaryKey]
[AttList(Hidden = true)]
public string code { get; set; }
Property Value
description
Payment description.
[AttLenght(400)]
[AttList]
[AttLogInfo(1)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string description { get; set; }
Property Value
employeestamp
Employee connection (for exit payslip)
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string employeestamp { get; set; }
Property Value
oldescription
[AttVirtualField]
[AttHidden]
public string oldescription { get; set; }
Property Value
olstamp
Tresury movement connection (movimento de tesouraria).
[AttLenght(25)]
[AttForeignKey(ForeignType = typeof(OlVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string olstamp { get; set; }
Property Value
paymentconfigdescription
[AttVirtualField]
[AttHidden]
public string paymentconfigdescription { get; set; }
Property Value
paymentconfigstamp
Payment config connection.
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string paymentconfigstamp { get; set; }
Property Value
paymentlines
[AttCollection(typeof(PaymentLineVO))]
public List<PaymentLineVO> paymentlines { get; set; }
Property Value
paymentlinestotal
[AttCollection(typeof(PaymentLineTotalVO))]
public List<PaymentLineTotalVO> paymentlinestotal { get; set; }
Property Value
paymentoptions
Fixed value for payment options in account variables
[AttVirtualField]
[AttLenght(1)]
public int paymentoptions { get; }
Property Value
payrollpaymentstamp
Stamp.
[AttLenght(25)]
public string payrollpaymentstamp { get; set; }
Property Value
retention
Fixed value for retention variables
[AttVirtualField]
[AttLenght(1)]
public int retention { get; }
Property Value
staffoperation
Fixed value for staff operation variables
[AttVirtualField]
[AttLenght(1)]
public int staffoperation { get; }
Property Value
transactiondate
Payment date.
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime transactiondate { get; set; }
Property Value
tresurymov
[AttVirtualField]
[AttHidden]
public string tresurymov { get; set; }
Property Value
value
Paid value.
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal value { get; set; }
Property Value
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
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
olcode
Tresury code (código de tesouraria).
[AttLenght(12)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
string olcode { 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; }