I am on sales order screen using the SalesOrderHistory object on the sales order SaveStart event
user has selected a NON default delivery address.
I need to to obtain the "EDI Store Location Code" value ( This field - that is on debtor master deliver address tab ) for the selected delivery address.
However , the SalesOrderHistory does not contain that value , it contains Address 1 , Address 2 etc but not this one.
I am currently querying the DB_DeliveryAddress table based on the selected Address 1 - but this is not the best outcome for me as I have to restrict the user from editing the Address 1 field on sales order
any ideas ?


