HomeHome Product Discus... Product Discus...SmithCartSmithCarthow to tie inventory on hand to another pos systemhow to tie inventory on hand to another pos system
Previous
 
Next
New Post
8/16/2010 9:23 PM
 

I want to write a piece of middle ware that updates the quantities between our store system and the online, do you have a copy of the datamodel I can look at? (it looks pretty obivous in the DB, but I wnat to make sure I'm not missing anything) Basically I need to be able to query how many have sold since I last looked and how to update the quantity available for a particular product.

thanks,

Rob

 
New Post
8/17/2010 11:45 AM
 

We don't publish a data model document (ERD) but you can easily create one in SQL Mgmt Studo by right clicking on the "Database Diagrams" tab and selecting "New Database Diagrams"

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/23/2010 11:24 AM
 

I did this already to get inventory counts from our accounting software and keep the web store up to date.

The field that you're looking for is in Smith_Products, and it's called QuantityOnHand

You can update it with a simple SQL UPDATE statement in a stored procedure (preferably). The *best* way is if the SKU in the store matches the SKU in your accounting system.

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCarthow to tie inventory on hand to another pos systemhow to tie inventory on hand to another pos system