Store |
4/28/2009 6:21:22 AM |
PHPRunner General questions | |
A
all3ssaf author
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=11681&image=1&table=forumtopics' class='bbc_emoticon' alt=':(' /> hi |
|
J
|
Jane 4/28/2009 |
Hi, global $dal; $rs = $dal->Store->Query("`Type_Name`='".$values["Type_Name"]."'",""); $data = db_fetch_array($rs); $values["remaining_quantity_in_the _Store"] = $values["No"] - $data["No._in_Store"]; |
A
|
all3ssaf author 4/28/2009 |
Hi, to update remaining_quantity_in_the _Store field use Before record added/Before record updated events on theEvents tab. Here is a sample:
|
![]() |
Sergey Kornilov admin 4/28/2009 |
Make sure Store table is included into your project. |
A
|
all3ssaf author 4/30/2009 |
Make sure Store table is included into your project.
|
J
|
Jane 4/30/2009 |
It's difficult to tell you what's happening without seeing actual files. |