Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Z_ChangeStockCode.php failed to delete the old stock master record : webERP v4.05
01-29-2012, 01:18 PM (This post was last modified: 01-29-2012 01:19 PM by phil.)
Post: #2
RE: Z_ChangeStockCode.php failed to delete the old stock master record : webERP v4.05
Looks like it choked deleting the old item code because there are still salescatprod - it is a member of a sales category ... we need to add some code to change the salescat to the new item code - see attached new script. I've not testing so if you could let me know how it goes.

Note that any changes noted in the message will be rolled back as all the changes are wrapped inside a DB transaction - so nothing is changed in fact in your DB


Attached File(s)
.php  Z_ChangeStockCode.php (Size: 13.78 KB / Downloads: 2)

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Z_ChangeStockCode.php failed to delete the old stock master record : webERP v4.05 - phil - 01-29-2012 01:18 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)