In context of an order (Item search, Edit Order, Shipping, Payment and Confirmation)

Entity type = SalesHubBasket

Sales Hub field Context field
BasketID id1

Entity type = InforSalesOrder

M3 field Context field
Order number (ORNO) id1