public static bool Revaluate( int ALedgerNum, int AAccoutingPeriod, string[] AForeignCurrency, decimal[] ANewExchangeRate, out TVerificationResultCollection AVerificationResult) { CLSRevaluation revaluation = new CLSRevaluation(ALedgerNum, AAccoutingPeriod, AForeignCurrency, ANewExchangeRate); bool blnReturn = revaluation.RunRevaluation(); AVerificationResult = revaluation.VerificationResultCollection; return(blnReturn); }
public static bool Revaluate( int ALedgerNum, string[] AForeignAccount, decimal[] ANewExchangeRate, String ACostCentre, out TVerificationResultCollection AVerificationResult) { CLSRevaluation revaluation = new CLSRevaluation(ALedgerNum, AForeignAccount, ANewExchangeRate, ACostCentre); bool blnReturn = revaluation.RunRevaluation(); AVerificationResult = revaluation.VerificationResultCollection; return(blnReturn); }