Back

Manually adding Items or removing Items from Master Data Hierarchies

Master Data in Hierarchies
Video 3/4
The "Expert" videos require detailed knowledge about how to use Business Central. Expert
Open Playlist

Even though I’m building hierarchies automatically based on master data information, I could want to add items manually to the hierarchy, for instance, if it’s for a webshop, or for other purposes, or like to add some of the items further up in the hierarchy.

Transcription of video

So if I go into my hierarchy to display this, information setup, and I go into my master data hierarchy like this, and from the process, I could refresh the hierarchy with item and this is the way it refreshes automatically based on master data.

Now, let’s say for example, I would like this item 1041 to be placed directly onto the male because in this hierarchy, I want to use those information for the wepshop, so I want to add this item directly when you go into the male part of the webshop even though it’s also placed in Sports Nexus hierarchy somewhere.

So I can just place myself up here and from my process, I can add items to the hierarchy and the items of course need to fulfill the criteria for the place I have added in the hierarchy, so this is the filtered view, I can only select the items here that respect those master data information. And by pressing Okay, now, it’s added here in the hierarchy.

And when I refresh my hierarchy, just to show that it’s working of course, if I refresh with the parts of the hierarchy, and I come back to my top-level hierarchy, the item’s still here, of course.

So this way I can add manually item different places in the hierarchy as long as they fulfill the master data criteria, meaning in this case that it’s a male bike. And now when my item is manually added to the hierarchy, of course, it doesn’t make sense that it should disappear when I update my item relation and this means when I automatically update all my relations takes into account the manual added items and they will be left in the hierarchy if I refresh again with items.

If I’m trying to delete an item from the hierarchy, let’s just take the Street bike down here and try to delete that. I can remove it from the hierarchy and then it tests if it’s placed in the hierarchy manually or automatically calculated. And if it’s calculated, it says that I cannot remove it because it will only pop up again when I refresh or calculate the hierarchy again, so it doesn’t make sense.

Whereas the manually edited item could be moved from the hierarchy again by the remove item from hierarchy functionality, and then it disappears again. So, it’s possible to add extra item in the hierarchy and still maintain or recalculate the hierarchy.