abhinav Chaitanya wrote:
what is /Products(1) in "oModel.read('/Products(1)', null, null, true, function(oData, oResponse)" Thank You
Products is the entityset or collection. so in this example, product with ID (key)1 is being read. basically it will trigger get_entity method of Z*DPC_EXT class in the backend.
If we try to call as
oModel.read('/Products', null, null, true, function(oData, oResponse)
then it would be query operation i.e get_entityset method will be triggered in backend
Regards,
Chandra