public override void Execute() { var objSpace = (XPObjectSpace)Application.CreateObjectSpace(); var paramObj = FinGenJournalParam.GetInstance(objSpace); var dialog = new Xafology.ExpressApp.SystemModule.PopupDialogDetailViewManager(Application); dialog.Accepting += dialog_Accepting; _ParamObj = paramObj; dialog.ShowView(objSpace, paramObj); }
private void ShowGeneratorForm(ShowViewParameters svp) { var objSpace = (XPObjectSpace)Application.CreateObjectSpace(); var paramObj = FinGenJournalParam.GetInstance(objSpace); _ParamObj = paramObj; var detailView = Application.CreateDetailView(objSpace, paramObj); svp.CreatedView = detailView; }
private void OkAction_Execute(object sender, SimpleActionExecuteEventArgs e) { FinGenJournalParam paramObj = e.CurrentObject as FinGenJournalParam; var journalGenerator = new ParamJournalGenerator(paramObj, (XPObjectSpace)ObjectSpace); journalGenerator.Execute(); ObjectSpace.CommitChanges(); View.Close(); new Xafology.ExpressApp.SystemModule.GenericMessageBox( "Journals successfully generated. Please refresh the Cash Gen Ledger Report.", "Journal Generation SUCCESS"); }
public AccountSqlJournalHelper(XPObjectSpace objSpace, FinGenJournalParam paramObj) { this.objSpace = objSpace; this.paramObj = paramObj; if (paramObj.FromDate <= SqlDateTime.MinValue.Value) { this.fromDate = SqlDateTime.MinValue.Value; } else { this.fromDate = paramObj.FromDate; } if (paramObj.ToDate <= SqlDateTime.MinValue.Value) { this.toDate = SqlDateTime.MaxValue.Value; } else { this.toDate = paramObj.ToDate; } }
public GenLedgerUnpostedCreator(XPObjectSpace objSpace, FinGenJournalParam paramObj) { this.objSpace = objSpace; this.paramObj = paramObj; if (paramObj.FromDate <= SqlDateTime.MinValue.Value) { this.fromDate = SqlDateTime.MinValue.Value; } else { this.fromDate = paramObj.FromDate; } if (paramObj.ToDate <= SqlDateTime.MinValue.Value) { this.toDate = SqlDateTime.MaxValue.Value; } else { this.toDate = paramObj.ToDate; } }
public CashFlowActivityOrmJournalHelper(XPObjectSpace objSpace, FinGenJournalParam paramObj) { this.objSpace = objSpace; this.paramObj = paramObj; }
public BankStmtActivitySqlJournalHelper(XPObjectSpace objSpace, FinGenJournalParam paramObj) : base(objSpace, paramObj) { }
public MockJournalDeleter(FinGenJournalParam paramObj) { }
public ParamJournalGenerator(FinGenJournalParam paramObj, XPObjectSpace objSpace) { this.paramObj = paramObj; this.objSpace = objSpace; }
public CashFlowActivitySqlJournalHelper(XPObjectSpace objSpace, FinGenJournalParam paramObj) : base(objSpace, paramObj) { }