(03-16-2014, 05:39 AM)weberp Wrote: Hi Nirosh, To set an item to discontinued (or obsolete) you do it by going to select an item from the inventory menu, find the part, and select "Modify Item Details". You will see an option for Current or Obsolete. Choose obsolete. What errors were you getting with Z_ChangeStockCode.php?
Thanks
Tim
Hi Tim,
Sorry for my late reply. This is the error that I'm getting with Z_ChangeStockCode.php.
------------------------------------------------
Adding the new stock master record ... completed
Changing stock location records ... completed
Changing stock movement records ... completed
Changing location transfer information ... completed
Changing MRP demands information ... completed
Changing MRP planned orders information
Database Error : The SQL to update the mrpplannedorders records failed
Table 'kthlerpc_jci.mrpplannedorders' doesn't exist
Database SQL Failure : The SQL statement that failed was
UPDATE mrpplannedorders SET part='235/75X15/NK/FT7/OWL' WHERE part='235/75X15/NK/WL/LP '
--------------------------------------------------
And as you instructed I discontinued several Stock ids selecting "Obsolete" under modified Item details. But still appearing in the reports. Ex.List Inventory Status by location / category.
Herewith I attached the relevant php file.
Please instruct me how to sort of these issues.
Thanks,
nirosh