I recently came across an error at a clients. When you create a purchase invoice and import lines from delivery receipts you can get an error due to a mismatch in field sizes.
The error occurs in CU90 line 3004. Its a subroutine which contains a line
OrderNo := PurchRecptLine."Order No.";
The problem is that "Order No." is 20 chars long and OrderNo, a local variable, is only 10. Obviously, you need to modify the local variable and increase it to 20 as well.
I don't know if there is a Kb on the subject or not but the solution is simple.
Ian
Comments
Confirmed on Nav2009
On Function
TestGetRcptPPmtAmtToDeduct(PurchHeader : Record "Purchase Header";PurchLine : Record "Purchase Line")
Matteo
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
Ian
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n