Filtering data in http://localhost/app.html#!List/Item

Hi


How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions

NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

You need to set permission in the DocType to achieve that. There is no way to add default filters in lists at the moment.


W: https://erpnext.com
T: @rushabh_mehta

On 12-Dec-2012, at 12:45 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Hi

How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions
NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Ok rushabh.. Which permission should i set?? execute??

Thanks
Arun

On Wed, Dec 12, 2012 at 2:50 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You need to set permission in the DocType to achieve that. There is no way to add default filters in lists at the moment.


W: https://erpnext.com
T: @rushabh_mehta

On 12-Dec-2012, at 12:45 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Hi

How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions
NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Arun,

You can set restriction on Item master based on linked fields in it. Item master has link fields like Item Group, Brand, UOM etc.

You can set restriction from Permission Manager (in Setup). Check few examples below.


User 1 = Item Group = Alpha
User 2 = Item Group = Beta

It means show only those items to User 1 where Item Groups is Alpha. Same way, you can set restriction based on Brand, Warehouse and other link field in Item master.


Check following screen shot for help in setting restriction:

Inline image 1


Inline image 2



Hope this helps.


Thanks and Regards,

Umair Sayyed
um…@erpnext.com
www.erpnext.com




On Wed, Dec 12, 2012 at 3:12 PM, Arun Emmanuel <ar…@gmail.com> wrote:

Ok rushabh.. Which permission should i set?? execute??

Thanks
Arun

On Wed, Dec 12, 2012 at 2:50 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You need to set permission in the DocType to achieve that. There is no way to add default filters in lists at the moment.

On 12-Dec-2012, at 12:45 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Hi

How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions
NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.








You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.










You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Read


W: https://erpnext.com
T: @rushabh_mehta

On 12-Dec-2012, at 3:12 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Ok rushabh.. Which permission should i set?? execute??

Thanks
Arun

On Wed, Dec 12, 2012 at 2:50 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You need to set permission in the DocType to achieve that. There is no way to add default filters in lists at the moment.


W: https://erpnext.com
T: @rushabh_mehta

On 12-Dec-2012, at 12:45 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Hi

How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions
NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 





You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

HI


Is there any way to run custom query in the listing page… with some filters and all…??
That means while clicking the Item link it should check for the logged in user and list the item that have some relation with the logged in user

I am looking for something like this

Thank You

On Wed, Dec 12, 2012 at 3:49 PM, Rushabh Mehta <rm...@gmail.com> wrote:
Read



W: https://erpnext.com
T: @rushabh_mehta

On 12-Dec-2012, at 3:12 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Ok rushabh.. Which permission should i set?? execute??

Thanks
Arun

On Wed, Dec 12, 2012 at 2:50 PM, Rushabh Mehta <rm...@gmail.com> wrote:
You need to set permission in the DocType to achieve that. There is no way to add default filters in lists at the moment.

On 12-Dec-2012, at 12:45 PM, Arun Emmanuel <ar...@gmail.com> wrote:

Hi

How can i apply some filters in http://localhost/app.html#!List/Item
Now it lists all the data of doctype Item
But i want to restrict the display of some items based on certain conditions
NB : the url given above is just an example
Thanks
Arun



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.









You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.









You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.







You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.







You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.