Unhandled Object Exception when processing

  • 0
  • 1
  • Article
  • Updated 4 years ago
  • (Edited)
In prior versions of SPS for GP there weas no exception handling in the product.  This caused various exceptions to pop up and stop processing altogether.  The user could be in the middle of importing Purchase Orders or exporting documents and the entire process would abort with the user not knowing what completed and what did not. 

The root cause of this issue in most cases can be referred to an 'Orphan File' issue.  When processing is aborted or a file has a bad format (like an 850 coming in missing a ST record), the file gets left in the local folder and the next time the import process runs that file is found in the directory list and SPS for GP tries to delete it from the FTP site.  Since the file has already been deleted, it throws the exception.

The application has been updated to capture the majority of these issues and notify the user of the issue and continue processing the rest of the documents.  Users on updated code, or GP 2013, may receive a message about an orphan file or an invalid file format.  If this happens the file should be sent to SPS support to verify the format and content in case there is an issue creating the document. 

The issue can be fixed in older version of SPS for GP by navigating out to the 'local folder' and deleting or moving the orphan file.  In updated version of SPS for GP if the file is not removed you will continue to get the message until it is removed but processing will continue with the exception of Warehouse Update.  In Warehouse Update before any processing is done the local folder is searched for file starting with SW. If any orphan files exist the user will receive a message about the folder containing this orphan file and they will have to remove the file before continuing.  The files exist in the Local Folder used for EDI processing.  The link below will explain the Local Folder and how you find it.

https://supportcenter.spscommerce.com/spscommerce/topics/process_logic_local_folder_explaination
Photo of FAQ

FAQ, SPS FAQ

  • 9,340 Points 5k badge 2x thumb

Posted 4 years ago

  • 0
  • 1

Be the first to post a reply!