Hi There,
My setup Nav 2013 R2 (Build 36281)
I've found a bug in a standar Calculate Prod. Order (Codeunit 99000773)
PROCEDURE TransferTaskInfo
...
RtngLineQltyMeas.SETRANGE("Routing No.",FromProdOrderRtngLine."Routing No.");
RtngLinePersonnel.SETRANGE("Operation No.",FromProdOrderRtngLine."Operation No.");
RtngLinePersonnel.SETRANGE("Version Code",VersionCode);
IF RtngLineQltyMeas.FIND('-') THEN
REPEAT
ProdOrderRtngQltyMeas.TRANSFERFIELDS(RtngLineQltyMeas);
ProdOrderRtngQltyMeas.Status := FromProdOrderRtngLine.Status;
ProdOrderRtngQltyMeas."Prod. Order No." := FromProdOrderRtngLine."Prod. Order No.";
...
Hope it helps.
0
Comments
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Yes, it looks like Copy&Paste with forgotten overwrite of the variable. But because not so many customers are using the Routing Quality Measure table, it was not noticed... Have you reported the bug to MS yet?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'm sorry but as a freelance I've no way to do it...
(I wish I was a Partner)
It causes a crash because an existing record.