Hi all,
I tried this code for posting data but its not working i'm getting error like Method 'POSTADVERTSET_CREATE_ENTITY' not implemented in data provider class. Any other code i missed here. please correct it.. Thanks in advance.
CODE:
Posdata: function(evt){
var oModel = this.getView().getModel();
var vProperties = {};
vProperties.Offid="0000366";
vProperties.Rcins="00000043";
vProperties.Pbdat="2015-07-30T00:00:00";
vProperties.Vldat="2015-07-30T00:00:00";
vProperties.Pcost="300";
vProperties.Idtxt="ODATA TEST";
vProperties.Curry="USD";
//vProperties.Id = 0;
oModel.createEntry("PostAdvertSet", vProperties);
oModel.submitChanges(this._fnSuccess, this._fnError);
oModel.refresh();
},