You are viewing limited content. For full access, please sign in.

Question

Question

Advanced Search: Document Retrieval

asked on May 4, 2016 Show version history

I have a folder which stores invoices with single voucher number text field.

I need to retrieve invoices where Voucher Number is "00998877","88009977","33440066" using Laserfiche Client advanced search syntax. 

I've tried few search syntax but it's returning 0 results.

Query example - {[]:[voucher number](any) in ("00998877","88009977","33440066")}

Could some one please help me either building the query or confirm me if it's possible to achieve this using advanced search syntax?

Thanks in advance.

0 0

Replies

replied on May 4, 2016

{[]:[Voucher Number]="00998877"} | {[]:[VoucherNumber]="88009977"} | {[]:[VoucherNumber]="33440066"} 

 

The pipe character (|) acts as an "or" statement.  Build a separate search for each voucher number you are looking for, then combine them with the | between them.

2 0
replied on May 4, 2016

You could use the | to add multiple OR parameters to your search.

{[]:[voucher number] ~= "00998877"}|{[]:[voucher number] ~= "88009977"}|{[]:[voucher number] ~= "33440066"}

0 0
replied on May 4, 2016

While the | operator will accomplish what you need, the syntax you've posted should work, if I understand your metadata setup correctly. If you'd like to troubleshoot a little, I have two questions: (1) What version is your Laserfiche Server? (2) Can you post an example of what your metadata looks like? Please do not post any confidential information.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.