private void loadRelatedReferences() { if (!CMasterReference.IsLocationLoad()) { CMasterReference.LoadLocation(true, null); } }
private void loadRelatedReferences() { if (!CMasterReference.IsLocationLoad()) { CMasterReference.LoadLocation(true, null); } if (!CMasterReference.IsCashAccountLoad()) { CMasterReference.LoadCashAccount(OnixWebServiceAPI.GetCashAccountList); } }
private void loadRelatedReferences() { if (!CMasterReference.IsCashAccountLoad()) { CMasterReference.LoadCashAccount(OnixWebServiceAPI.GetCashAccountList); } if (!CMasterReference.IsLocationLoad()) { CMasterReference.LoadLocation(true, null); } if (!CMasterReference.IsMasterRefLoad(MasterRefEnum.MASTER_BRANCH)) { CMasterReference.LoadAllMasterRefItems(OnixWebServiceAPI.GetMasterRefList); } }
private void mnuLocationAdd_Click(object sender, RoutedEventArgs e) { if (!CHelper.VerifyAccessRight("INVENTORY_LOCATION_ADD")) { return; } ObservableCollection <MBaseModel> arr = new ObservableCollection <MBaseModel>(); String caption = CLanguage.getValue("add") + " " + CLanguage.getValue("location"); CWinLoadParam param = new CWinLoadParam(); param.Caption = caption; param.Mode = "A"; param.ParentItemSources = arr; Boolean refresh = FactoryWindow.ShowWindow("WinAddEditLocation", param); if (refresh) { CMasterReference.LoadLocation(true, null); } }
private void refreshLocation() { CMasterReference.LoadLocation(true, null); }