コード例 #1
0
ファイル: CashTransfer.cs プロジェクト: kiquenet/B4F
 public override IGeneralOperationsBooking Storno(IInternalEmployeeLogin employee, string reason, IMemorialBooking journalEntry)
 {
     CashTransfer newStorno = new CashTransfer();
     return this.storno(employee, reason, journalEntry, newStorno);
 }
コード例 #2
0
ファイル: JournalEntryLine.cs プロジェクト: kiquenet/B4F
 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.");
     }
 }