Forums/How Do I ... ?

Programmatically Update DB Item

Jason
posted this on February 17, 2012, 08:36

Are there any examples of programmatically updating a field within a database item? I'm creating product entries and want to have an inventory qty field and based on a purchase transaction I want to decrement that value in the database.

Is there a way to do this via webvanta script or the like?

Thanks,

Jason

 

Comments

User photo
Michael Slater
Webvanta

WebvantaScript access to the database is read-only, except for submitting forms.

We have, on a custom basis, set up the ability to decrement a quantity field in response to a purchase confirmation. I'll ask Christopher to follow up with you on how we might be able to set this up for you.

Michael

February 17, 2012, 08:49