Re: Demos down
show red to me looks like for 10hours Jacques Le Roux sent the following on 10/10/2010 2:18 AM: They are back Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com FYI, the demo server is down due to upgrade http://monitoring.apache.org/status/ Jacques
Re: Where does the price data for components get stored on placing the order
click on the order in partymgr then click on production run. if memory serves me right. = BJ Freeman Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man vivek sent the following on 10/9/2010 6:12 AM: Hi All, I am newbie in ofbiz very excited about using this framework. Currently i am working on ofbiz configurable products. However i am facing a concern when we place an order for the configurable item. I am trying to find it out that once we select any component, the price of the component gets added to the aggregated price of the main product. But on submitting an order is there any way to track it down that for which component what price had been added to the main product. Is there any entity that keeps an record in this way. Even in work-effort i have checked for the production run id that it supplies in order manager ofr that order id, but found that it simply shows the selected product id under the config option but no mention of the price. Kindly help. Your early help response is highly appreciable. Thanks
Re: Demos down
Yes, it worked yesterday for few hours then was down again. I asked infra team and Gav told me this he host is still playing up, waiting for another round of attention. Hopefully later on. So they are aware and we just can wait... Jacques From: BJ Freeman bjf...@free-man.net show red to me looks like for 10hours Jacques Le Roux sent the following on 10/10/2010 2:18 AM: They are back Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com FYI, the demo server is down due to upgrade http://monitoring.apache.org/status/ Jacques
Re: Where does the price data for components get stored on placing the order
Yes, but production runs don't show the component prices. The price is calculated and stored as a whole in one ItemOrder. This would need more work. Like storing prices in Routing Tasks (Materials list in ShowProductionRun screen, ie WorkEffort Entity) Jacques From: BJ Freeman bjf...@free-man.net click on the order in partymgr then click on production run. if memory serves me right. = BJ Freeman Strategic Power Office with Supplier Automation http://www.businessesnetwork.com/automation/viewforum.php?f=52 Specialtymarket.com http://www.specialtymarket.com/ Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man vivek sent the following on 10/9/2010 6:12 AM: Hi All, I am newbie in ofbiz very excited about using this framework. Currently i am working on ofbiz configurable products. However i am facing a concern when we place an order for the configurable item. I am trying to find it out that once we select any component, the price of the component gets added to the aggregated price of the main product. But on submitting an order is there any way to track it down that for which component what price had been added to the main product. Is there any entity that keeps an record in this way. Even in work-effort i have checked for the production run id that it supplies in order manager ofr that order id, but found that it simply shows the selected product id under the config option but no mention of the price. Kindly help. Your early help response is highly appreciable. Thanks
Not able to take print orders list from Order manager
Hi all, I wanted to take print out all order's which are completed or in what ever status, so went to order manager component and selected the find orders tab and got all order's list but when I select the print option from dropdown and printer name from other drop down and click on the Run Action button , this does not gives me any output nor any print for selected orders list. Can some one also faced the same problem in past ? How can I resolve this , need some help for this . Regards Ravindra Mandre
Entity engine compare columns
Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly
Inventory -- facility question
Hello, I want to have two facilities with each one inventory. The two facilities are each in another city. My question: If i input a manual order into ofbiz, release 09.04, can i make it that part of my products are taken from the one inventory in facility 1 and other products are taken from the inventory from facility 2? Regards, Heidi http://www.olagos.eu
Page Redirection
Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
inventory
Hello, Another question: I have an inventory from which manual order entries do diminish the inventory amount of certain products. What if i enter a physical inventory at a certain date x. Is the normal inventory amount of each product then adapted automatically or do i have to enter the amount variances with a reason for each product? In which order i have to understand and to enter all this things? Regards, Heidi
Re: Accessing theme context from CommonScreens.xml in a component
Thank you Scott. On Fri Oct 08,2010 01:15 pm, Scott Gray wrote: Yes you can do some of what your are asking but you should be using the value attribute instead of the from-field attribute in the set operation. What I don't think you can do out of the box is make use of the ${layoutSettings.contextPath} variable simply because I don't think OFBiz provides such a thing. Because the URLs provided in the theme data already have a full path provided, the mount point for the theme isn't stored anywhere, nor is there any guarantee that all theme resources will be stored under a single webapp. In tomahawk for example, some resources are stored in /images and others are stored in /tomahawk so there is no single contextPath. So to summarize: - Yes you can override the logo supplied by the theme data - No you cannot have part of the logo URL path be data driven unless you find a way to supply that data yourself Regards Scott HotWax Media http://www.hotwaxmedia.com On 8/10/2010, at 12:30 PM, Mansour Al Akeel wrote: If there's anything that's not clear, please ask. On Thu Oct 07,2010 03:37 pm, Mansour Al Akeel wrote: Hello all: I am wondering if there is a simple way to access the context of current theme from the main-decorator in any component ? Basically I want ot be able to do something like: screen name=main-decorator section actions property-map resource=AccountingUiLabels map-name=uiLabelMap global=true/ ... set field=layoutSettings.headerImageUrl from-field=${layoutSettings.contextPath}/images/accounting.png global=true / /actions . /section This will make the logo for each component themable. Thank you.
Re: Entity engine compare columns
Hi Varun, You can make EntityCondition using: EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.GREATER_THAN_EQUAL_TO, PARTY_ID) or EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.LESS_THAN_EQUAL_TO, PARTY_ID) -- Thanks Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 11, 2010 at 4:40 PM, varun bhansaly vbhans...@gmail.com wrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly
Re: Entity engine compare columns
Hi Varun, Following will work for you :- EntityCondition.makeCondition(USER_LOGIN_ID, EntityJoinOperator.NOT_EQUAL, partyId) Regards -- Chirag Manocha Emforium Software Pvt. Ltd. | ALL-IN Software +91-98735-47457 | +91-98263-19099 Please don't print this Email unless you really need to - this will preserve trees on planet earth. From: pankaj savita pankajsav...@gmail.com To: user@ofbiz.apache.org Sent: Monday, October 11, 2010 6:12:44 PM Subject: Re: Entity engine compare columns Hi Varun, You can make EntityCondition using: EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.GREATER_THAN_EQUAL_TO, PARTY_ID) or EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.LESS_THAN_EQUAL_TO, PARTY_ID) -- Thanks Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 11, 2010 at 4:40 PM, varun bhansaly vbhans...@gmail.com wrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly
Re: Entity engine compare columns
Thanks, but I wish to compare two columns. BTW, if I write this in java service, what should be the type for partyId ? On Mon, Oct 11, 2010 at 6:43 PM, Chirag Manocha cmano...@emforium.comwrote: Hi Varun, Following will work for you :- EntityCondition.makeCondition(USER_LOGIN_ID, EntityJoinOperator.NOT_EQUAL, partyId) Regards -- Chirag Manocha Emforium Software Pvt. Ltd. | ALL-IN Software +91-98735-47457 | +91-98263-19099 Please don't print this Email unless you really need to - this will preserve trees on planet earth. From: pankaj savita pankajsav...@gmail.com To: user@ofbiz.apache.org Sent: Monday, October 11, 2010 6:12:44 PM Subject: Re: Entity engine compare columns Hi Varun, You can make EntityCondition using: EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.GREATER_THAN_EQUAL_TO, PARTY_ID) or EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.LESS_THAN_EQUAL_TO, PARTY_ID) -- Thanks Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 11, 2010 at 4:40 PM, varun bhansaly vbhans...@gmail.com wrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly -- Regards, Varun Bhansaly
Re: Entity engine compare columns
In entitymodel.xml partyId will be defined as: field name=partyId type=id-ne/field In java service you can get compare using: String partyId = getPartyId(context); if (UtilValidate.isEmpty(partyId)) { //your code...} -- Thanks Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 11, 2010 at 6:47 PM, varun bhansaly vbhans...@gmail.com wrote: Thanks, but I wish to compare two columns. BTW, if I write this in java service, what should be the type for partyId ? On Mon, Oct 11, 2010 at 6:43 PM, Chirag Manocha cmano...@emforium.com wrote: Hi Varun, Following will work for you :- EntityCondition.makeCondition(USER_LOGIN_ID, EntityJoinOperator.NOT_EQUAL, partyId) Regards -- Chirag Manocha Emforium Software Pvt. Ltd. | ALL-IN Software +91-98735-47457 | +91-98263-19099 Please don't print this Email unless you really need to - this will preserve trees on planet earth. From: pankaj savita pankajsav...@gmail.com To: user@ofbiz.apache.org Sent: Monday, October 11, 2010 6:12:44 PM Subject: Re: Entity engine compare columns Hi Varun, You can make EntityCondition using: EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.GREATER_THAN_EQUAL_TO, PARTY_ID) or EntityCondition.makeCondition(USER_LOGIN_ID, EntityOperator.LESS_THAN_EQUAL_TO, PARTY_ID) -- Thanks Regards, Pankaj Savita Mob: +91 9890262476 Mail to: pankajsav...@gmail.com On Mon, Oct 11, 2010 at 4:40 PM, varun bhansaly vbhans...@gmail.com wrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly -- Regards, Varun Bhansaly
Re: Entity engine compare columns
The condtion should be something like this: (EntityFieldValue.makeFieldValue(userLoginId), EntityOperator.EQUALS, partyId) Bilgin On Mon, Oct 11, 2010 at 12:10 PM, varun bhansaly vbhans...@gmail.comwrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly
Re: Entity engine compare columns
This is what works - EntityCondition.makeCondition(oldValueText, EntityOperator.NOT_EQUAL, EntityFieldValue.makeFieldValue(newValueText)); and the generated query is - SELECT AUDIT_HISTORY_SEQ_ID, CHANGED_ENTITY_NAME, CHANGED_FIELD_NAME, PK_COMBINED_VALUE_TEXT, OLD_VALUE_TEXT, NEW_VALUE_TEXT, CHANGED_DATE, CHANGED_BY_INFO, CHANGED_SESSION_INFO, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM ENTITY_AUDIT_LOG WHERE (OLD_VALUE_TEXT NEW_VALUE_TEXT) ORDER BY CHANGED_DATE DESC Thanks All. On Mon, Oct 11, 2010 at 7:29 PM, Bilgin Ibryam bibr...@gmail.com wrote: The condtion should be something like this: (EntityFieldValue.makeFieldValue(userLoginId), EntityOperator.EQUALS, partyId) Bilgin On Mon, Oct 11, 2010 at 12:10 PM, varun bhansaly vbhans...@gmail.com wrote: Hi, Is it possible to compare two columns using the entity engine, For eg, write a query like this - SELECT * FROM USER_LOGIN WHERE USER_LOGIN_ID PARTY_ID -- Regards, Varun Bhansaly -- Regards, Varun Bhansaly
Re: Page Redirection
There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.comwrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Page Redirection
Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Screen Question
I have a basic requirement to show certain sections of a web page only to users of specific role types. What is the best way of doing that using ofbiz. Can we include-screen on basis of some role type checks? Thanks Regards, Deepa
Re: Page Redirection
Did you try request-redirect? There are plenty of examples Jacques From: Naveen Kumar naveen.new...@gmail.com Hi Bilgin, Thanks for the information, I know this trick, but I want to handle it differently like http-redirect. Regards, Naveen. On Mon, Oct 11, 2010 at 7:58 PM, Bilgin Ibryam bibr...@gmail.com wrote: There is no automatic way to change this behavior in the whole project at once. You have to do it manually by changing the controller.xml of the application you want changed. In general you have to change the success respond to go to the same edit/create screen. Bilgin On Mon, Oct 11, 2010 at 12:36 PM, Naveen Kumar naveen.new...@gmail.com wrote: Hi All, I have a problem with redierction. In ofbiz, after all the creation and update processes, the page is not redirected to the original page where the request for creation or update is invoked. Instead it stays on the new updated or created page. Is there any way to redirect the page to the parent page which actually invoked the CRUD operation? Regards, Naveen.
Re: Screen Question
Yes, you should look at https://cwiki.apache.org/confluence/display/OFBTECH/OFBiz+security Jacques From: Deepa Priolkar dee...@techmahindra.com I have a basic requirement to show certain sections of a web page only to users of specific role types. What is the best way of doing that using ofbiz. Can we include-screen on basis of some role type checks? Thanks Regards, Deepa
Re: Screen Question
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/11/2010 08:24 PM, Deepa Priolkar wrote: I have a basic requirement to show certain sections of a web page only to users of specific role types. What is the best way of doing that using ofbiz. Can we include-screen on basis of some role type checks? Thanks Regards, Deepa First have a look at: http://www.opensourcestrategies.com/ofbiz/security.php https://cwiki.apache.org/OFBTECH/ofbiz-security.html For restricting sections of a page see some examples below. In Freemarker (.ftl files): (set a hasPermission variable in an action script before) #if security.hasEntityPermission(SOME_PERMISSION, _VIEW, session) form.../form #else h3${uiLabelMap.PagePermissionError}/h3 /#if In Screens: screen name=... section condition if-has-permission permission=SOME_PERMISSION action=_VIEW/ /condition widgets include-screen name=SomethingYouWantToShow location=.../ /widgets fail-widgets include-screen name=NoPermission location=.../ /fail-widgets /section /screen Cheers, René - -- René Scheibe * rene.sche...@tngtech.com TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock Sitz: Unterföhring * Amtsgericht München * HRB 135082 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkyzY8gACgkQUXs9EHvIuCrOUwCeP7BnUeQ+wKzFew4jShaSyHDg xe8An0K9Ja55uVxtUrtN7rd/UkBZDhsW =jDlG -END PGP SIGNATURE-
Re: Demos down
FYI, the reason the demos are still down (from r777930 in infra) +ofbiz-vm 8.10apt-get is broken from this snippet: On Nyx: -name: release: kernel: date last reboot: +name: release: kernel: date last reboot: notes: -audit 10.04.1 LTS +audit 10.04.1 LTS Machine Turned off bb-vm1 10.04.1 LTS 2.6.32-25.44 2010-10-08 -ofbiz-vm 8.10 -photoark-vm 10.04.1 LTS +ofbiz-vm 8.10apt-get is broken +photoark-vm 10.04.1 LTS 2.6.32-24.432010-10-08 vmbuild 10.04.1 LTS 2.6.32-24.43 2010-10-08 -vmgump 10.04.1 LTS -wcmdemo 10.04.1 LTS -wookie-vm ?? +vmgump 10.04.1 LTS 2.6.32-24.43 2010-10-08 +wcmdemo 10.04.1 LTS Machine Turned off +wookie-vm 10.04.1 LTS 2.6.32-24.432010-10-08 Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com Yes, it worked yesterday for few hours then was down again. I asked infra team and Gav told me this he host is still playing up, waiting for another round of attention. Hopefully later on. So they are aware and we just can wait... Jacques From: BJ Freeman bjf...@free-man.net show red to me looks like for 10hours Jacques Le Roux sent the following on 10/10/2010 2:18 AM: They are back Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com FYI, the demo server is down due to upgrade http://monitoring.apache.org/status/ Jacques
Re: Not able to take print orders list from Order manager
I just tried and yes it does not work if you have already searched but else it works. Not sure if it's designed to work like that... Jacques From: Ravindra Mandre raviof...@gmail.com Hi all, I wanted to take print out all order's which are completed or in what ever status, so went to order manager component and selected the find orders tab and got all order's list but when I select the print option from dropdown and printer name from other drop down and click on the Run Action button , this does not gives me any output nor any print for selected orders list. Can some one also faced the same problem in past ? How can I resolve this , need some help for this . Regards Ravindra Mandre
Re: Not able to take print orders list from Order manager
Wrong sorry, actually it works like I supposed: after the search, you select an (or more) order(s) and print it(them) Jacques From: Jacques Le Roux jacques.le.r...@les7arts.com I just tried and yes it does not work if you have already searched but else it works. Not sure if it's designed to work like that... Jacques From: Ravindra Mandre raviof...@gmail.com Hi all, I wanted to take print out all order's which are completed or in what ever status, so went to order manager component and selected the find orders tab and got all order's list but when I select the print option from dropdown and printer name from other drop down and click on the Run Action button , this does not gives me any output nor any print for selected orders list. Can some one also faced the same problem in past ? How can I resolve this , need some help for this . Regards Ravindra Mandre
Re: Inventory -- facility question
Hi Heidi, If the same product is stored in different facilities and you want to allocate part of the product inventory from facility 1 and another part from facility 2 in your order, then you will need code customization. Regards, James Info Olagos wrote: Hello, I want to have two facilities with each one inventory. The two facilities are each in another city. My question: If i input a manual order into ofbiz, release 09.04, can i make it that part of my products are taken from the one inventory in facility 1 and other products are taken from the inventory from facility 2? Regards, Heidi http://www.olagos.eu -- View this message in context: http://ofbiz.135035.n4.nabble.com/Inventory-facility-question-tp2989604p2991046.html Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: inventory
Once you have created a sales order, the atp and qoh for the inventory will be updated accordingly Info Olagos wrote: Hello, Another question: I have an inventory from which manual order entries do diminish the inventory amount of certain products. What if i enter a physical inventory at a certain date x. Is the normal inventory amount of each product then adapted automatically or do i have to enter the amount variances with a reason for each product? In which order i have to understand and to enter all this things? Regards, Heidi -- View this message in context: http://ofbiz.135035.n4.nabble.com/inventory-tp2989612p2991048.html Sent from the OFBiz - User mailing list archive at Nabble.com.