public override IGeneralOperationsBooking Storno(IInternalEmployeeLogin employee, string reason, IMemorialBooking journalEntry) { CashTransfer newStorno = new CashTransfer(); return this.storno(employee, reason, journalEntry, newStorno); }
private void checkCreateCashMutationComponent() { if (GiroAccount != null && GLAccount != null && Status == JournalEntryLineStati.Booked && BookComponent == null) { if (IsCashTransfer) { ICashTransfer cashMut = new CashTransfer(this); } // TODO //else if (IsForeignExchange) //{ // IForeignExchange forex = new ForeignExchange(this); //} else throw new ApplicationException("It is not possible to create a booking for a giro account else than either deposit or withdrawal."); } }