Import Items Error Codes

IanP
Partner
4 Posts
Partner
Australia
Partner

4Posts

1Kudos

0Solutions

Solved: Go to Solution

Import Items Error Codes

I update Item prices by exporting a file of items, altering the prices in that file and then importing it again.

This work a treat for many years in Premier and its predecessors.

In AR2020.2 (and 219. et al) the log contains a pile of error messages.  They provide no help in resolving the problem.

Error -4077: You have sales for this item.
Error 0: Unexpected import error - Database already opened by a different user. [ Db name = C:\Users\Public\Documents\MYOB\My AccountRight Files\bcp195-2020-2.myox ]
Error 0: Unexpected import error - There is a file sharing violation. A different process might be using the file. [ C:\Users\Public\Documents\MYOB\My AccountRight Files\bcp195-2020-2.myox ]

 

These were generated when there was only 1 user using the system.  None of the records looks to be irregular.

8 REPLIES 8
Komal_S
MYOB Moderator
3,345 Posts
MYOB Moderator
MYOB Moderator

3,345Posts

339Kudos

514Solutions

Accepted Solution Solved

Re: Import Items Error Codes

Hi @IanP 

 

If your file is online, we can run an online script in order to fix Error -4077 which would resolve the other error messages as well. In order to organise that, please send me your serial number by a Private Message.

 

Update: File fixed and returned by data file repair team.

Kind regards,
Komal

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

IanP
Partner
4 Posts
Partner
Australia
Partner

4Posts

1Kudos

0Solutions

Re: Import Items Error Codes

Still unable to import items.  I export the items file, then without touching it, attempt to import it again.

 

It rarely manages to go through the whole file,. It normally stops at some random record and presents the usual finished screen, for example, 29 records imported with out error, 2 warning messages and 3 records skipped (out of 3000 !!!! ).  It invites me to click on a link for a log file, but none is present.  I try to navigate to the log file link which is displayed, but it is empty.

 

The number of records until it stops is completely variable.  It might be 26 or 29 or 257 or 1500.  I have truncated the file length from 3000 records to 1000 records and to 300 records.  This makes no difference ot the behaviour.  The randomness of the stops and the insensitivity to file length or content strongly suggest it is not related to the data but is a program fault.  The only data in the items file is that which has been entered into the MYOB Items cards, so surely the program can cope with data which it has itself sent out (Maybe not, see the note about CRLF below). The failure to produce a log file is clearly a program fault.

 

The file has been sent in to you several times for various reasons and each time it is returned with the statement "its fixed" but it never is.

 

On the odd occasion it finishes, it displays a number of error and warning messages.

They include the 0: File sharing violation which is odd because I am running on its own on a W10 machine with no one else accessing it.

 

There are always a pile of warnings such as "name is too long truncated" which is weird since it is importing the file that it has exported from the same MYOB program just minutes before.  Surely this is the simple most basic test of any export import system, can it reimport its own exported file.  It also has item has purchases warning messages, which make no sense at all.

 

If the item [Description] field includes a CRLF that causes the import to break the line at that point and attempt to start the content after the CRLF as a new line.  This is clearly faulty software.  I have tried a number of ways to escape the CRLF but nothing stops this anomalous behaviour by the program.

 

I have been trying to get assistance with this from MYOB now for many months and it is consuming an enormous amount of my time.  The phone contact today is at 2 hours and 34 minutes.  As usual the phone response is to do over and over again the things which nhave lready been done which do not advance matters at all, but which do burn up an enormous amount of my time.

 

I am VERY VERY VERY dissatisfied with the support.

 

 

 

 

Mike_James
Ultimate Partner
4,728 Posts
Ultimate Partner
New Zealand
Ultimate Partner

4,728Posts

2,134Kudos

610Solutions

Re: Import Items Error Codes

Hi @IanP , what program name and version number are you using?

 

When I export items from Clearwater that have a multi-line description, from AccountRight 2020.3, I get this:

 

This is a very long description\r\nWith multiple lines\r\nThis is line 3

 

This text appears in the one (Description) field. I also see this text on our API extracts. I think version 19 included CRLFs which caused a new line in the file and therefore made it impossible to import the file back. 

 

 

Re file sharing errors - do you have continuous backup programs running, or is the file stored in Dropbox?

 

I recently completed a very large import project, and once I had amended the data as required, the import routines were very stable.


Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise Report Writer - Custom Reporting from MYOB programs
(Including AccountRight Classic/Live, and exo Payroll)

IanP
Partner
4 Posts
Partner
Australia
Partner

4Posts

1Kudos

0Solutions

Re: Import Items Error Codes

Thankyou for the response.  Here are the specifics you mention.

 

AccountRight 2020.3 SE

 

I have gone throughh the 3000 items and manually removed the new lines.  Interestingly, if I put a new line back into the description it again misbehaves, so the AR2020.3 does not intercept and prevent the entry of stuff which stops the export/import from working properly.

 

The file is local.  I have only 1 user session operating.  There is no continuous backup running.  There is no drop box in place.  I can see no way in which a file sharing problem can legitimately occur.

 

I can live with all the spurious warning messages and the inability to use new lines (even though it is a nuisance).  What I can't live with is the random failure to complete the import, and the random failure to import some items (showing the dreaded error 0: sharing violation).

 

Here is a typical list of errors and warings.  (From a rare run to completion). I have looked at every record flagged as a warning and they look OK to me.  Basically the messages are unhelpful, and indicate to me that AR2020.3 has not been tested to any extent with export/import. 

-4077 You have sales for this item. Really, we would be out of business if we did not.

0 File sharing violation. Really, only one person is using it.

45, 49 Names too long.  Truncated.  Really, they were exported by ar2020.3 

71 Item Not Sold. What on earth does that mean.

75 Items per selling unit...  Really, the program gives no access to ability to change items per selling unit.

 

2306 records imported without errors.
924 records imported with warnings.
15 records skipped.

Summary of errors
Error -4077: You have sales for this item.
Error 0: Unexpected import error - There is a file sharing violation. A different process might be using the file. [ C:\Users\Public\Documents\MYOB\My AccountRight Files\bcp195-2020-2.myox ]
Warning 45: Supplier name too long; name truncated
Warning 49: Unit of measure too long; unit truncated.
Warning 71: Item is not sold; some information ignored.
Warning 75: #Items per selling unit may only be specified for items that are sold and inventoried

 

I do appreciate your input.

 

I must confess I would really really appreciate some real input from MYOB (who have profitted mightily from us for the last 30 years) and fix the bugs in the program.  What I see is a company that doesn't give a stuff about its existing customers.  It is so busy putting fancy extras into the software, it has completely forgotten that it needs to make the basic stuff work properly.  ( We have just discovered after 2 months of working with the API mob that if you install 2020.2 on a clean W10 machine then the API calls won't work.  You have to remove the 2020.2, instal 2020.1 , which uses an earlier version of SqlSever, and then reinstall 2020.2 and voila, then it works.  Obvioulsy no one has ever tested this.  It obviously is still using some calls to the earlier SQLServer)

 

Like most modern companies, they have walled themselves off so that it is impossible to get some one who actually knows something involved.

 

Ever since we were forced to move from Premier to AcountRight2019 we have had nothing but trouble.  ODBC calls vanished so all that had to be re written, but then the API calls did not work so months of investigation for that.  Version 2020.2 blew up our netwroks because it was unable to run on a W7 machine, but no body told us that.  Our automated price update system depends on impoirt export and wehave not been able to get that work properly yet.

 

As I said, I am VERY VERY VERY dissatisfied.

Mike_James
Ultimate Partner
4,728 Posts
Ultimate Partner
New Zealand
Ultimate Partner

4,728Posts

2,134Kudos

610Solutions

Re: Import Items Error Codes

Hi @IanP , just quickly, the 4077 error can only be corrected by MYOB, and it may come back. 

 

If you would like me to look at the actual file you are importing, send it to my email with the whole log file. 


Regards, Mike (mike@datawise.co.nz)
DataWise Limited (www.datawise.co.nz), developers of:
DataWise Report Writer - Custom Reporting from MYOB programs
(Including AccountRight Classic/Live, and exo Payroll)

Komal_S
MYOB Moderator
3,345 Posts
MYOB Moderator
MYOB Moderator

3,345Posts

339Kudos

514Solutions

Re: Import Items Error Codes

Hi @IanP 


We're really sorry for the frustrations caused by this and our teams are currently investigating this issue.  You will be contacted by one of the product specialists to understand your concerns. In the meantime, as we have your serial number, we can run the online scripts for you to resolve the error 4077.

Kind regards,
Komal

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

IanP
Partner
4 Posts
Partner
Australia
Partner

4Posts

1Kudos

0Solutions

Re: Import Items Error Codes

Hi Komal,

 

Our file is offline.

 

I am not enormously concerned by the -4077, I know you can fix it and once the program faults and bugs have been fixed we can easily upload the file (once again) and have you remove that error.

 

My big problem is that export/import in AR2020.3 just does not work acceptably. (And hasn't since we were froced to move from Premier).  As a result we are unable to run our automated price updates.

 

Please, please, please can you get some-one who understands this stuff to help.

 

Regards 

Ian

 

I am unable to contact anyone who will actually get started on sorting out the big problem.  Instead lots of promises

"We have escalated it, you will be contacted"  which never happens.

Komal_S
MYOB Moderator
3,345 Posts
MYOB Moderator
MYOB Moderator

3,345Posts

339Kudos

514Solutions

Re: Import Items Error Codes

Hi @IanP 


We did organise a callback yesterday and I understand one of the specialists has spoken to you, and will get your file in for further testing. They will keep on updating you accordingly.

 

We also do apologise for the inconvenience that has been caused by this. 

Kind regards,
Komal

MYOB Community Support

Online Help| Forum Search| my.MYOB| Download Page

Did my answer help?

Mark it as a SolutionHelpful? Leave a to tell others

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post