Sage MAS 90 and 200 Sage MAS 500 blogs Product Feedback Support Training
Reply
Sage MAS 500 Customer
John_Mitchell
Posts: 107
Registered: 11-26-2008
0
Accepted Solution

Mass Update of Routing Step Mat Req Pc?

Anyone ever use a script or other tool to change the material per piece for all the routing steps for a given item? Here's my situation - made improvments and need to reduce the mat req pc value by 10% for a particular material item in all routing steps calling for that item. Unfortunately its a little over 11,000 routings and my fingers get tired... Any help would be appreciated...

 

 

John

 

Sage MAS 500 Customer
trodman
Posts: 235
Registered: 02-13-2009
0

Re: Mass Update of Routing Step Mat Req Pc?

How about this?

 

UPDATE tmfRoutDetl_HAI SET tmfRoutDetl_HAI.MatReqPc=<New Quantity>
FROM tmfRoutDetl_HAI
JOIN timItem ON tmfRoutDetl_HAI.MatItemKey=timItem.ItemKey
WHERE timItem.ItemID='<Item ID>'

Tim Rodman
Programmer Analyst
rodmant@robbinstbm.com
Version 7.30.6.0 (March 2011)
Sage MAS 500 Customer
John_Mitchell
Posts: 107
Registered: 11-26-2008
0

Re: Mass Update of Routing Step Mat Req Pc?

Like magic pixie dust...

 

Thanks!