3.7-4.0 Upgrade Step 2 Error

jazzyjessjazzyjess Member Posts: 54
Hi all,
During the 4.0 upgrade Step 2 Data Conversion process, I ran the "Transfer Data" on Form 104002 which runs codeunit 104048 ...a few tables are committed successfully, however, i also ran into error that was caused by the following "unresolved variable" problem in codeunit 104048. (see line highlited in red). I could not find this particular field in the Prod.Order Line table (not on both 3.7 standard and custom, and also not on 4.0 standard), and i wonder whether i should create the field or just comment the line out?
Has anyone encountered this problem during step 2 upgrade?

UpdateProdOrderLine(VAR StateIndicator : Record "State Indicator")
WITH ProdOrderLine DO
IF StateIndicator.UpdateTable(TABLENAME) THEN BEGIN
TimeLog.TimeLogInsert(TimeLog,TABLENAME,TRUE);
SETRANGE(Status,Status::Finished);
IF FIND('-') THEN
REPEAT
StateIndicator.Update;
IF "Completely Invoiced" THEN
"Cost is Adjusted" := TRUE;
"Allow Online Adjustment" := TRUE;
MODIFY;
UNTIL NEXT = 0;
TimeLog.TimeLogInsert(TimeLog,TABLENAME,FALSE);
StateIndicator.EndUpdateTable(TABLENAME);
END;

Thank you very much !!

Comments

Sign In or Register to comment.