The expenses of subcontracting are calculated based on the gross input of the finished goods. The expenses are determined by multiplying the subcontracting rate factor and the subcontracting rate by the end item quantity presented in the Ordered Quantity field of the Purchase Order Lines (tdpur4101m000) session.