"... cannot close because the system is currently worki

abartonicek
Member Posts: 162
Can somebody, please, help me. I have this message that is really driving me crazy.
Full MESSAGE text is : 'Get Shipment Lines' cannot close because the system is currently working.
The 'Get Shipment Lines' is FORM 5708
I figured out that this is happening because I added some code that calls my function that uses EXIT(TRUE) or EXIT(FALSE) to return value. When I do not use that statements everything is OK (message does not appear).
I'm I doing something wrong?
Full MESSAGE text is : 'Get Shipment Lines' cannot close because the system is currently working.
The 'Get Shipment Lines' is FORM 5708
I figured out that this is happening because I added some code that calls my function that uses EXIT(TRUE) or EXIT(FALSE) to return value. When I do not use that statements everything is OK (message does not appear).
I'm I doing something wrong?
Better to be critical then self-critical 

0
Comments
-
In more detail:
OnPushTempOrRec := WholeShipment; SalesGetShpt.SetSalesHeader(SalesHeader); IF TempOrRec THEN SalesGetShpt.CreateInvLines(Rec) ELSE SalesGetShpt.CreateInvLines(TempRec);
WholeShipmentIF TempRec.COUNT = 1 THEN IF CONFIRM('Get whole Shipment?',FALSE) THEN BEGIN MARKEDONLY; FIND('-'); REPEAT IF TempRec."Document No." <> "Document No." THEN MARK(FALSE); UNTIL NEXT = 0; MARKEDONLY; EXIT(TRUE); END; EXIT(FALSE);
When I don't call my function the message doesn't appear! :?:Better to be critical then self-critical0 -
This message comes up when a form waiting for user input is opened for the second time by a different operation on the same client. Closing the first form should help.
There is also a known issue in 3.70 leading to this error :
https://mbs.microsoft.com/knowledgebase ... SNNVKQXLLKKai Kowalewski0 -
But the function doesn't open or close the form. It only changes the filter on Rec variable.
I'm working in Nav 3.60 so I probablly have the same error as 3.70 (I can't open your link - Account problems)Better to be critical then self-critical0 -
The link is only for Partners, it is why you are not able to open it... the problem is solved in Navision 4.00, you can take the change from there if you want. The change is in Table 121 in function InsertInvLineFromRcptLine. There are added 3 lines.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions