Re: Menu persmissions

2009-10-06 Thread ARays
Hi, I am looking for a similar functionality to control visibility of menu items based on role. For example would like to *not* show menu items such as "viewvendor" for party with Employee role in PartyMenu.xml. Can someone point me to example code on how this can be done? - Arays

Re: partytypeid = person how?

2009-10-05 Thread ARays
ginal intent of picking a partyType) and my next steps would be to try and fix that sort of thing. - Arays Adrian Crum wrote: > > Employee is a party role, not a party type. > > It would be less work for you to use the existing functionality. > > -Adrian > > ARays w

Re: partytypeid = person how?

2009-10-05 Thread ARays
>From what it looks like this is hardwired to "PERSON". I am guessing there must be a reason behind it and perhaps it is best left that way. So for my requirement thinking the simplest way is perhaps to just use roles for now. Still have to worry about broken workflows if someone wher

Re: partytypeid = person how?

2009-10-05 Thread ARays
>From what it looks like this is hardwired to "PERSON". I am guessing there must be a reason behind it and perhaps it is best left that way. So for my requirement thinking the simplest way is perhaps to just use roles for now. Still have to worry about broken workflows if someone wher

partytypeid = person how?

2009-10-05 Thread ARays
t , but unclear on how 'PERSON' is set. Would really appreciate pointers. - Arays -- View this message in context: http://www.nabble.com/partytypeid-%3D-person-how--tp25755584p25755584.html Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: fine grained party

2009-10-04 Thread ARays
' and 'person' as types within partymgr. - Arays David E Jones-4 wrote: > > > Some more food for thought: not only should you not have a primary > role for a user, you should never even look at the role of a user on > its own... roles should be used to describe

Re: fine grained party

2009-10-03 Thread ARays
BTW, the seed data that prompted me to start thinking on these lines is below I am still searching if some of the sub types are used in some ways in ofbiz. - Arays ARays wrote: > > ah! there definitely is a catch. However, if one were to have a

Re: fine grained party

2009-10-03 Thread ARays
differentiate, but then the challenge may be that down the line someone might change or drop roles which can complicate matters. The idea is to treat the primary purpose much like the 'sex of a person' which is not expected to change in most cases if not all ;-) - Arays David E Jon

fine grained party

2009-10-03 Thread ARays
guish. This seems like a cleaner approach. However, I am unable to find out how and where partyTypeId is set. I would expect to extend person with sub types as employee, contractor etc, say as below Looking for some inputs/suggestions. Thanks Arays -- View this message in context: ht

Re: Calling simple method from another component

2009-10-03 Thread ARays
ah! amazing.. Many thanks. Arays Mridul Pathak-2 wrote: > > Following code will serve your purpose: > > > "component://party/script/org/ofbiz/party/user/UserEvents.xml"/> > > -- > Thanks & Regards > Mridul Pathak > Hotwax

Calling simple method from another component

2009-10-03 Thread ARays
Hi, I am trying to extend PartyMgr application to cover a few additional types of uses besides Employee, Customer types, for example 'Viewer'. As just have created a new component called 'myapp' under hot-deploy folder and have been able to get the forms showing. The form submit now goes through

Re: Order Manager - Audit trail

2009-08-17 Thread ARays
http://svn.apache.org/viewvc?view=rev&revision=652226 > > Example Implementation can be found at > http://svn.apache.org/viewvc?view=rev&revision=778406 > > Vikas > > On Aug 11, 2009, at 11:17 PM, ARays wrote: > >> >> Hi All, >> >

Re: Order Manager - Audit trail

2009-08-16 Thread ARays
ave them send your audit info to > the external db. > > that are docs that cover all this, just not in a way that shows you step > by step how to accomplish it. > > > My joke is > it is anything a 5yr can do with 20 years experience. > > ARays sent the following on 8/11/2009

Re: Order Manager - Audit trail

2009-08-16 Thread ARays
=778406 > > Vikas > > On Aug 11, 2009, at 11:17 PM, ARays wrote: > >> >> Hi All, >> >> I have a requirement to show details of changes made to a submitted >> orders. >> Essentially audit trail of which user modified what, field by field.

Order Manager - Audit trail

2009-08-11 Thread ARays
Hi All, I have a requirement to show details of changes made to a submitted orders. Essentially audit trail of which user modified what, field by field. This would need to include change made to line items besides of course shipping details etc. In short all details linked to orderid. Going thr

Date Time format - global override?

2009-08-06 Thread ARays
I am looking to see if there a global way to format Date/Time fields displayed on the UI to be restricted to mins. Right now it shows up at several places with seconds and millisec (eg 2003-11-20 13:48:19.105). Searching found some tips on handling it at ftl level per field but would be nice if

Re: screenxml - how does it work?

2009-06-15 Thread ARays
want and then exports the xml, in qb > xml format. > > you can also look at using the tranforms, or take a look at the > applications\product\templates\shipment templates for ideas. > > just to let you know there are other ways to accomplish this. > > ARa

Re: screenxml - how does it work?

2009-06-11 Thread ARays
Adrian Crum wrote: > > Just create a Frremarker template to output entities in whatever format > you want. > > -Adrian > > ARays wrote: >> Think XmlFormRenderer.java is the file from which "Export" is getting >> appended. This being a core portion of t

Re: screenxml - how does it work?

2009-06-11 Thread ARays
ng package directly meeting their schema. Would like to keep it flexible so that in future it can be easily extended to cover more than 1 3rd party package. - Aray ARays wrote: > > Never mind my previous note.. Was able to get it working with an

Re: screenxml - how does it work?

2009-06-11 Thread ARays
11, 2009, at 5:45 PM, ARays wrote: > >> >> Hi, >> >> In the screen >> https://demo904.ofbiz.org/accounting/control/globalGLSettings >> the export is expected to use the simple.xml.ftl file to render as >> suggested >> by the entry in comm

Re: screenxml - how does it work?

2009-06-11 Thread ARays
look something like . .. Continuing to explore and of course amazed at the powerful things that the framework can do! - Arays ARays wrote: > > Thanks.. Sure it is readable in excel or similar tools. > > My requirement however is to output XML that is directly com

Re: screenxml - how does it work?

2009-06-11 Thread ARays
x27;s all. Right now notice that the related form has Tried using individual field output as below But this loose the XML tags. Still digging but unsure what am I missing - Aray Jacopo Cappellato-4 wrote: > > On Jun 11, 2009, at 5:45 PM, ARays wrote: > >> b) I am

screenxml - how does it work?

2009-06-11 Thread ARays
Hi, In the screen https://demo904.ofbiz.org/accounting/control/globalGLSettings the export is expected to use the simple.xml.ftl file to render as suggested by the entry in commonscreen.xml under webcommon Now it does not seem like getting picked up and instead the processing continues to hap

Re: Chart of Accounts export - does not export all records at a time

2009-06-09 Thread ARays
Indeed that helped.. I figured that one out after I sent my note.. Many thanks Aray santosh malviya-2 wrote: > > Hello ARays, > > You have to set view-size attirbute in form included "ListGlAccount" in > screen for printing and exporting records like this: >

Re: Chart of Accounts export - does not export all records at a time

2009-06-08 Thread ARays
bove and tag before Many thanks in advance - Aray ARays wrote: > > Alright, never mind my previous note.. I think I figured what you meant by > "view-size attribute of form". I see the attribute used quite frequently > across the app on the form definition. Thanks for the

Re: Chart of Accounts export - does not export all records at a time

2009-06-08 Thread ARays
Alright, never mind my previous note.. I think I figured what you meant by "view-size attribute of form". I see the attribute used quite frequently across the app on the form definition. Thanks for the hint. -Aray ARays wrote: > > Hi Santosh, > > I tried the

Re: Chart of Accounts export - does not export all records at a time

2009-06-06 Thread ARays
below Thanks again - Aray santosh malviya-2 wrote: > > Hello ARays, > You can also try with view-size attribute of form where you can give > integer type value to display no. of records like 1000, it'll display > all records based on value of view-size, without pagination

Re: Chart of Accounts export - does not export all records at a time

2009-06-05 Thread ARays
e the > a work around I think is to click on the next button so then change the > URL > N&VIEW_SIZE_1=20&VIEW_INDEX_1=1# > to > N&VIEW_SIZE_1=461&VIEW_INDEX_1=1# > > will give you one page > I am not sure the printing will follow but you can give it a try

Chart of Accounts export - does not export all records at a time

2009-06-05 Thread ARays
Hello to OFBiz community. This is my first post on this forum and as you may guess, still learning the ropes.. I am looking to get an export of all the entries in chart of accounts using the export link in the screen URL below https://demo904.ofbiz.org/accounting/control/globalGLSettings While t