async void SetLocation(InvWarehouse master, ProductionOrderLineClient rec) { if (api.CompanyEntity.Location) { if (master != null) { rec.locationSource = master.Locations ?? await master.LoadLocations(api); } else { rec.locationSource = null; rec.Location = null; } rec.NotifyPropertyChanged("LocationSource"); } }
async void setLocation(InvWarehouse master, ProjectJournalLineLocal rec) { if (api.CompanyEntity.Location) { if (master != null) { rec.locationSource = master.Locations ?? await master.LoadLocations(api); } else { rec.locationSource = null; rec.Location = null; } rec.NotifyPropertyChanged("LocationSource"); } }
async void setLocationTo(InvWarehouse master, InvJournalLineGridClient rec) { if (api.CompanyEntity.Location) { if (master != null) { rec.locationToSource = master.Locations ?? await master.LoadLocations(api); } else { rec.locationToSource = null; rec.LocationTo = null; } rec.NotifyPropertyChanged("LocationToSource"); } }
async void setLocation(InvWarehouse master, InvItemStorageCount rec) { if (api.CompanyEntity.Location) { if (master != null) { rec.locationSource = master.Locations ?? await master.LoadLocations(api); } else { rec.locationSource = null; rec.Location = null; } rec.NotifyPropertyChanged("LocationSource"); } }