AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • In-Person Gatherings
    • Power BI Workshop
    • Podcast
    • Rolodex
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AUG Forums
Everything Else
Break on Error Chec...
 
Notifications
Clear all

Questions Break on Error Check Box

 
Everything Else
Last Post by VJW 7 years ago
16 Posts
4 Users
1 Reactions
4,601 Views
RSS
SQLRunner
Posts: 45
 SQLRunner
Topic starter
August 30, 2018 3:09 pm
(@sqlrunner)
Trusted Member
Joined: 8 years ago

I have read documentation that seems to suggest that I can untick the Break on error box which should cause the import to process the remaining lines even if an error occurs.  This feature really effects whether an error has to be handled individually or as a group, which is huge when dealing with a file that has thousands of lines and hundreds of errors.   When I un-tick this box, the process still errors and stops processes-sing at the offending line.   Then when I check the detail tab, I find that the break on error box is checked again?  Is there a way around this?

 


15 Replies
MichaelHansen
Posts: 149
 MichaelHansen
August 31, 2018 1:05 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

I have not had this issue, I frequently tell mine to ignore errors. Noob question: You did SAVE after un-ticking the box right?


Reply
SQLRunner
 SQLRunner
(@sqlrunner)
Joined: 8 years ago

Trusted Member
Posts: 45
September 4, 2018 7:47 am
Reply toMichaelHansenMichaelHansen

Good Morning,

That is correct, I have clicked save before running import.  If you have experience with this, I could give you the login/pass to my test system (Running on my own personal cloud server).  Not being able to tell an import that is 10,000 lines long with a few hundred error to ignore errors is kind of a huge time sink.  


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
September 12, 2018 6:23 am
(@timrodman)
Famed Member
Joined: 10 years ago

I personally haven't had this problem before, as long as I save after unchecking Break on Error.


Reply
MichaelHansen
Posts: 149
 MichaelHansen
September 12, 2018 9:26 am
(@michaelhansen)
Estimable Member
Joined: 6 years ago

If you have the import setup, I'd be happy to take a pass at it in your test system and see if I can find any glaring errors. Please ensure you don't have any sensitive information in the import though. If you click on the envelope below my name you can send me a PM with the information.


Reply
SQLRunner
Posts: 45
 SQLRunner
Topic starter
September 12, 2018 9:33 am
(@sqlrunner)
Trusted Member
Joined: 8 years ago

Hi Michael,

Sent the message, let me know if you do not receive for some reason.  Thanks again.


Reply
MichaelHansen
Posts: 149
 MichaelHansen
September 12, 2018 9:56 am
(@michaelhansen)
Estimable Member
Joined: 6 years ago

I got your PM and I'll try to get this resolved with you.


Reply
MichaelHansen
Posts: 149
 MichaelHansen
September 12, 2018 3:32 pm
(@michaelhansen)
Estimable Member
Joined: 6 years ago

I have never attempted to break on error with a delete command. In fact, I've never created a scenario like you have for deletions. I am thinking it may be due to the fact that system won't allow a break on a delete, which doesn't amaze me when you're asking for an entire row to be dropped from your database. @timrodman may have more experience with deletions in Import Scenarios (I always do mine using GI's and the Mass Delete function). 

All that being said, I am logged out of your system if you'd like to swap the password to something different.


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
September 20, 2018 5:41 am
(@timrodman)
Famed Member
Joined: 10 years ago

That could be it. Maybe Break can't be used with Delete.


Reply
SQLRunner
Posts: 45
 SQLRunner
Topic starter
September 20, 2018 8:04 am
(@sqlrunner)
Trusted Member
Joined: 8 years ago

Sorry, missed this last update and saw it once Tim responded.  I must have left the delete on there when I was switching things around.  It was suppose to be on save and not delete.  The break on error does not permit being flipped off even when saving (The import does not break and then flips the option back one, even when saved.).  I kind of assumed it was a bug on this version as our vendor for the production server does not have an answer for that behavior either and sent it to their development team.


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
September 26, 2018 4:03 am
(@timrodman)
Famed Member
Joined: 10 years ago

Could be a bug in your build of Acumatica. Or maybe it has to do with the Import Scenario definition. I was able to get it to work with this definition:


Reply
SQLRunner
Posts: 45
 SQLRunner
Topic starter
September 26, 2018 8:18 am
(@sqlrunner)
Trusted Member
Joined: 8 years ago

What version is that?  I believe it may be a bug at my version of the framework.  Our vendor couldn't provide an answer and sent it as a bug to their local dev.  But if its in that version of the framework, probably not much they can do about it.


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
September 28, 2018 6:54 am
(@timrodman)
Famed Member
Joined: 10 years ago

I tried it on 18.104.0023


Reply
VJW
Posts: 51
 VJW
December 10, 2018 8:17 am
(@vjw)
Trusted Member
Joined: 6 years ago

Hi!

One thing I noticed with the Break on error option is that it only seem to apply for whole document and not lines.

For example:

If you are importing 1 sales order with 3 rows and the second row contain an error(wrong item ID for example) the whole import will end up in error even with that option on. So no sales order is created and no lines will be imported.

However, if you import 3 sales order(1 line per sales order in the provider) and the second line/order contains an error, the line/order 1 and 3 will be imported and then there will be an error on the 2 line/order.

This was my finding, do not however know if this is by design or a bug=)


Reply
Tim Rodman
Posts: 3199
 Tim Rodman
Admin
December 11, 2018 8:45 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Thanks for pointing that out @vjw. I hadn't noticed that before. Wow, that seems dangerous to me. Do you agree?


Reply
VJW
Posts: 51
 VJW
December 12, 2018 1:53 am
(@vjw)
Trusted Member
Joined: 6 years ago

I'm not 100% sure if this is the case in all scenarios, just something I saw when doing some testing. At least that is how it looked like for me. Maybe you and/or someone else could also give it a test just to verify the theory?

Yeah, I agree that it is dangerous and also a bit weird. Why not work the same way no matter what you're importing?


Reply
Tim Rodman reacted
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,528 Topics
  • 10.9 K Posts
  • 14 Online
  • 2,412 Members
Our newest member: Peter Paasch
Latest Post: Credit Reference Report Needed
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2026 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×