Project mgr - change resource (staff) rate from default

2016-01-20 Thread FGomez
HI all, I am looking to change the rate of a resource assigned to a project. So timesheet are based per such HrRate vs the default rate in defined in GL global accounting. The user has permission with 'project mgr admin and accounting role' but don't have enough permission to change

Re: different Invoice types with same Invoice ID range -> Chilean case

2016-01-20 Thread Gabriel Oberreuter
Fe de erratas: We use "partyIdFrom" instead of "partyId". Gabriel Oberreuter wrote > For the record, at the end we implemented it like this: > > 1) Add new fields for entity Invoice: invoiceTypeSII and invoiceNumberSII. > invoiceTypeSII is defined by the Tax Authority (SII) in Chile and must

Re: different Invoice types with same Invoice ID range -> Chilean case

2016-01-20 Thread Gabriel Oberreuter
For the record, at the end we implemented it like this: 1) Add new fields for entity Invoice: invoiceTypeSII and invoiceNumberSII. invoiceTypeSII is defined by the Tax Authority (SII) in Chile and must be implemented strictly by their specification. It is "similar" to ofbiz OOTB invoiceTypeId

Re: get all fields of an Entity

2016-01-20 Thread Gabriel Oberreuter
Jeremy Olmstead wrote > If you pass null as your set of fields, it will select all fields. > > Jeremy Oh, thanks. That works great to select all fields when executing the query. I still need to get all fields of an entity at other parts of our code, do you know how to achieve this? -- View

get all fields of an Entity

2016-01-20 Thread Gabriel Oberreuter
Hi all, Do anyone knows how to get all fields of a given Entity programmatically? I can't seem to find that functionality of just lack the java knowledge to just do it. I am creating a query and want to select "all" current fields of an entity. When executing the query, I can pass a Set of

Re: Adrian Crum

2016-01-20 Thread Gabriel Oberreuter
Sad news, my sincere condolences of him. -- View this message in context: http://ofbiz.135035.n4.nabble.com/Adrian-Crum-tp4675676p4676258.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: get all fields of an Entity

2016-01-20 Thread Jeremy Olmstead
Something like this should work: ModelEntity modelEntity = delegator.getModelEntity("Invoice"); List fieldNames = modelEntity.getAllFieldNames(); On Wed, Jan 20, 2016 at 10:37 AM, Gabriel Oberreuter wrote: > Jeremy Olmstead wrote > > If you pass null as

Re: get all fields of an Entity

2016-01-20 Thread Jeremy Olmstead
If you pass null as your set of fields, it will select all fields. Jeremy On Wed, Jan 20, 2016 at 9:47 AM, Gabriel Oberreuter wrote: > Hi all, > > Do anyone knows how to get all fields of a given Entity programmatically? I > can't seem to find that functionality of just

Re: An index number appended to utilCacheTable names when there are conflicts?

2016-01-20 Thread Scott Gray
It's most likely a race condition in the UtilCache getOrCreate method (the exact name escapes me without looking). Does it a actually cause any issues or is it just strange? On 20 Jan 2016 11:41, "Len Shein" wrote: > All, > > There have been instances where one or more of the

RE: An index number appended to utilCacheTable names when there are conflicts?

2016-01-20 Thread Len Shein
It does cause issues since it seems the original cache (without the 1) does not properly clear. In my situation it happens to be the DataResource cache. As you know Content is stored in the three cache stores Content, DataResource, Electronic Text. We are in a clustered environment using