on 10-12-2015 8:38 AM
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();
},
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.