Hi Dan,
The same limitations apply for on-prim for line items on a contract or a sourcing project(or event). With on-prim there exists an option to modify the code code but these modifications are not supported by Ariba Support team and will have to be handled separately in case of any patches and or upgrades.
Regards
Vilas