Mass. Gen. Laws ch. 106, § 9-103
(a) Definitions. In this section:
(b) Purchase-money security interest in goods. A security interest in goods is a purchase-money security interest:
(c) Purchase-money security interest in software. A security interest in software is a purchase-money security interest to the extent that the security interest also secures a purchase-money obligation incurred with respect to goods in which the secured party holds or held a purchase-money security interest if:
(e) Application of payment in non-consumer-goods transaction. In a transaction other than a consumer-goods transaction, if the extent to which a security interest is a purchase-money security interest depends on the application of a payment to a particular obligation, the payment shall be applied:
(3) in the absence of an agreement to a reasonable method and a timely manifestation of the obligor's intention, in the following order:
(f) No loss of status of purchase-money security interest in non-consumer-goods transaction. In a transaction other than a consumer-goods transaction, a purchase-money security interest does not lose its status as such, even if: