[progress Communities] [progress Openedge Abl] Forum Post: Re: Is The Clone-api Allready...

  • Thread starter Thread starter Wim
  • Start date Start date
Status
Not open for further replies.
W

Wim

Guest
Hello Anvi Jain, Thanks for your reply; is it correct hat the autonumber sequence (as it is its property – autonumber) is also set in this way. The cloned record wil get the ordernumber that is required (last + 1). That looks clear. But will the ordernumber field also be updated and then hold the updated number for the next orders to come? Kindly reply, of course we will test suggested approach. Wim Hassink Van: Anvi Jain [mailto:bounce-anjain@community.progress.com] Verzonden: donderdag 17 november 2016 11:03 Aan: TU.Rollbase@community.progress.com Onderwerp: RE: [Technical Users - Rollbase] Is the clone-API allready aware of the fact that an autonumber field should be updated accordingly Update from Progress Community Anvi Jain Hi Wim, I have verified the case and it still seems to be an issue. A bug has been logged for this. However as a workaround I would suggest you to clone the record using the data record page. In case of cloning through the API(serverSide) you can refer the example below: var auto=rbv_api.selectNumber("SELECT ordernumber FROM Orders order by createdAt desc"); var x = new Array(); x["ordernumber"]=auto+1; rbv_api.cloneRecord("Orders", 339180, x); Thanks, Anvi View online You received this notification because you subscribed to the forum. To unsubscribe from only this thread, go here . Flag this post as spam/abuse.

Continue reading...
 
Status
Not open for further replies.
Back
Top