Functions in Forms in 5.0 SP1 -> Error Message

Kowa
Member Posts: 926
We have a number of sales and purchase reports which use a form variable "Calculation" with some parameters passed by reference to perform some calculations.
The form is not opened when the report is run, only its functions are used.
Up to now ( for the last 6 years
) this has been working fine. With the current 5.0 SP1 client, it is no longer possible to print the report. An error message pops up:
'Sales - Quote SI' cannot be closed, because it is locked by 'Calculation'.
Please finish 'Calculation' before closing.
The client then hangs up and can only be stopped by the task manager.
This message does not come up during a report preview. Also, when a 5.0 Client is used, the report is printed without any problem.
Does anybody have any information on this new "feature" ? Or is it just a :bug: ?
The form is not opened when the report is run, only its functions are used.
Up to now ( for the last 6 years

'Sales - Quote SI' cannot be closed, because it is locked by 'Calculation'.
Please finish 'Calculation' before closing.
The client then hangs up and can only be stopped by the task manager.
This message does not come up during a report preview. Also, when a 5.0 Client is used, the report is printed without any problem.
Does anybody have any information on this new "feature" ? Or is it just a :bug: ?
Kai Kowalewski
0
Answers
-
Hi,
I know that is sounds ridiculous.. but try in your SQL:GRANT SHOWPLAN TO [$ndo$shadow]
Get back with the results please.
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek Guzek wrote:Hi,
I know that is sounds ridiculous.. but try in your SQL:GRANT SHOWPLAN TO [$ndo$shadow]
Get back with the results please.
Regards,
SlawekKai Kowalewski0 -
Regardless it is a feature or bug it is some undocumented change in NAV client behaviour :evil:. BTW - try if the same is on SQL Client..
I wonder what happens when we upgrade our clients to NAV 2009... :whistle:
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
Slawek Guzek wrote:I wonder what happens when we upgrade our clients to NAV 2009... :whistle:
It's very annoying that time-consuming stuff like this, which can even cause projects to fail, always is the sword hanging above your head when doing new implementions or upgrades. A simple technical upgrade can render a system practically unusable if things like this are foisted upon us without being announced. :roll:Kai Kowalewski0 -
Today's posting in KB:"Error message when you try to print a custom report in Microsoft Dynamics NAV 5.0 with Service Pack 1: "'[Report_name]' cannot be closed, because it is locked by '[Form_name]'"
So now we know - it is a bug not a feature
For those who don't have access to the PartnerSourceWORKAROUND
To work around this problem, move the code from the form into a code unit.RESOLUTION
A supported hotfix is now available from Microsoft. The hotfix corrects the problem that is described in this article. Apply the hotfix only to systems that are experiencing this specific problem.
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
It's good to know that it is a bug
. Wouldn't have made much sense otherwise. Thanks for checking the knowledge base today, I did this two days ago but, naturally, couldn't find anything then.
Kai Kowalewski0
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