× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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
aldg@mail.rvi.net



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.