OpenPetra
Free Administration Software for Non-Profits
Ict.Petra.Server.MFinance.Setup.WebConnectors.TCorporateExchangeRatesSetupWebConnector Class Reference

setup the Corporate Exchange Rates More...

Static Public Member Functions

static TSubmitChangesResult SaveCorporateExchangeSetupTDS (ref CorporateExchangeSetupTDS AInspectDS, out int ATransactionsChanged, out TVerificationResultCollection AVerificationResult)
 Saves the corporate exchange setup TDS. More...
 
static bool CanDeleteCorporateExchangeRate (DateTime ADateEffectiveFrom, string AIntlCurrency, string ATransactionCurrency)
 Returns true if a Corporate Exchange Rate can be deleted. Cannot be deleted if it is effective for a period in the current year which has at least one batch. More...
 

Detailed Description

setup the Corporate Exchange Rates

Member Function Documentation

◆ CanDeleteCorporateExchangeRate()

static bool Ict.Petra.Server.MFinance.Setup.WebConnectors.TCorporateExchangeRatesSetupWebConnector.CanDeleteCorporateExchangeRate ( DateTime  ADateEffectiveFrom,
string  AIntlCurrency,
string  ATransactionCurrency 
)
inlinestatic

Returns true if a Corporate Exchange Rate can be deleted. Cannot be deleted if it is effective for a period in the current year which has at least one batch.

Parameters
ADateEffectiveFromCorporate Exchange Rate's Date Effective From
AIntlCurrency
ATransactionCurrency
Returns

◆ SaveCorporateExchangeSetupTDS()

static TSubmitChangesResult Ict.Petra.Server.MFinance.Setup.WebConnectors.TCorporateExchangeRatesSetupWebConnector.SaveCorporateExchangeSetupTDS ( ref CorporateExchangeSetupTDS  AInspectDS,
out int  ATransactionsChanged,
out TVerificationResultCollection  AVerificationResult 
)
inlinestatic

Saves the corporate exchange setup TDS.

Parameters
AInspectDSContaining all ACorporateExchangeRate records to be saved.
ATransactionsChangedNumber of transaction that were updated with the new exchange rate
AVerificationResult
Returns

The documentation for this class was generated from the following file: