Hi Vipluve,
Thanks if u do find out let me know, Yes ToSalesOrders I issue the "Expand" statement during binding of the view to the root collection (In this case BusinessPartnerSet)
_onObjectMatched : function (oEvent) {
var sObjectId = oEvent.getParameter("arguments").objectId;
this.getModel().metadataLoaded().then( function() {
var sObjectPath = this.getModel().createKey("BusinessPartnerSet", {
BusinessPartnerID : sObjectId
});
this._bindView("/" + sObjectPath);
}.bind(this));
},
_bindView : function (sObjectPath) {
var oViewModel = this.getModel("salesOrderView"),
oDataModel = this.getModel();
this.getView().bindElement({
path: sObjectPath,
parameters: {
expand: "ToSalesOrders"
},