Forum Discussion

michelletencate's avatar
michelletencate
Experienced User
2 years ago

Inventory Purchase Not Processing

Hi there

 

We are having issues processing inventory invoices.  It happens when there are multiple inventory lines.  When we try and process the invoice all in one invoice, MYOB freezes when we click on record and has to be restarted (both in App and on web-based version).  The only way to process it is to record after each line.  Going back in and adding one line at a time and recording it until it is done (10 lines).  Refer attached screenshot from web-based attempt.

 

  • Hi michelletencate 

     

    If MYOB 'freezes' when using the desktop application, I suggest you bring up the Task Manager and see if HuxleyApplication is using any CPU resources at the time. Sometimes 'Not Responding' actually means HuxleyApplication is very busy processing and if you forcibly close it you may lose data. This also may mean you file is very large and might benefit from a 'purge'.

     

    If the CPU percentage for HuxleyApplication is zero, then you should be able to safely close and restart. You need to look into the cause for the freezing - either file corruption or another process is using your file at the same time. Look at the diagnostic logs. Attach to post.

     

    Regards

    Gavin

      • gavin12345's avatar
        gavin12345
        Ultimate User

        Hi michelletencate 

         

        Thanks for attaching log.

         

        Best I can tell is that Accountright is crashing when it tries to get the Attachment count for a Purchase Invoice:

         

        MYOB.Huxley.UI.Decorators.Services.DecoratorServiceMYOBHuxleyApplicationServicesContainerAPIIPurchaseRegisterContainerService.MYOB.Huxley.ApplicationServices.Container.API.IPurchaseRegisterContainerService.GetAttachmentCounts

         

        This triggers an Unhandled Exception - in other words the database engine doesn't know what to do next as it uncountered a situation the software developer did not anticipate.

         

        As a result you get disconnected.

         

        The underlying connection was closed: An unexpected error occurred on a receive. --->
        System.IO.IOException: Unable to read data from the transport connection:
        An existing connection was forcibly closed by the remote host. --->
        System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host

         

        This likely means an error in the company file regarding linked documents, or an error on MYOB's server related to linked documents (In Tray).

         

        I will tag a moderator Celia_B  or Earl_HD - hopefully one of them will be in touch with more information.

         

        Regards

        Gavin