If inventory item unit name matches the portion name it will decrease from that inventory. For example if Hawaaian recipe contains an inventory item that’s unit name is “Big Portion”, that inventory item will decrease when “Big Portion” selected for main product.
V5 have even more options for mapping order tags to recipes.