When I activate the menu "Production Schedule" the application shows this error on at live database.
"Error Showing Schedule Data on the Production Schedule",
When i try to debug CodeUnit 5500 the cursor show the error in the first Function:
ScheduleOrder
Initialize(InitialProdOrder,Editable);
CreateOutboundXML(XMLType::"Schedule Order");
ReturnValue := ProdSched.ScheduleOrder(OutboundXML);
IF ReturnValue <> 0 THEN BEGIN
CLEAR(ProdSched);
HandleError(ReturnValue,Text000); END
When i run the same menu in the TEST system there is no error, but there isn't so many active productions.
Any suggestion, maybe on how i can debug to the next level.
0
Comments
But i am assuming that u have compete installation on system.
It doesn't matter with of the parameter that I use, Date or Quantity. I'm using start date "-1D" and end date "2D", same error each time. If I try to change the date to "1D" / "2D" same problem.
Do you have any more suggestions?
110808 : Here is the solution :P
Make these corrections in the code in the Export Production Schedule XMLport (5500) as follows.
Add the following code in the ItemName - Export::OnBeforePassField function.
CorrectText("Prod. Order Line".Description);
Add the following code in the Description - Export::OnBeforePassField function.
CorrectText("Prod. Order Routing Line".Description);