Prudhvi Kumar Chowdary
Posts: 0
Joined: Fri Jul 04, 2014 5:17 am

Problem in calculation input values

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Problem in calculation input values

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...

Prudhvi Kumar Chowdary
Posts: 0
Joined: Fri Jul 04, 2014 5:17 am

Problem in calculation input values

Image
.

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Problem in calculation input values

Hi Prudhvi,

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

Prudhvi Kumar Chowdary
Posts: 0
Joined: Fri Jul 04, 2014 5:17 am

Problem in calculation input values

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Problem in calculation input values

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.

Prudhvi Kumar Chowdary
Posts: 0
Joined: Fri Jul 04, 2014 5:17 am

Problem in calculation input values

hi Katya,

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Problem in calculation input values

Hi Prudhvi,

Let us know if you need any further help.

Prudhvi Kumar Chowdary
Posts: 0
Joined: Fri Jul 04, 2014 5:17 am

Problem in calculation input values

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............

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Problem in calculation input values

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

Return to “Issues”