on 02-16-2017 9:07 AM
Hi,
We have a custom BO on which we query in the Event-Before SAVE is there a possibility to change the objects - which are results of the query. The current object this. is of course changed but the result of the query is not written to the DB. Must the result object fo the Query be instantiated ?
varqueryGONOGO = GONOGO.QueryByElements;
varselParameterGONOGO = queryGONOGO.CreateSelectionParams();
selParameterGONOGO.Add(queryGONOGO.HDProjectNr, "I", "EQ", this.HDProjectNr);
varresultGONOGO = queryGONOGO.ExecuteFromDB(selParameterGONOGO);
foreach(varresultGONOGOentryinresultGONOGO) {
if ( resultGONOGOentry.HDGoNoGoID != this.HDGoNoGoID ) {
resultGONOGOentry.HDLastGnGobyOpp = false;
HOW TO CHANGE the Query result object ??
}
} // foreach
} // if ACCOORD
Thanks - Regards,
Jeroen Cosijnse
Hi,
In C4C, whenever you pass the data to any field it should automatically update the same to BO instance. There is no specific method call for SAVE/MODIFY like in traditional SAP CRM.
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.