Hello Dhananjay_BK
I would highly recommend looking at some of the following:
The most likely cause of the error is the use of special characters, such as the ampersand (&), a less-than (<) sign, or a greater-than (>) sign in the code fields. These Special Characters may stops the Productions Schedule when available in following areas of NAV:
• Work Center (Name)
• Machine Center (Name)
• Costumer (Name)
• Production Order (Description)
To find out if Special Characters maybe the Problem, you can export the data (as XML data) before it will be commit to the Production Schedule. The following example shows how to achieve this. Finally you have some great opportunity to review the XML file for special characters like the Ampersand Sign by use of STRG+F etc...
Codeunit 5500Function
CreateOutboundXML(XMLType : 'Schedule Order')
...
IF ScheduleOrder.EXPORT THEN BEGIN
ProdSchedSetup.GanttXML.CREATEINSTREAM(IStream);
OutboundXML.load(IStream);
OutboundXML.save('c:\OUTPUTPRODUCTIONSCHEDULE.xml'); //ADD LINE
END ELSE
ERROR(Text002);
END
END;
...
NOTE: There are some exceptions were it is not possible to change the Data. For example, a Vendor Name contains an Ampersand and cannot be changed by political or reasons of law. In that case, please see below for the available Hotfix data. By applying the Hotfix, special Characters can be kept.
Knowledge Base:
926250 Error message when you try to open the "Production Schedule" dialog box to run a production plan in Microsoft Dynamics NAV 4.0: "Error showing schedule data on the production schedule"
902061 When the ampersand character (&) appears in a customer name, you cannot open the production schedule in Microsoft Navision
917262 Error message when you try to open the production schedule chart in Microsoft Navision: "Error showing schedule data on the production schedule"
946454 Error message when you save a production schedule in Microsoft Dynamics NAV 5.0: "System error -2146823282"
I hope this information helps identify the issue in your case.
Best Regards
Tom
Thomas Blaisdell, Microsoft Dynamics NAV Contributor