Hi Thanks for your answer. So this would resolve in something like
select * from InvoiceItemTypes where invoiceItemTypeId linke 'INV_%' Wich means i could also "just" remove the itemtypes i don't need from the database. Right? Which of both would be the cleaner solution? On 11 March 2014 17:35, Jeremy Olmstead <jolmste...@gmail.com> wrote: > You can do something like this (taken from GlSetupFroms.xml): > > <field name="invoiceItemTypeId"> > <drop-down allow-empty="false" > > <entity-options description="${description}" > entity-name="InvoiceItemType"> > <entity-constraint name="invoiceItemTypeId" > operator="like" value="INV_%"/> > <entity-order-by field-name="description"/> > </entity-options> > </drop-down> > </field> > > Jeremy > > > On Tue, Mar 11, 2014 at 10:53 AM, Adrian Stern <archd...@gmail.com> wrote: > > > Hi > > > > Since i only need a few of the available invoiceItemTypes i'm looking > for a > > way to hide the others from the user. Same goes for other DropDowns > where i > > wan't to reduce the entries. > > > > So lets say i create a new invoice and add an item to it. The item can > have > > one of many types and i want to limit the possible types available. > > > > Regards, Adrian > > >