public void CellAfterCalcCycle() { var LTaxCell = FApplication.GetCurrentTaxCell(); Assert.IsNotNull(LTaxCell, "Please open the client file and select the cell"); var LCellPath = LTaxCell.GetCellNameWithGroup(); FClientFileManager.GetCurrentClientFile().RunCalcForAllReturns(); Assert.AreEqual(LCellPath, LTaxCell.GetCellNameWithGroup()); }
public void GetCurrentClientFile() { if (FManager.GetCount() > 0) { var LFile = FManager.GetCurrentClientFile(); Assert.IsNotNull(LFile); LFile = null; Assert.IsNull(LFile); } else { var LFile = FManager.GetCurrentClientFile(); Assert.IsNull(LFile); } }
private void DoClientFileProperties() { IAppClientFileManagerService aManager = (IAppClientFileManagerService)_appInstance; IAppClientFile aFile = aManager.GetCurrentClientFile(); if (aFile == null) { MessageBox.Show("Please Open a Client File first"); } else { ClientFileProperties.ShowProperties(aFile); } }