Al and group - Duh! What was I thinking? Al, do you have Browser? If so, go to Item Revision (EPDM) or Item (PDM+) and subset on Item Type 1. Do a mass change, changing UCDEF to 0. Repeat for Item Type 2. Brain dead south of St. Louis -- Joan Joan McCready, IS Manager phone: 636-479-4499 MetalTek International fax: 636-479-3399 The Carondelet Division www.metaltekint.com 8600 Commercial Blvd Pevely, MO 63070 -----Original Message----- From: aldg [mailto:email@example.com] Sent: Tuesday, February 12, 2002 4:48 PM To: MAPICS Mailing List Cc: Gershen, Al Subject: Editing UCDEF in certain records of ITEMASA file with Query/400 Hi Mapics Group: I want to edit a the UCDEF field (it is a numeric field that is populated with values and it should be "zero" for certain Item Types in our system) in ITEMASA for certain Item No. records and I'm wondering if it can be done using Query/400? For example: Step # 1: Use Query # 1 to copy the entire fields of the specific records into a new file called ALTEST1 Step # 2: Use Query # 2 to input ALTEST1 and use Define Result Fields to create a new substitue field (UCDEFCHG) with a numeric value of zero. The output of this query goes to ALTEST2. Step @ 3: Use Query # 3 to input ALTEST2 and use Define Result Fields to create the original field name, UCDEF, (which does not appear in ALTEST2) with a numeric value of zero. Then, using Select and Sequence Field, I replace the UCDEFCHG field with the UCDEF field. The output of this query goes to ALTEST3. Now AlTEST3 has the records of the specific Item Nos. with a corrected UCDEF that now shows zero. My problem is can I use Query/400 to replace the original records in ITEMASA with the records now contained in ALTEST3? How do I do this? I realize that there are other ways to accomplish this task (for example, using DBU or Mapics File Maintenance to edit UCDEF in the records in question; but the problem here is that there a way to many records involved in this matter to manually edit them). Also, the reason we populate UCDEF with zero for Type 1 and Type 2 Item Nos. is that if they are populated with their correct Standard Cost, the screw up our cost estimating program that is used to quote product sales prices for customers. In particular, the Bill of Material gets overstated: It would show Standard Costs for the detailed raw materials and purchased components that are part of the Inv Type 1 and 2 items along with their own UCDEF cost of the completed Type 1 and 2 Item. As usual, I look forward to reading your fine suggestions. Regards, Al Gershen Grants Pass, OR firstname.lastname@example.org _______________________________________________ This is the MAPICS ERP System Discussion (MAPICS-L) mailing list To post a message email: MAPICS-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/mapics-l or email: MAPICS-Lemail@example.com Before posting, please take a moment to review the archives at http://archive.midrange.com/mapics-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.