NAV2009R2 Classic Client Production Schedule error

Maximus
Member Posts: 105
Hi,
I want to run the Production Schedule in NAV2009R2 Classic Client, but it throws the following error:
Microsoft Dynamics NAV Classic
This message is for C/AL programmers:
Could not invoke the member ScheduleOrder. The OLE control or Automation server returned the following
message:
One or more of the arguments could not be coerced.
OK
I tried to reinstall it but now I encounter the following issue. It used to be an option you could select in the installer. But in the NAV2009R2 installer it is nowhere to be found. See the attached screenshots. What to do?
Regards, Max
I want to run the Production Schedule in NAV2009R2 Classic Client, but it throws the following error:
Microsoft Dynamics NAV Classic
This message is for C/AL programmers:
Could not invoke the member ScheduleOrder. The OLE control or Automation server returned the following
message:
One or more of the arguments could not be coerced.
OK
I tried to reinstall it but now I encounter the following issue. It used to be an option you could select in the installer. But in the NAV2009R2 installer it is nowhere to be found. See the attached screenshots. What to do?
Regards, Max
0
Comments
-
The type of the parameter of the function "SecheduleOrder" of the automation is different for version 5 and version 6.
The version 5 uses IXMLDOMDOCUMENT2.
The version 6 uses IXMLDOMDOCUMENT3.
Have you upgraded technically on the NAV2009?0 -
Yes I have. I'll try to upgrade XML. Tnx for the tip.0
-
Hi Koubek,
thanks for pointing me in the right direction. The following modification of Codeunit 5500 solved my problem:
Change Global Variable OutboundXML from
Name DataType Subtype Length
OutboundXML Automation 'Microsoft XML, v4.0'.DOMDocument40
to
Name DataType Subtype Length
OutboundXML Automation 'Microsoft XML, v6.0'.DOMDocument60
Regards, Max0
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