view() vs data() in Table 4: controller.public.js file for c

Posted by GregHiggins on 19-Mar-2018 12:48

in displayCustomer we see var data = this.customerDS.data(); and later this.customerModel.CustNum = data[this.customerIdx].CustNum;

in displaySalesRep we see var view = this.salesrepDS.view(); and later this.salesrepModel.SalesRep = view[0].SalesRep;

Was this just because the customer record needed to be manipulated by setting the customerInx value or for some other reason. 

All Replies

This thread is closed