Hi, i have tried with the following code but it is not working properly , it is always throwing error for first line in journal voucher (p-16571). "Gen Journal Narration".RESET; IF "Gen Journal Narration".Narration= '' THEN BEGIN REPEAT SETRANGE("Document No."); "Gen Journal Narration".SETRANGE("Gen Journal Narration".Narration); "Gen Journal Narration".FINDFIRST; UNTIL NEXT = 0; ERROR('Verify that Line Narration and Voucher Narration fields are entered'); END;
↧