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

abartonicekabartonicek Member Posts: 162
edited 2006-01-25 in Navision Attain
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?
Better to be critical then self-critical :)

Comments

  • abartonicekabartonicek Member Posts: 162
    In more detail:

    OnPush
    TempOrRec := WholeShipment;
    SalesGetShpt.SetSalesHeader(SalesHeader);
    IF TempOrRec THEN
      SalesGetShpt.CreateInvLines(Rec)
    ELSE
      SalesGetShpt.CreateInvLines(TempRec);
    

    WholeShipment
    IF 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-critical :)
  • KowaKowa Member Posts: 923
    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 ... SNNVKQXLLK
    Kai Kowalewski
  • abartonicekabartonicek Member Posts: 162
    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-critical :)
  • kinekine Member Posts: 12,562
    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.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.