Monitoring Output Jobs
This document explains how you track output jobs and confirm that delivery to the correct output Service ID. You can also monitor and manage output errors.
'Output. Manage per Job' (MNS270) and 'Output. Manage per Partner' (MNS207) are used to track and monitor output. Note that the XML file is only saved in (MNS270) and (MNS207) if 'Save output' in (MNS204) is selected. Otherwise, it is automatically removed when the job is successfully completed.
For every output function job, a record is created in (MNS270) that acts as the control record for the output. Every job is identified by a unique job number. This record contains the process status, process control, any messages received from the output server, and user IDs (submit external user ID and status external user ID) used to connect to Infor Document Management (IDM). The job number is connected to one or several output files (physical files) that have the Job number as the name.
Object controlled output
If an output function job uses output selection based on content, one or several additional records can be created in (MNS207). Records in (MNS270) containing output jobs that have (MNS207) records are marked with an exclamation mark (!). Use option 13='Partner' in (MNS270) to start (MNS207).
Example: The output function selects five purchase orders and is directed to a printer. Two of these orders have object controlled output selection defined for media *MAIL. When the output job is running, three purchase orders go to the (MNS270) output file and two purchase orders create two addition records in (MNS207).
Output status
An output job can have different statuses depending on the communication type used on 'Output Service. Open' (MNS216/E).
These statuses are used for Communication type IDM Output Management:
- OPN = Open - the job is running and XML file is being created.
- PND = Pending - the XML file has been created and is waiting to be sent.
- HLD = Hold - the XML file is put on hold.
- SND = Sending - the XML file is being sent.
- MSG = Sending error - an error has occurred when sending the XML file.
- WRK = Process output - the XML file has been sent and output is being processed and distributed.
- FAI = Output error- an error has occurred during processing or distribution of output.
- FIN = Output completed – output has been completed and has been distributed successfully.
These statuses are used for Communication type TCP/IP connector, Infor Reporting event and Transfer files:
- OPN = Open - the job is running and file is being created.
- PND = Pending - the file has been created and is waiting to be sent.
- HLD = Hold - the file is hold.
- SND = Sending - the file is being sent.
- MSG = Sending error - an error has occurred when sending the file.
- SAV = Sent & saved - the file has been sent and has been saved.
View output file
- Select the record of the job number, then select related option 11='View'. The M3 Business Engine Browse window is displayed.
- Select the required job number, and click 'Select'. A new tab with the output file is displayed. You can use the options 'Download' or 'Show XML'.
- Select the record of the job number and select related option 16='View JSON file'. The M3 BE Browse window is displayed. JSON file is used when doing the resend functionality for service IDs under Infor Document Management (IDM) only.
Send output file
If 'Hold output' in (MNS204) is selected, the output file goes to either (MNS270) or (MNS207), but is not sent until it is manually sent by option 1='Send'.
IDM Output Management
If Communication type IDM Output Management is used, only related option 12='Output. Manage per file' can be used to see the detailed status for every XML file sent to IDM. In 'Output. Manage per file' (MNS209), the same statuses in (MNS270) are used.