SYSPRO Ribbon bar > Imports > Manufacturing > Import Forecasts

Import Forecasts

You use this program to import forecasts that were created using 3rd party application software (e.g. a spreadsheet package).

Toolbar

Field Description
Import Validates the contents of the import file and import records if there are no errors.
Save Form Values This option is only enabled in Design mode (see Automation Design). Your selections are saved and applied when the program is run in automated mode.

Options

Data source

Field Description
Import method  
From file Indicates you want to import data from a file.
Use data grid Indicates you want to enter data directly into the grid of the Details pane (you can paste the contents of an Excel spreadsheet into the grid).
File location  
Server Indicates the import file resides on the server.
Client Indicates the import file resides on the client.
File name Indicate the name of the import file (include the full path).
Review file Loads the contents of the import file into the Details pane. This enables you to validate the lines on the grid prior to importing the file. The Import button is enabled only when all lines are valid.

Options

Field Description
Import only if all rows are valid When enabled, the entire import file must be valid before any records can be imported. The import aborts if any errors are encountered.

When this is not enabled, valid records are imported and invalid records are ignored when the import is performed.

After processing completed

Field Description
Print the Details Generate a report of the contents of the Details entry grid.
Email the Details Generate an email of the contents of the Details entry grid.
Print the Import Results Generate a report of the contents of the Import Results pane.
Email the Import Results Generate an email of the contents of the Import Results pane.
Email recipients Indicates the email addresses of recipients to whom you want to email the information displayed in the output panes.
Delete file after use Indicates whether you want to delete the import file after all records are successfully imported.

In a client/server environment, both the import file on the server and the temporary import file created on the client are deleted.

Close the application Exits the program once processing is complete. Do not select this if you want to be able to view the information on screen when processing is complete or you want to print or email the contents of the Details and Import Results panes.

Details

Toolbar

Field Description
Validate This verifies whether there are any errors in the grid, without actually importing records.

Exclamation marks in the Validation status column indicates that one or more fields in the line are invalid. An explanatory error message is displayed when you hover your mouse pointer over the exclamation marks.

Print Prints the contents of the import file, or changes made in the grid.
Export to Excel Outputs data from the Details pane to an Excel spreadsheet.
Search text  
Clear Clears the contents in the search text field.
Edit  
Copy Copies the lines in the Details pane.
Paste (all columns) Ensure that you have data for all the columns that can appear in the data grid before selecting this option.

When you select to Paste (all columns) the date you are pasting must be in the format CCYYMMDD. Although no validation errors are displayed, the date is not converted into your SYSPRO date format.

Paste (visible columns only) Pastes data into the columns that currently appear in the data grid, in the sequence that they appear.

When you select to Paste (visible columns only) and the date you are pasting is not in CCYYMMDD format, you are prompted for the date format. The program correctly inserts it into the grid in the SYSPRO date format.

Duplicate Copies the current row to the end of the data grid.
Find and Replace  

Import Results

Displays a summary of the results of the validation/import.

This information can be printed or emailed providing you did not select to Close the application in the After processing completed section.

File layout for 7

The table below indicates the structure of the import file that must be defined to successfully import forecasts from 3rd party application software.

Field Start position Field length and description
Header   ;SYSPRO IMPORT - Version=001 - MRPP09

Mandatory entry of this comment on the first line of the import file to distinguish it from a SYSPRO 6.1 layout file. This comment is not case sensitive.

Line type 1 1

Mandatory entry of F to indicate a forecast file.

Stock code 2 30

Mandatory entry of a stock item. If static details for the item are not found, then it is assumed to be non-stocked.

Warehouse 32 10

The forecast warehouse. Enter ** for a non-stocked item .

Date 42 8

The forecast date.

Quantity 50 19

Reference 69 30

Forecast type 99 1

Customer 100 15

Revision 115 5

ECC revision (stocked items only).

Release 120 5

ECC release (stocked items only).

Resource parent 125

30

This field can be blank.

File layout for 6.1

Field Start position Field length and description
Line type 1 1

Mandatory entry of F to indicate a forecast file.

Stock code 2 30

Mandatory entry of a stock item. If static details for the item are not found, then it is assumed to be non-stocked.

Warehouse 32 2

The forecast warehouse. Enter ** for a non-stocked item .

Date 34 6

The forecast date.

Quantity 40 11

Reference 51 30

Forecast type 81 1

Customer 82 7

Revision 89 3

ECC revision (stocked items only).

Release 92 3

ECC release (stocked items only).

Notes and warnings

Restrictions and limits

Command line parameters

  • Against the SYSPRO shortcut you can configure a command line parameter to automatically import this file without operator intervention:

    /prog=MRPP09 /link=import-auto-file=path_to_filename.EDI

Activity considerations

Operator access to the following activities within this program can be restricted. You configure this using the Operator Maintenance program.

Activity Description
Listview/Forms - Export or print data Controls whether an operator can print the contents of a listview and/or output the contents of a listview to an HTML page, XML document or Excel spreadsheet.
Maintain data in import programs Controls whether an operator can maintain import data in a data grid within any SYSPRO import program before the import is performed.
Allowed to import from client Controls whether an operator can use a SYSPRO import program to import data from a client machine (in a client/server environment).
File Browse on server (C/S system) Controls whether an operator use the browse function to load the Browse on Files and Folders program to locate files on the server in a client/server environment. Operators can still navigate to a file or folder on the server by typing in the full path name in the entry field.

Inserting Application Help

You would typically follow this procedure to display help for the current program in a customized pane that can be pinned to the program window.

Information includes step-by-step instructions for the various functions available within the program, including a brief overview of what the program does, what setup options are required and how to personalize the program.

  1. Open the program for which you want to insert application help into a customized pane.

    This functionality is only available for a program that has panes.

  2. Right-click any form field.

    You can also click the triangle menu icon that appears in the title area of a pane.

  3. Select Insert Application Help from the context-sensitive menu.

    The application help appears in a pane within your program. You can reposition the pane using the docking stickers or pin it to the program window.

Removing the Application Help pane

If you no longer want to display application help in a pane for your current program, you can simply remove it.

  1. Select the Close icon in the right-hand corner of the application help pane.

  2. Confirm that you want to delete the pane.