public override ITransaction Storno(IAccountTypeInternal stornoAccount, B4F.TotalGiro.Stichting.Login.IInternalEmployeeLogin employee, string reason, ITradingJournalEntry tradingJournalEntry) { ICrumbleTransaction newStorno = new CrumbleTransaction(); newStorno.Order = Order; this.storno(stornoAccount, employee, reason, tradingJournalEntry, newStorno); return newStorno; }
public override ITransaction Storno(IAccountTypeInternal stornoAccount, B4F.TotalGiro.Stichting.Login.IInternalEmployeeLogin employee, string reason, ITradingJournalEntry tradingJournalEntry) { IOrderAllocation newStorno = new OrderAllocation(); newStorno.Order = Order; this.storno(stornoAccount, employee, reason, tradingJournalEntry, newStorno); if (this.IsClientSettled) { newStorno.IsClientSettled = true; newStorno.ClientSettlementDate = this.ClientSettlementDate; } return newStorno; }
public override IGeneralOperationsBooking Storno(B4F.TotalGiro.Stichting.Login.IInternalEmployeeLogin employee, string reason, IMemorialBooking journalEntry) { ForeignExchange newStorno = new ForeignExchange(); return this.storno(employee, reason, journalEntry, newStorno); ; }
public override ITransaction Storno(IAccountTypeInternal stornoAccount, B4F.TotalGiro.Stichting.Login.IInternalEmployeeLogin employee, string reason, ITradingJournalEntry tradingJournalEntry) { CorporateActionStockDividend newStorno = new CorporateActionStockDividend(); this.storno(stornoAccount, employee, reason, tradingJournalEntry, newStorno); return newStorno; }
public void Remove(B4F.Web.TGWebService.Cashflow obj) { base.Remove(obj); }
public B4F.Web.TGWebService.Cashflow Add(B4F.Web.TGWebService.Cashflow obj) { return CashFlowCollection.Add(obj); }
public B4F.Web.TGWebService.Cashflow Add(B4F.Web.TGWebService.Cashflow obj) { base.Add(obj); return obj; }
public B4F.Web.TGWebService.ExpectedCapitalValueType Add(B4F.Web.TGWebService.ExpectedCapitalValueType obj) { base.Add(obj); return obj; }
public abstract ISecurityOrder Convert(B4F.TotalGiro.Instruments.Price price, B4F.TotalGiro.OrderRouteMapper.IOrderRouteMapper route);
public static DataSet GetFeeCalculations( string calcName, FeeTypes feeType, B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus activeStatus, string propertyList) { DataSet ds = null; IDalSession session = NHSessionFactory.CreateSession(); Hashtable parameters = new Hashtable(); if (!string.IsNullOrEmpty(calcName)) parameters.Add("calcName", Util.PrepareNamedParameterWithWildcard(calcName, MatchModes.Anywhere)); if (feeType > 0) parameters.Add("feeType", feeType); if (activeStatus != B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus.All) parameters.Add("isActive", (activeStatus == B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus.Active)); IManagementCompany comp = LoginMapper.GetCurrentManagmentCompany(session); if (comp == null) throw new ApplicationException("Not good"); else if (!comp.IsStichting) parameters.Add("managementCompanyID", comp.Key); List<IFeeCalc> calculations = session.GetTypedListByNamedQuery<IFeeCalc>( "B4F.TotalGiro.Fees.FeeCalculations.FeeCalculations", parameters); ds = DataSetBuilder.CreateDataSetFromBusinessObjectList( calculations, propertyList); session.Close(); return ds; }
public override ITransaction Storno(IAccountTypeInternal stornoAccount, B4F.TotalGiro.Stichting.Login.IInternalEmployeeLogin employee, string reason, ITradingJournalEntry tradingJournalEntry) { InstrumentConversion newStorno = new InstrumentConversion(); if (this.ConvertedInstrumentSize != null) newStorno.ConvertedInstrumentSize = this.ConvertedInstrumentSize.Negate(); this.storno(stornoAccount, employee, reason, tradingJournalEntry, newStorno); return newStorno; }
public void Remove(B4F.Web.TGWebService.ExpectedCapitalValueType obj) { base.Remove(obj); }
public void Insert(int index, B4F.Web.TGWebService.ExpectedCapitalValueType obj) { base.Insert(index, obj); }
public override ISecurityOrder Convert(Price price, B4F.TotalGiro.OrderRouteMapper.IOrderRouteMapper routeMapper) { throw new ApplicationException("Client Orders may not be converted at this time"); }
public void Insert(int index, B4F.Web.TGWebService.Cashflow obj) { base.Insert(index, obj); }
public static DataSet GetLifecycles(string lifecycleName, B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus activeStatus, bool isInsert) { using (IDalSession session = NHSessionFactory.CreateSession()) { Hashtable parameters = new Hashtable(); parameters.Add("managementCompanyID", ModelMaintenanceAdapter.getAssetManager().GetV(x => x.Key)); if (!string.IsNullOrEmpty(lifecycleName)) parameters.Add("name", Util.PrepareNamedParameterWithWildcard(lifecycleName)); if (activeStatus != B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus.All) parameters.Add("isActive", activeStatus == B4F.TotalGiro.ApplicationLayer.UC.AccountFinderAdapter.AccountGuiStatus.Active); List<ILifecycle> list = session.GetTypedListByNamedQuery<ILifecycle>( "B4F.TotalGiro.Instruments.Lifecycles", parameters); if (isInsert) list.Add(new Lifecycle("Lifecycle", ModelMaintenanceAdapter.getAssetManager())); return list.Select(c => new { c.Key, c.Name, c.CreatedBy, c.CreationDate, c.LastUpdated, c.IsActive }) .ToDataSet(); } }
public B4F.Web.TGWebService.ExpectedCapitalValueType Add(B4F.Web.TGWebService.ExpectedCapitalValueType obj) { return ExpectedCapitalValueCollection.Add(obj); }