Problem with a Number as the first character in a product name

Folks

Have just noticed that if I go to either bill 4Cyte, or a 3-way-stop-cock, the item does not show up as a product.  And, what comes up is the product search box with the identities box already ticked.  To then find the product, you have to untick the box and hit the find button a second time.  This does not happen with any search item starting with a letter.

Why is it so, because at the moment my staff are all telling me I haven't added 4cyte properly and no one bills out for 3-way-stop-cocks and we always run out when we can least afford to do so!!!

 

NB, we are running 1.7.1

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Problem with a Number as the first character in a ...

Garry - this is a feature, not a bug. The behaviour is tied to the bar code support facility - see www.openvpms.org/documentation/csh/1.7/concepts/barcodes. It says "... if you enter a product (say on an invoice) as a number, then the system does an identity search of the products for that number, and if it finds only one, then it uses that product, otherwise it displays the select screen."

If you council your staff to enter not just '3' or '4' but rather '3-' or '4c' then all will work as expected.

Note that if, on the invoice edit screen, you had pressed Alt-F1, and read though to the part about the Product entry, you would have found:

and the barcode link would have taken you to the "..as a number" bit.

Regards, Tim G

Re: Problem with a Number as the first character in a ...

To work around it add an identity to the product with the name of the product as the identity.

  1. Go to the product
  2. go to identity tab
  3. add an identity
  4. select the product name and copy it
  5. paste it in the code field of the identity you just created

Do this for all products starting with a number.

 

Matt Y

Re: Problem with a Number as the first character in a ...

I have also found this happens with patients. We have entered cattle with their tag no as the name. Will try using identities as well.

Regards, Mary

Simon Slater

Registered Linux User #463789 @ http://linuxcounter.net

Syndicate content