Okay I've been all over Google and Code400 forum to get my answer and either I'm not searching the correct way or I'm just simply an idiot.
Here's what I would like to do:
Once a week we receive an Excel spreadsheet from our client with orders that have shipped the previous week. The client won't send in csv format, they won't FTP to a site - it will be emailed as a spreadsheet. I want to have the user who receives the email - drop the excel spreadsheet into a folder on the IFS and then the excel data is automatically loaded into the 400 file that I have defined to match the fields in the excel file, and then submit the report to run that produces two different excel reports from the data received and other data we have on our box.
Here's what I have accomplished:
1) Using Scott Klement's programs - I've created a journal receiver to watch the folder and that part works fine. The part that isn't working is the automated upload of the excel data to the 400. Do I need to use CPYFRMIMPF or CPYFRMSTMF? I'm using CPYFRMSTMF and it isn't working (I did save the excel as a csv file in the IFS folder but that didn't resolve the issue).
2) I have the report programs all done and I create the needed excel reports and they email perfectly.
I can't send you a copy of the excel data - company rules because its client data, etc, etc, etc. But I am providing the file layout, and the program code so you can see what I am doing, and the error message I am receiving and hopefully point out my mistakes.
Thanks in advance!
Roxann
Here's what I would like to do:
Once a week we receive an Excel spreadsheet from our client with orders that have shipped the previous week. The client won't send in csv format, they won't FTP to a site - it will be emailed as a spreadsheet. I want to have the user who receives the email - drop the excel spreadsheet into a folder on the IFS and then the excel data is automatically loaded into the 400 file that I have defined to match the fields in the excel file, and then submit the report to run that produces two different excel reports from the data received and other data we have on our box.
Here's what I have accomplished:
1) Using Scott Klement's programs - I've created a journal receiver to watch the folder and that part works fine. The part that isn't working is the automated upload of the excel data to the 400. Do I need to use CPYFRMIMPF or CPYFRMSTMF? I'm using CPYFRMSTMF and it isn't working (I did save the excel as a csv file in the IFS folder but that didn't resolve the issue).
2) I have the report programs all done and I create the needed excel reports and they email perfectly.
I can't send you a copy of the excel data - company rules because its client data, etc, etc, etc. But I am providing the file layout, and the program code so you can see what I am doing, and the error message I am receiving and hopefully point out my mistakes.
Thanks in advance!
Roxann








Comment