× 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.



Skip,


I could be wrong, but I don't believe you can change the actual printer file name after it's generated - do a CHGSPLFA for a specific print file on an outq and you'll see what I mean.  (You can also just put a '2' in front of a print file on an outq.)

I've successfully pulled print files off an outq using USRDTA or FORMTYPE for identification, but I had those fields identified when they were generated or immediately afterwards within the CL (passed parms).  That approach requires source code.

I think you'll have to write a CL to pull using filename AM64MRPx or whatever formtype you have your POs saved as, and write something to read the spool file itself and get the PO# from within the file, then do an CHGSPLFA and load the PO# in USRDTA (accessible with a CL), then manipulate it after that. 


It'd be a lot easier if you had the source for AM64M, you could issue the change within there to plug the PO# into USRDTA within the program.  Can't your affiliate get you just that source?  I'd think the charge would be worth the amount of time you'll spend doing it the hard way.

 
Dale (Cork) Gindlesperger, CPIM
Click here for my professional profile on LinkedIn

"If I'd asked my customers what they wanted, they'd have said a faster horse." - Henry Ford

A Pessimist Sees The Difficulty in Every Opportunity;
An Optimist Sees The Opportunity in Every Difficulty;
An Analyst Sees How to Achieve the Opportunity!





________________________________
From: Otto Meyn <meyno@xxxxxxxxxxxxxxxxxx>
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
Sent: Thursday, January 26, 2012 2:27 PM
Subject: Re: [MAPICS-L] Purchase Orders

Yes, I can change the name, I need to perform the printer override before the print. so need to control the printing and this could be printing the PO a second time, to a different outq, which is OK.

I do not have source code.

-----Original Message-----
From: mapics-l-bounces@xxxxxxxxxxxx [mailto:mapics-l-bounces@xxxxxxxxxxxx] On Behalf Of Dale Gindlesperger
Sent: Thursday, January 26, 2012 2:20 PM
To: MAPICS ERP System Discussion
Subject: Re: [MAPICS-L] Purchase Orders

Skip,


You can't just use the USRDTA for that?  It has to be the actual printer file name? 

 
Dale (Cork) Gindlesperger, CPIM
Click here for my professional profile on LinkedIn

"If I'd asked my customers what they wanted, they'd have said a faster horse." - Henry Ford

A Pessimist Sees The Difficulty in Every Opportunity;
An Optimist Sees The Opportunity in Every Difficulty;
An Analyst Sees How to Achieve the Opportunity!





________________________________
From: Otto Meyn <meyno@xxxxxxxxxxxxxxxxxx>
To: MAPICS ERP System Discussion <mapics-l@xxxxxxxxxxxx>
Sent: Thursday, January 26, 2012 1:51 PM
Subject: [MAPICS-L] Purchase Orders

Re; Printing POs



We are at 7.7 and use integrator for all Purchasing entry & printing.



Is there a program (CL ) that can be called, out side of MAPICS, from
with a cl, passed the PO# and print the PO.



Or and exit program to be launched after the PO has Printed.



What I want to do is override the printer file with the name of the PO
included then copy to IFS and attach to PO record.



The only problem I have is to override the spool file name when it
prints.

_______________________________________________
This is the MAPICS ERP System Discussion (MAPICS-L) mailing list
To post a message email: MAPICS-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mapics-l
or email: MAPICS-L-request@xxxxxxxxxxxx
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 thread ...

Replies:

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.