Class PaymentManager
Inheritance
System.Object
PaymentManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Simplic.ERP.Core.dll
Syntax
public class PaymentManager
Fields
|
Improve this Doc
View Source
PERSONALACCOUNT_TYPE_CUSTOMER
Declaration
public const string PERSONALACCOUNT_TYPE_CUSTOMER = "4CA629EC-4FBE-4A07-B2BE-90527FD5DD42"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PERSONALACCOUNT_TYPE_SUPPLIER
Declaration
public const string PERSONALACCOUNT_TYPE_SUPPLIER = "027654D7-E35B-414C-A899-66F5CCE86D63"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RECORD_TYPE_CASHDISCOUNT
Declaration
public const string RECORD_TYPE_CASHDISCOUNT = "58f0612c-17fb-40ed-acfc-53601560be33"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RECORD_TYPE_DUNNINGFEE
Declaration
public const string RECORD_TYPE_DUNNINGFEE = "b42e72f8-7edf-4bae-851b-d1eaad4a6457"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RECORD_TYPE_PAYMENT
Declaration
public const string RECORD_TYPE_PAYMENT = "921F0661-8B6C-4348-8547-B7AE21E54A24"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
RECORD_TYPE_REMAININGSTOCK
Declaration
public const string RECORD_TYPE_REMAININGSTOCK = "E2040F61-E441-421E-B73F-3F17C01B7D1A"
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
AlterCashDiscount(PreciseDecimal, PreciseDecimal, Guid)
Sets a new total cash discount for the transaction
Declaration
public void AlterCashDiscount(PreciseDecimal cashDiscount, PreciseDecimal cashDiscountPercent, Guid transactionId)
Parameters
Type |
Name |
Description |
PreciseDecimal |
cashDiscount |
|
PreciseDecimal |
cashDiscountPercent |
|
System.Guid |
transactionId |
|
|
Improve this Doc
View Source
GetAllBankDetails(Guid)
Get all records from a tenantBankDetail by tenant
Declaration
public IEnumerable<TenantBankDetail> GetAllBankDetails(Guid tenantId)
Parameters
Type |
Name |
Description |
System.Guid |
tenantId |
|
Returns
|
Improve this Doc
View Source
GetAllRecords(Guid, DateTime, DateTime)
Get all records from a personal account
Declaration
public IEnumerable<FinancialRecord> GetAllRecords(Guid personalAccountId, DateTime begin, DateTime end)
Parameters
Type |
Name |
Description |
System.Guid |
personalAccountId |
|
System.DateTime |
begin |
|
System.DateTime |
end |
|
Returns
|
Improve this Doc
View Source
GetBankDetails(Guid)
Get a tenantBankDetail by id
Declaration
public TenantBankDetail GetBankDetails(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
|
Improve this Doc
View Source
GetBankDetailsbyGLA(Guid)
Get a tenantBankDetail by gla id
Declaration
public TenantBankDetail GetBankDetailsbyGLA(Guid glaId)
Parameters
Type |
Name |
Description |
System.Guid |
glaId |
|
Returns
|
Improve this Doc
View Source
GetClearingById(Guid)
Declaration
public FinancialClearing GetClearingById(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
|
Improve this Doc
View Source
GetClearingByRemainingStockRecord(Guid)
Gets financial clearing by remaining stock
Declaration
public FinancialClearing GetClearingByRemainingStockRecord(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
|
Improve this Doc
View Source
GetClearingRecords(Guid)
gets all records assigned to the clearing
Declaration
public IEnumerable<FinancialRecord> GetClearingRecords(Guid clearingId)
Parameters
Type |
Name |
Description |
System.Guid |
clearingId |
|
Returns
|
Improve this Doc
View Source
GetPaymentRecordsByPersonalAccount(Guid)
Gets all row from v_financialrecord by personal account
Declaration
public IEnumerable<CommonPaymentRow> GetPaymentRecordsByPersonalAccount(Guid personalAccountId)
Parameters
Type |
Name |
Description |
System.Guid |
personalAccountId |
|
Returns
|
Improve this Doc
View Source
GetRecord(Guid)
Declaration
public FinancialRecord GetRecord(Guid recordId)
Parameters
Type |
Name |
Description |
System.Guid |
recordId |
|
Returns
|
Improve this Doc
View Source
GetRecordClearingByPersonalAccount(Guid)
Declaration
public IEnumerable<FinancialClearing> GetRecordClearingByPersonalAccount(Guid PersonalAccount)
Parameters
Type |
Name |
Description |
System.Guid |
PersonalAccount |
|
Returns
|
Improve this Doc
View Source
GetRecordTransactions(Guid)
Gets all record transactions
Declaration
public IEnumerable<FinancialRecordTransaction> GetRecordTransactions(Guid recordId)
Parameters
Type |
Name |
Description |
System.Guid |
recordId |
|
Returns
|
Improve this Doc
View Source
GetRecordTransactionsByClearing(Guid)
Gets all record transactions for a clearing
Declaration
public IEnumerable<FinancialRecordTransaction> GetRecordTransactionsByClearing(Guid clearingId)
Parameters
Type |
Name |
Description |
System.Guid |
clearingId |
|
Returns
|
Improve this Doc
View Source
GetRecordType(Guid)
Declaration
public FinancialRecordType GetRecordType(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
|
Improve this Doc
View Source
GetRecordTypes()
Declaration
public IEnumerable<FinancialRecordType> GetRecordTypes()
Returns
|
Improve this Doc
View Source
GetRemainingStock(Guid)
Gets the remaining stock of the clearing
Declaration
public FinancialRecord GetRemainingStock(Guid clearingId)
Parameters
Type |
Name |
Description |
System.Guid |
clearingId |
|
Returns
|
Improve this Doc
View Source
IsGLAUsedInBankDetails(Guid)
The bank details can only assign to one gla
Declaration
public bool IsGLAUsedInBankDetails(Guid glaId)
Parameters
Type |
Name |
Description |
System.Guid |
glaId |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
RemoveClearing(FinancialClearing)
Removes a clearing with all assigments
Declaration
public void RemoveClearing(FinancialClearing clearing)
Parameters
|
Improve this Doc
View Source
RemoveRecord(Guid)
Declaration
public void RemoveRecord(Guid recordId)
Parameters
Type |
Name |
Description |
System.Guid |
recordId |
|
|
Improve this Doc
View Source
RemoveRecordTransaction(FinancialRecordTransaction)
Removes the transaction assignment by record id
Declaration
public void RemoveRecordTransaction(FinancialRecordTransaction assignment)
Parameters
|
Improve this Doc
View Source
RemoveRecordType(Guid)
Declaration
public void RemoveRecordType(Guid typeId)
Parameters
Type |
Name |
Description |
System.Guid |
typeId |
|
|
Improve this Doc
View Source
RemoveTenantbankDetail(Guid)
Declaration
public void RemoveTenantbankDetail(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
|
Improve this Doc
View Source
SaveClearing(FinancialClearing)
Create or update the financial record transaction assigment
Declaration
public void SaveClearing(FinancialClearing clearing)
Parameters
|
Improve this Doc
View Source
SaveRecord(FinancialRecord)
Create or update the financial record
Declaration
public void SaveRecord(FinancialRecord record)
Parameters
|
Improve this Doc
View Source
SaveRecordTransaction(FinancialRecordTransaction)
Create or update the financial record transaction assigment
Declaration
public void SaveRecordTransaction(FinancialRecordTransaction assignment)
Parameters
|
Improve this Doc
View Source
SaveRecordType(FinancialRecordType)
Create or update the financial record type
Declaration
public void SaveRecordType(FinancialRecordType type)
Parameters
|
Improve this Doc
View Source
SaveTenantBankDetail(TenantBankDetail)
Create or update the financial record
Declaration
public void SaveTenantBankDetail(TenantBankDetail detail)
Parameters
|
Improve this Doc
View Source
SetRecordClearingId(Guid, Guid)
Sets the clearing assignemtn for a record
Declaration
public void SetRecordClearingId(Guid clearingId, Guid recordId)
Parameters
Type |
Name |
Description |
System.Guid |
clearingId |
|
System.Guid |
recordId |
|