예제 #1
0
        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());
        }
예제 #2
0
 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);
     }
 }
예제 #3
0
        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);
            }
        }