Ejemplo n.º 1
0
 private void AddFA()
 {
     NewFA = new AccountsBudgetDetailsSet {
         AccountsMainId = Account.Id
     };
     FAList = new ObservableCollection <FASet>(_faService.GetFAList());
     if (AccountStoresList.Count == 1)
     {
         NewFA.AccountStoreNumber = AccountStoresList.FirstOrDefault().StoreNumber;
     }
     if (AccountCapexList.Count == 1)
     {
         NewFA.EquipmentCapexId = AccountCapexList.FirstOrDefault().CapexId;
     }
     AddFAOpen = true;
 }
Ejemplo n.º 2
0
 public void AddFAToAccount(AccountsBudgetDetailsSet newFA)
 {
     _accountFARepository.Add(newFA);
 }
Ejemplo n.º 3
0
 private void CloseFA()
 {
     NewFA     = new AccountsBudgetDetailsSet();
     AddFAOpen = false;
 }