Sage 100 Scripting - Find SO_SalesOrder_Bus obj from the SO_SalesOrderDetail_Bus

SOLVED

I am trying to create a script for when the Item Code changes in Sales Order Entry.  I have looked all over and I have seen posts that this is not available but I thought I would check since the posts I found were a few years old.

What I am trying to do is get a UDF or any field value from the Sales Order Header when I am the SO_SalesOrderDetail_bus object.  I tried the oBusObj.GetValue but this returned nothing and I figured that is because the oBusObj object is the SO_SalesOrderDetail_bus object.  So then I tried to find out a way to get the SO_SalesOrder_Bus object.

I am able to go from the SO_SalesOrder_bus object to the SO_SalesOrderDetail_bus object using the oLines but I can't seem to go the other way.