I have different recordtypes for the Order object, and the line items (OrderItem) need to show different fields depending on the Order recordtype, yet I can't seem to do this. It allows me to create different page layouts for the OrderItem, but how can I choose which OrderItem layout to display depending on the Order recordtype?
This is not possible at the present time -- recordtypes on Order Product (
OrderItem). Nor is it available on
What SFDC is trying to get you to do is avoid the overloading of the line item SObject with multiple meanings and custom fields for various flavors.
The line items are supposed to be SKU (product code) - quantity - price. What makes one line item different from another is the SKU. Hence think of the
Product2 as the way to flavor your line item with different characteristics.
For example, fields on
Is Returnable? or
Is Refundable? or
Is Fulfilled by. These can be used to in reporting on line items w/ products as well as in any apex or formula logic you need.