SYS - How To Setup Batch Process
Previous Topic  Next Topic 


The example below is used for printing an Invoice Proof report.


  1. Go to 10.10.1 from the Main Menu


  1. Enter a period for a new batch processing number.


  1. Enter a description for the batch process.


  1. Fields 2-7 are limitation fields which limit the days or exclude the days you want the particular batch process to run.  In our case below, we want the report to print each day at 11:00pm so we will have it for the next morning.


  1. Field 8 is where we will enter in the program name we are trying to batch. Program names can be found by going to the menu option from the Main Menu (in this case it was 6.3) and then doing a question mark and then the menu option.  For example: from the Main Menu if we go into 6, Accounts Receivable, then into 3, Invoices, we can see the menu option of #2, which is the Invoice Proof Report.  If we type in ?2 at ENTER SELECTION and hit ENTER we will see the program name, INVOICE.PROOF.RPT, pop up on the bottom of my screen.  We can find any program name in this way.  The program name is what is placed in this field.


  1. Next, we will need to physically go into 6.3.2 and find out what field options we would normally fill in if we were to run this program manually.  In this case, we want to see the day’s invoices so we can enter in today’s date. We would then hit ENTER for ALL three times. Then we would tell the system to print with a P and to print in detail with a D. There are also additional questions asked for which we would hit enter for. We would record each step and then we can bring it to the batch processing screen and input this information.


  1. In field 9, we would input or fill in the exact order of options that we recorded above into the subsequent line (see illustration).  The ^M is for an ENTER.  The ^D is for the current date.


  1. Lastly, we need to fill in field 10, this is the port which the process will run on.  A specify  port is needed if we desire to tell the program where we want the report to print.  If we simply want to allow it to print to the system printer, we can just leave the option blank.  When leaving it blank it utilizes the next available port and uses the system printer to print.


  1. Next, do “T” and ENTER to save test the batch process. If it failures, fix the input and test again.


  1. Once test is successful, go into option 2 and hit “S” to start the batch processing.



ILLUSTRATION

If the above is unclear then use the illustration below (which is snapshot of the screen).



                                                                     Date Entered    : 06/05/2006

     Batch Proc #    : 11                                    Time Entered   : 15:10:31

                                                                     Who Entered    : 51 PM PM Loc: 1

1.  Description     : Invoice Proof Report

2.  Time of Day     : 23:00:00 (THIS WOULD BE AT 11:00PM)

3.  Specific Date   :                                       Date Last Proc   :

4.  Day of Month    :                                     Time Last Proc  :

5.  Day of Week     :                                      Who Last Proc   :

6.  Days Between Pr.: 1

7.  Excl Day of Week: SAT SUN

8.  Program Name    : INVOICE.PROOF.RPT

9.  Input           : ^D

                          ^M

                          ^M

                          ^M

                          P

                          D

                          ^M

              ^M (FOR EACH OF THESE IT IS SHIFT + 6 FOR THE ^)

              ^M


10. Port to Run On  : 258         Phantom Your Port or Phantom port   

     

Note: ENTER IN YOUR PORT SO THAT THE SYSTEM PRINTER ATTCHED TO YOUR PORT WILL DO THE PRINTING OR PHANTOM PORT AND SETUP THE PRINTER IN FIELD#8 IN 1.10.)