Hi Navision Masters,
I would like to know whether a certain field can be scanned through barcode scanner but cannot be input through keyboard for certain user but other user can be input the field through keyboard and scanner ?
Please advise soon....
0
Comments
I assume that you have some keyboard scanner - in this case, I think, that answer is NO. You cannot distinguish between the source of keys... You can only check what is incoming - for example in many cases are in barcode coded some prefixes which are not imputet through keyboard and are not on the label - for example :
On label you have barcode with text 1000 but if you read it with scanner you see, that in barcode is text Q1000 which means that it is barcode for quantity. If you in your field on imput check, if you are inserting the Q, you can refuse the input... but you cannot control, if user enter the Q manually...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Create a function to check out the time elapsed since last input.
Then create new roles for scan and noscan and assign the users to them.
Use Table 2000000003 "Member of" in the "OnValidate" Trigger of the form to check if the user is a member of this group and is executing a permitted action.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
How about clipboard?I dont understand...please tell me....
So it would be neccessary to distinguish between very fast (clipboard) , fast ( scanner) and slow (manual entry). Scanners can usually be configured.
You can use the system variable TIME to check the time elapsed between calling functions, but the programming is a little bit more complicated.. #-o