gRecWarehouseEmp.RESET; gRecWarehouseEmp.SETRANGE("User ID", USERID); IF NOT gRecWarehouseEmp.FINDFIRST THEN ERROR(Text001, USERID) ELSE BEGIN // FILTERGROUP(10); SETFILTER("Location Code", '%1', GetLocation()); IF FINDFIRST THEN; // FILTERGROUP(0); END;
lLocationFilter := gRecWarehouseEmp."Location Code"; IF gRecWarehouseEmp.NEXT <> 0 THEN EXIT(lLocationFilter + '|' + GetLocation()); EXIT(lLocationFilter);
Answers
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Ewald Venter
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html