These SAR files can be imported and processed in the Logisticbus program. To import and process these files, you must:
The SAR files form is displayed.
After the parameters have been set up correctly, SAR files can be imported. To import SAR files, you must:
If errors occurred during import, they are displayed after the import is finished. These errors can be viewed until the next file is imported, the program is exited or until the files are processed by selecting the Errors option from the Toolbar.
If the part number in the SAR files is not available in the stock file, the program will try to create it with help of the information in the price file. If the part doesn't exist in the price file, an error is given.
If the dealer number does not match the dealer number from the Logisticbus parameters, the line is not imported and an error is given.
If the file has already been imported before, a message is given and the file is not imported.
As is the Import Order files option, it is possible to select SAR files from the client or the server to import.
After the SAR files have been imported, they must be processed. SAR records that are imported are displayed in the grid in the Process area.
The SAR records can contain five action codes, all five are explained below:
After SAR records are imported, they get status I from Imported. All Imported records have by default the Process column ticked. It is possible to tick off this per SAR record.
If the Process button is selected, all records with a tick in the Process column are processed.
It is also possible to process SAR records manually. To mark a SAR record as manually processed, you must right click the process column of the SAR record.
Select the Mark as processed option from the right click menu.
The status changes from I to M. It is possible to Mark the line as unprocessed by following the same procedure.
If the records that must be processed are ticked, the Process button can be selected.
After the records have been processed, errors are displayed and can be viewed by selecting the Errors icon from the Toolbar.
If Action code 2 (The part must be a non-stock part. The NONSTOCK flag of a part will be set to Y) is imported as SAR record and the part has stock, the Logisticbus Interface will not change the NONSTOCK flag from 'N' to 'Y' but send a STL and BES record back to the Logisticbus program.
The information sent back in this case would be the STL record, which contains stock information and the BES records, containing stock quantity information.
Sending this extra information will be done the next time a normal movements file is created.
Every action is stored in the Log file. The LOG file can be viewed by selecting the Log file icon from the Toolbar.
The structure of the log files is the same as in the Import Order file program.
If the Automatic processing parameter is ticked (Tick to automatically process SAR records after they have been imported) the SAR records are directly processed after they are imported.
All SAR records with status I (Imported) are processed automatically after they are imported.
SAR record will get status E from Error if an error occurred during import or processing.
In case of the examples below, the SAR record will get status E:
If errors did occur during the import or during processing, these are displayed after the import and processing of the records has finished and can be viewed in the log file.
After an error the SAR record can always be processed manually by ticking the Process column of the SAR record in the grid with SAR records and select the process button. E.G. after loading a new pricefile in which the part for which a SAR record should be processed is available.
If it is not possible or recommended to solve the reason the error occurred, SAR records can be Marked as processed. Right click the Processed column of the SAR record and select the Mark as processed option from the pop up menu.
Records marked as processed are purged if the number days in the Deletion days parameter not equals 0 and if the number of days set in the parameter has passed since the status was changed to Manually processed.
Note:If the status of a line is changed from manually processed to unprocessed, the status changes to I from imported and the date processed will be blank.
If the Deletion days parameter is set, SAR records with status P (Processed) and M (Manually processed) are deleted from the system if they have been processed for the number of days set in the system.
This is done if the program is entered and an entry is written in the Log file.