Feature - Alleviate Error 25 When Two Users Import Sales Orders Simultaneously

Feature - Alleviate Error 25 When Two Users Import Sales Orders Simultaneously

Release Date: 9/26/19

Version: 8.5 and up

If two users attempt to run Sales Order Import at the same time, the second user will receive an error 25 on the Import Header File (CPIMPHDR). If the second import is launched from deferred processing, this will halt the deferred processing operation and the following message will be displayed.



The Sales Order Import application has been changed to attempt to detect the error 25 without prompting the user with the standard error message window. The import process will stop and an error will print on the Pre-Interface Edit List or the Interface Journal. The error states:

*** Error Due To Other User Is Currently Using File: M:\Elliott8\DATA\CPIMPHDR.BTR ***



A new event variable has been added to the COMPFILE event ORDERIMP (Sales Order Import).



A Message field has been added as field 9.



If the Sales Order Import cannot open the Import Header File (CPIMPHDR), this event will be triggered and the following information will be returned in the event fields:

Number Of Warnings: 0
Number Of Errors: 1
Number Of Orders: 0
Starting Order No.: 000000
Total Sales Amount: 0.00
Total Backorder Amt: 0.00
Import File Name: 20190607_1945390.NI.US.Dev.txt
Message: Error: CPIMPHDR File In Use By Another User

Programs Modified: CPORDIMP
Programs Added: CPORDTST
CLS



    • Related Articles

    • Feature - Ability to Change EDI Import Path

      Release Date: 1/9/17 This feature gives the user the ability to change the path used when importing EDI orders. This option is enabled through Util-Setup-> Global Setup-> Add-Ons-> Sales Order Import. Field 4. Can User Override Path During Import? ...
    • Feature - Added Archive Function to Sales Order Import File Search Window

      Release Date: 9/21/23 Version: 8.5 and Above Some customers have asked how to delete or archive files from the Import Folder for Sales Order Import. This can happen because the import file has invalid information which will require the trading ...
    • Feature - Check for Duplicate PO During Sales Order Import

      Release Date: 7/19/2016 A new feature has been added to COP Sales Order Import that will check imported orders for potential duplicates. Setup by entering "Y" in Global Setup - > Add-ons -> Sales order import, field 23. When running Sales Order ...
    • CPRESORD Customer Order Processing Release Held Orders

      Release Held Orders Application Overview This feature is a function of the Credit Check & Release program. To run this function, the Credit Check & Release must be setup as per the Global Setup documentation. Run Instructions From the COP Menu > ...
    • CPIMPMNU Customer Order Processing Sales Order Import

      Sales Order Import Application Overview The Sales Order Import module is designed to import a pre-defined ASCII file to create COP sales orders. It is intended to provide an easy way for developers to create add-on solutions for creating sales ...