In this code, how can I adjust it so it only becomes treu if the record exists on the put away page rather than exists on the table. Thanks!
recPostedWhseReceiptLine.RESET;
recPostedWhseReceiptLine.SETRANGE("Posted Source No.", Rec."Document No.");
recPostedWhseReceiptLine.FINDLAST;
WhseWkorkSheet.RESET;
WhseWkorkSheet.SETRANGE("Whse. Document No.", recPostedWhseReceiptLine."No.");
IF WhseWkorkSheet.FINDFIRST THEN
gblnEditAllowed := FALSE;
*This post is locked for comments