Welcome, Guest. Please Login.
05/13/25 at 12:18:34
News:
Home Help Search Login


Pages: 1
Send Topic Print
Updating Item Class (Read 1227 times)
PaulG
Browser
*


I Love EvoERP!

Posts: 32
Updating Item Class
04/04/11 at 15:07:29
 
Is there a utility to change all item classes (or batch)? I tried DE-K but that utility does nothing.
 
Evo-ERP Update 1/18/11
Back to top
 
 
  IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Updating Item Class
Reply #1 - 04/04/11 at 15:45:28
 
What exactly are you trying to do?  Change all parts belonging to class ABC to class 123?
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
PaulG
Browser
*


I Love EvoERP!

Posts: 32
Re: Updating Item Class
Reply #2 - 04/05/11 at 11:14:26
 
Yes that would work. Or just change all parts to class 123.
Back to top
 
 
  IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Updating Item Class
Reply #3 - 04/05/11 at 13:59:50
 
Before doing anything backup your BKICMSTR table  
    
Then you can run this script
It will change all parts that start with the word ORANGES (Item Number) to class 123
 
UPDATE BKICMSTR SET BKIC_PROD_CLASS = '123' WHERE BKIC_PROD_CODE LIKE 'ORANGES%'
 
or
 
UPDATE BKICMSTR SET BKIC_PROD_CLASS = '123' WHERE BKIC_PROD_CLASS = 'OLD'
 
it will change parts with OLD class to 123
 
 
 Tongue
 
Kelloggs
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
Lynn_Pantic
Administrator
*****


evolution (n) -
gradual change to a
different form

Posts: 5663
Re: Updating Item Class
Reply #4 - 04/05/11 at 19:17:00
 
You need to update both the BKICMSTR and MICMSTR tables if you want to change the class.
Back to top
 
 

Lynn Pantic
IS Tech Support
lynn@istechsupport.com
Email   IP Logged
Kelloggs
Active Member
*****


Do crazy people know
they are crazy?

Posts: 784
Gender: male
Re: Updating Item Class
Reply #5 - 04/07/11 at 06:47:24
 
For the MTICMSTR  
 
UPDATE MTICMSTR SET MTIC_PROD_CLASS = '123' WHERE MTIC_PROD_CODE LIKE 'ORANGES%'
UPDATE MTICMSTR SET MTIC_PROD_CLASS = '123' WHERE MTIC_PROD_CLASS = 'OLD'
 
 
and dont forget to backcup!!!
 
 Tongue
Back to top
 
 

Evo ERP - 35 Users
Dumped MS Access like a hot potato (VB.Net rules!!!)
Email WWW   IP Logged
dameng
Senior Member
****


DBA / EVO Software
Consultant

Posts: 275
Gender: male
Re: Updating Item Class
Reply #6 - 05/19/11 at 09:22:28
 
Quote:
and dont forget to backcup!!!

 
what's a backcup? is the like a frontcup but only backwards?  Tongue
Back to top
 
 

Dave Mengelkamp
Digital Consulting
760.832.2536
davemeng@earthlink.net
Email WWW   IP Logged
Pages: 1
Send Topic Print