Page 2 of 4

Problem in calculation input values

Posted: Tue Jul 08, 2014 9:37 am
by Prudhvi Kumar Chowdary

Hi Katya and Evgene

Till now every thing is fine, now i need to update Avaliable amt in header to Order Amount, please help me


Problem in calculation input values

Posted: Tue Jul 08, 2014 10:05 am
by Kateryna Grynko

Hi Prudhvi,

You would need to add Update service: http://devcenter.appery.io/documentat...

Map this component to an appropriate Database parameter: http://devcenter.appery.io/documentat...


Problem in calculation input values

Posted: Tue Jul 08, 2014 10:23 am
by Prudhvi Kumar Chowdary

Image
.

i user update service and invoked services on button click also, but its not updating in database.......


Problem in calculation input values

Posted: Tue Jul 08, 2014 12:11 pm
by Kateryna Grynko

Hi Prudhvi,

You would need to specify an _id of record you want to update for this service.


Problem in calculation input values

Posted: Wed Jul 09, 2014 4:45 am
by Prudhvi Kumar Chowdary

how to do that, and where i have to specify..........


Problem in calculation input values

Posted: Wed Jul 09, 2014 6:10 am
by Kateryna Grynko

Hi Prudhvi,

If there is the same parameter for all users, just add the record id to mapping.
If there are separate parameters, you would need to read in localStorage variable (http://devcenter.appery.io/documentat...), and then map it to a service.


Problem in calculation input values

Posted: Wed Jul 09, 2014 12:08 pm
by Prudhvi Kumar Chowdary

hi Katya,

thank you for helping, every think till now working successfully......


Problem in calculation input values

Posted: Wed Jul 09, 2014 12:23 pm
by Kateryna Grynko

Hi Prudhvi,

Let us know if you need any further help.


Problem in calculation input values

Posted: Wed Jul 09, 2014 12:52 pm
by Prudhvi Kumar Chowdary

Hi Katya,
.
Image
.

as shown in above screen, i need to update the Avaliable Units with the Remaining Units on clicking Place Order Button, all those avaliable units are coming for database in loop, how to do this, please help me............


Problem in calculation input values

Posted: Wed Jul 09, 2014 5:40 pm
by Evgene Karachevtsev

Hello,

Please clarify, each line of goods in the screenshot is a separate entry in the database? If it is, then you have to go through all the rows in a loop and call the service pack for each entry in the database, as per request, you can update only one entry