|
Thanks for your input. I just found it! The next batch number for MO's is stored in SYSCTL, record key "ORDATA" (field MBTCH in CAS Sysctl Maint). I like your idea of using *** for the user ID, I was wondering how I was going to handle that. I will incorporate your idea into my program, thanks. Bud -----Original Message----- From: PGroeber [mailto:pgroeber@bellsouth.net] Sent: Wednesday, September 18, 2002 11:23 AM To: mapics-l@midrange.com Subject: Re: Batch Number assignment for Manufacturing Orders Bud, Look in the AMTLIB files for I believe a file called INTRNC (or something like this) which is the batch control file. You will need to increment the number and put a default in the user id field - we used three ***. That way we always knew which batch was created by our custom program. Double check the file name as I don't have access to an AS/400 right now and I'm a little fuzzy on this file as it has been a few years since we used it. Good luck and hope this has helped. Paola Groeber Consultant Bud Roble wrote: > This message is in MIME format. Since your mail reader does not understand > this format, some or all of this message may not be legible. > -- > [ Picked text/plain from multipart/alternative ] > Hi Everyone, > > I need to create a suspended MO Batch from a custom program but I can't seem > to locate where the next batch number is stored in the system. Does > anyone know how to retrieve the next batch number? > > Bud Roble > (805)794-3027 > broble@CharlesRobleConsulting.com > _______________________________________________ > 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-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/mapics-l. _______________________________________________ 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-L-request@midrange.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.
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.