Mass. Gen. Laws ch. 106, § 9-324
(b) Inventory purchase-money priority. Subject to subsection (c) and except as otherwise provided in subsection (g), a perfected purchase-money security interest in inventory has priority over a conflicting security interest in the same inventory, has priority over a conflicting security interest in chattel paper or an instrument constituting proceeds of the inventory and in proceeds of the chattel paper, if so provided in Section 9–330, and, except as otherwise provided in Section 9–327, also has priority in identifiable cash proceeds of the inventory to the extent the identifiable cash proceeds are received on or before the delivery of the inventory to a buyer, if:
(c) Holders of conflicting inventory security interests to be notified. Subsections (b)(2) through (4) apply only if the holder of the conflicting security interest had filed a financing statement covering the same types of inventory:
(d) Livestock purchase-money priority. Subject to subsection (e) and except as otherwise provided in subsection (g), a perfected purchase-money security interest in livestock that are farm products has priority over a conflicting security interest in the same livestock, and, except as otherwise provided in Section 9–327, a perfected security interest in their identifiable proceeds and identifiable products in their unmanufactured states also has priority, if:
(e) Holders of conflicting livestock security interests to be notified. Subsections (d)(2) to (4), inclusive, apply only if the holder of the conflicting security interest had filed a financing statement covering the same types of livestock:
(g) Conflicting purchase-money security interests. If more than 1 security interest qualifies for priority in the same collateral under subsection (a), (b), (d), or (f):