public BookingComponent(BookingComponentTypes bookingComponentType, IBookingComponentParent parent, DateTime creationDate) : this() { this.BookingComponentType = bookingComponentType; this.CreationDate = creationDate; this.Parent = parent; }
public ManagementFeeComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType, int period, FeeType mgtFeeType, DateTime creationDate) : base(parentBooking, bookingComponentType, creationDate) { this.Period = period; this.MgtFeeType = mgtFeeType; }
public IGLLookupRecord GetGLLookupRecord( ICurrency currency, bool isExternalExecution, bool isInternalExecution, bool isUnsettled, BookingComponentTypes bookingComponentType) { var returnvalue = from c in Records where ((c.IsExternalExecution == isExternalExecution) && (c.IsInternalExecution == isInternalExecution) && (c.IsUnSettled == isUnsettled) && (c.BookingComponentType == bookingComponentType) && (c.Currency.Equals(currency))) select c; if (returnvalue.Count() == 0) throw new ApplicationException("No Lookup record is matched."); return returnvalue.ElementAt(0); }
public BookingComponent(BookingComponentTypes bookingComponentType, IBookingComponentParent parent) : this(bookingComponentType, parent, DateTime.Now) { }
public BookingComponentParent(BookingComponentTypes bookingComponentType, DateTime creationDate) { this.Component = new BookingComponent(bookingComponentType, this, creationDate); }
private IGLLookupRecord GetLookupRecord(Money componentValue, BookingComponentTypes bookingComponentType, bool isSettled, bool isExternalExecution, bool isInternalExecution, IGLLookupRecords lookups) { ICurrency currency = componentValue.Underlying.ToCurrency; return lookups.GetGLLookupRecord(currency, isExternalExecution, isInternalExecution, !isSettled, bookingComponentType); }
public void AddLinesToComponent(Money componentValue, BookingComponentTypes bookingComponentType, bool isSettled, bool isExternalExecution, bool isInternalExecution, IGLLookupRecords lookups, IAccount accountA, IAccount accountB, DateTime? valueDate) { IGLLookupRecord lookupRecord = GetLookupRecord(componentValue, bookingComponentType, isSettled, isExternalExecution, isInternalExecution, lookups); this.Component.AddLinesToComponent(componentValue, lookupRecord, accountA, accountB, valueDate); }
public void AddLinesToComponent(Money componentValue, BookingComponentTypes bookingComponentType, bool isSettled, bool isExternalExecution, bool isInternalExecution, IGLLookupRecords lookups, IAccount accountA, IAccount accountB) { AddLinesToComponent(componentValue, bookingComponentType, isSettled, isExternalExecution, isInternalExecution, lookups, accountA, null, null); }
public CashDividendComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType, DateTime creationDate) : base(parentBooking, bookingComponentType, creationDate) { }
public CashDividendComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType) : this(parentBooking, bookingComponentType, DateTime.Now) { }
public ForeignExchangeComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType, DateTime creationDate) : base(parentBooking, bookingComponentType, creationDate) { }
public ForeignExchangeComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType) : this(parentBooking, bookingComponentType, DateTime.Now) { }
public ManagementFeeComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType, int period, FeeType mgtFeeType) : this(parentBooking, bookingComponentType, period, mgtFeeType, DateTime.Now) { }
public GeneralOperationsComponent(IGeneralOperationsBooking parentBooking, BookingComponentTypes bookingComponentType, DateTime creationDate) : base(bookingComponentType, creationDate) { this.ParentBooking = parentBooking; }
public TransactionComponent(ITransaction parentTransaction, BookingComponentTypes bookingComponentType, DateTime creationDate) : base(bookingComponentType, creationDate) { this.ParentTransaction = parentTransaction; }
public TransactionComponent(ITransaction parentTransaction, BookingComponentTypes bookingComponentType) : this(parentTransaction, bookingComponentType, DateTime.Now) { }