Re: Difficulty with Fresh 16.11 Release Install

2018-03-01 Thread Sean Turner
I'm sorted, I ran java -jar build/libs/ofbiz.jar --load-data, and I was
able to log in

On Fri, Mar 2, 2018 at 12:21 AM, Sean Turner 
wrote:

> That solved it, thank you Paul!
>
> Is there something I need to do to enable the default admin user with
> password ofbiz?
>
> On Fri, Mar 2, 2018 at 8:16 AM, Paul Foxworthy 
> wrote:
>
>> On 2 March 2018 at 09:29, Sean Turner 
>> wrote:
>>
>>
>> > I'm trying to create a fresh install (without the preloaded data), but
>> I'm
>> > running into some issues. Maybe I'm missing a step. I'm on a Mac, and my
>> > version of Java is 1.8.0_144.
>> >
>> > I first  run :
>> > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11
>> > ofbiz.16.11
>> > Then in the ofbiz directory I run ./gradlew build
>> > Then I run ./gradlew ofbiz
>> >
>> > When I got to https://localhost:8443/accounting/control/login, I see
>> the
>> > following in my browser:
>> >
>> > ERROR rendering error page [/error/error.jsp]
>>
>>
>> Hi Sean,
>>
>> Have you imported the seed data? If you're starting on a production
>> system,
>> you don't need the demo data, but you will need seed.
>>
>> Try this:
>>
>> gradlew "ofbiz --load-data readers=seed,seed-initial"
>>
>> Cheers
>>
>> Paul Foxworthy
>>
>> --
>> Coherent Software Australia Pty Ltd
>> PO Box 2773
>> Cheltenham Vic 3192
>> Australia
>>
>> Phone: +61 3 9585 6788
>> Web: http://www.coherentsoftware.com.au/
>> Email: i...@coherentsoftware.com.au
>>
>
>


Re: Difficulty with Fresh 16.11 Release Install

2018-03-01 Thread Paul Foxworthy
On 2 March 2018 at 11:21, Sean Turner  wrote:

> That solved it, thank you Paul!
>
> Is there something I need to do to enable the default admin user with
> password ofbiz?
>

I'd expect it to work.

You can explicitly set the admin password with

gradlew loadAdminUserLogin -PuserLoginId=*UserName*

You'll then be prompted to set a password when you sign in.

This might help:

https://cwiki.apache.org/confluence/display/OFBENDUSER/How+to+Install+OFBiz+without+the+Demo+Data

Cheers

Paul

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au


Re: Difficulty with Fresh 16.11 Release Install

2018-03-01 Thread Sean Turner
That solved it, thank you Paul!

Is there something I need to do to enable the default admin user with
password ofbiz?

On Fri, Mar 2, 2018 at 8:16 AM, Paul Foxworthy  wrote:

> On 2 March 2018 at 09:29, Sean Turner 
> wrote:
>
>
> > I'm trying to create a fresh install (without the preloaded data), but
> I'm
> > running into some issues. Maybe I'm missing a step. I'm on a Mac, and my
> > version of Java is 1.8.0_144.
> >
> > I first  run :
> > svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11
> > ofbiz.16.11
> > Then in the ofbiz directory I run ./gradlew build
> > Then I run ./gradlew ofbiz
> >
> > When I got to https://localhost:8443/accounting/control/login, I see the
> > following in my browser:
> >
> > ERROR rendering error page [/error/error.jsp]
>
>
> Hi Sean,
>
> Have you imported the seed data? If you're starting on a production system,
> you don't need the demo data, but you will need seed.
>
> Try this:
>
> gradlew "ofbiz --load-data readers=seed,seed-initial"
>
> Cheers
>
> Paul Foxworthy
>
> --
> Coherent Software Australia Pty Ltd
> PO Box 2773
> Cheltenham Vic 3192
> Australia
>
> Phone: +61 3 9585 6788
> Web: http://www.coherentsoftware.com.au/
> Email: i...@coherentsoftware.com.au
>


Re: Difficulty with Fresh 16.11 Release Install

2018-03-01 Thread Paul Foxworthy
On 2 March 2018 at 09:29, Sean Turner  wrote:


> I'm trying to create a fresh install (without the preloaded data), but I'm
> running into some issues. Maybe I'm missing a step. I'm on a Mac, and my
> version of Java is 1.8.0_144.
>
> I first  run :
> svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11
> ofbiz.16.11
> Then in the ofbiz directory I run ./gradlew build
> Then I run ./gradlew ofbiz
>
> When I got to https://localhost:8443/accounting/control/login, I see the
> following in my browser:
>
> ERROR rendering error page [/error/error.jsp]


Hi Sean,

Have you imported the seed data? If you're starting on a production system,
you don't need the demo data, but you will need seed.

Try this:

gradlew "ofbiz --load-data readers=seed,seed-initial"

Cheers

Paul Foxworthy

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Australia

Phone: +61 3 9585 6788
Web: http://www.coherentsoftware.com.au/
Email: i...@coherentsoftware.com.au


Difficulty with Fresh 16.11 Release Install

2018-03-01 Thread Sean Turner
Hi All,

I'm trying to create a fresh install (without the preloaded data), but I'm
running into some issues. Maybe I'm missing a step. I'm on a Mac, and my
version of Java is 1.8.0_144.

I first  run :
svn co http://svn.apache.org/repos/asf/ofbiz/branches/release16.11
ofbiz.16.11
Then in the ofbiz directory I run ./gradlew build
Then I run ./gradlew ofbiz

When I got to https://localhost:8443/accounting/control/login, I see the
following in my browser:

ERROR rendering error page [/error/error.jsp], but here is the error text:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#login]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://accounting/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen
[component://commonext/widget/CommonScreens.xml#ApplicationDecorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)) (Error rendering screen
[component://commonext/widget/CommonScreens.xml#ApplicationDecorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty))) (Error rendering screen
[component://accounting/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen
[component://commonext/widget/CommonScreens.xml#ApplicationDecorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)) (Error rendering screen
[component://commonext/widget/CommonScreens.xml#ApplicationDecorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty


Please advise.


RE: Selling and Buying In Differnt Units of Measurements

2018-03-01 Thread james
Yes.  It seems those fields will be extremely useful.  If the Supplier
record has UOM as cases and quantity included as 6 then on my Purchase
Order to that supplier I order 1 Case.  When I receive that purchase
order in Ofbiz it actually receives a quantity of 6.

 Original Message 
Subject: Re: Selling and Buying In Differnt Units of Measurements
From: Vaibhav Jain 
Date: Thu, March 01, 2018 4:15 am
To: user@ofbiz.apache.org

Hello James,

OFBiz does not have support to buy or sell the product in multiple
quantity
UOM.

This topic is already discussed before in the community. In OFBiz there
is
a support of marketing package in which we can assemble and decompose
the
product to trade the product in multiple UOM.

While using marketing package we need to maintain same product multiple
times for different UOM.

There is a drawback of using marketing package that we need to maintain
same product multiple times for different UOM.

You need to do the custom changes to achieve the support of multiple
UOM.

Here are some links to some of the reference previous discussions.
http://ofbiz.markmail.org/message/wnvkuyfubn6dewzc

http://ofbiz.markmail.org/message/l25duvbuuhspohyv
http://ofbiz.markmail.org/message/7vala7xcgcs5nb4n

The high-level design proposed for multiple quantity UOM

 1. We can use SupplierProduct entity to manage products in various UOM
 for the same supplier.
 2. Inventory of the product is maintained in the lowest quantity UOM.
 3. At the time of sales, quantity UOM is managed for tagging and sales
 will happen by UOM conversion.

Hope this will help ☺

Vaibhav Jain
Sr. Enterprise Software Engineer
HotWax Systems
m: 782-834-1900 e: vaibhav.j...@hotwaxsystems.com


On Thu, Mar 1, 2018 at 3:45 PM, Rishi Solanki 
wrote:

> Please look for the Product.quantityIncluded and related code. An example
> product setup with id WG-9943, on purchase you can select the quantity UOM.
> On selecting the quantity UOM it will add more than one quantity into the
> cart.
>
> HTH!
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Feb 28, 2018 at 10:07 PM,  wrote:
>
> >
> > Can ofbiz buy in one unit of measure and sell in another unit of
> > measure. For example:
> >
> > 1 Buy product GZ-1000 in case quantity in which each case includes 12
> > eaches
> >
> > So I buy quantity of 1
> >
> > However when I receive it since I sell it in eaches ...I receive
> > quantity of 12
> >
> > Is there a way of doing this without having to have to different
> > products?
> >
> > Thanks,
> >
> > James
> >
>


Re: Selling and Buying In Differnt Units of Measurements

2018-03-01 Thread James Yong
Hi James,

You are doing a debulk of the inventory item. I have used the following 
approach for one closed-sourced project.

You will need to implement a batch quantity attribute that is tied to a 
particular Bill of Material (BOM). 
So when we have a BOM A for Product B with batch quantity 12, this means a 
production run with BOM A will produce 12 items of Product B.

Using your example, we have 2 different products. One is 'GZ-1000 x 1', another 
is 'GZ-1000 x 12'. 
You set up a BOM for 'GX-1000 x 1' with a batch quantity of 12, and requiring 
'GZ-1000 x 12' as material.
Then do a production run to debulk.

Regards,
James Yong

On 2018/02/28 16:37:35,  wrote: 
> 
> Can ofbiz buy in one unit of measure and sell in another unit of
> measure.  For example:
> 
> 1 Buy product GZ-1000 in case quantity in which each case includes 12
> eaches
> 
> So I buy quantity of 1
> 
> However when I receive it since I sell it in eaches ...I receive
> quantity of 12
> 
> Is there a way of doing this without having to have to different
> products?
> 
> Thanks,
> 
> James
> 


OFBiz Talks for Apachecon NA in Montreal?

2018-03-01 Thread Sharan Foga
Hi All

Over the last few years at Apachecon our project has sometimes had enough 
submissions to be allocated an OFBiz track. You can see details of our 
participation in the past conferences section on the events page

https://cwiki.apache.org/confluence/display/OFBIZ/Events

An example of one of our tracks is as follows:

https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Track+@+Apachecon+EU+2016

Apachecon NA is going to be in Montreal in September and the CFP is open until 
the end of March. Is anyone interested in or planning to submit anything? 

Thanks
Sharan



Documentation Team – Existing OFBiz Human Resources Guide

2018-03-01 Thread Sharan Foga
Hi All

Following on from the Skype call this week, one of the things mentioned was to 
look at getting the whole documentation team working together on our first 
guide so we can all define the process and also learn the steps involved in 
contributing.

During the call I mentioned that we have a complete guide for the OFBiz Human 
Resources module already written so we could use this as our first 
collaboration example.  So if you want to start getting familiar with it,, you 
can take a look using the following link.

https://s.apache.org/vpEO

So just to clarify -  the task will not be to simply copy and paste this into 
the new OFBiz documentation framework, we will be using the existing guide to 
help us define and create modular documentation that will become our new Human 
Resource Guide stored within the code of our releases.

Thanks
Sharan


Re: Selling and Buying In Differnt Units of Measurements

2018-03-01 Thread Aayush Jain
Thanks Vaibhav for detailed information and high-level design proposal for
multiple UOM support.

On Thu, Mar 1, 2018 at 4:45 PM, Vaibhav Jain  wrote:

> Hello James,
>
> OFBiz does not have support to buy or sell the product in multiple quantity
> UOM.
>
> This topic is already discussed before in the community. In OFBiz there is
> a support of marketing package in which we can assemble and decompose the
> product to trade the product in multiple UOM.
>
> While using marketing package we need to maintain same product multiple
> times for different UOM.
>
> There is a drawback of using marketing package that we need to maintain
> same product multiple times for different UOM.
>
> You need to do the custom changes to achieve the support of multiple UOM.
>
> Here are some links to some of the reference previous discussions.
> http://ofbiz.markmail.org/message/wnvkuyfubn6dewzc
> 
> http://ofbiz.markmail.org/message/l25duvbuuhspohyv
> http://ofbiz.markmail.org/message/7vala7xcgcs5nb4n
>
> The high-level design proposed for multiple quantity UOM
>
>1. We can use SupplierProduct entity to manage products in various UOM
>for the same supplier.
>2. Inventory of the product is maintained in the lowest quantity UOM.
>3. At the time of sales, quantity UOM is managed for tagging and sales
>will happen by UOM conversion.
>
> Hope this will help ☺
>
> Vaibhav Jain
> Sr. Enterprise Software Engineer
> HotWax Systems
> m: 782-834-1900 e: vaibhav.j...@hotwaxsystems.com
> 
>
> On Thu, Mar 1, 2018 at 3:45 PM, Rishi Solanki 
> wrote:
>
> > Please look for the Product.quantityIncluded and related code. An example
> > product setup with id WG-9943, on purchase you can select the quantity
> UOM.
> > On selecting the quantity UOM it will add more than one quantity into the
> > cart.
> >
> > HTH!
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Wed, Feb 28, 2018 at 10:07 PM,  wrote:
> >
> > >
> > > Can ofbiz buy in one unit of measure and sell in another unit of
> > > measure.  For example:
> > >
> > > 1 Buy product GZ-1000 in case quantity in which each case includes 12
> > > eaches
> > >
> > > So I buy quantity of 1
> > >
> > > However when I receive it since I sell it in eaches ...I receive
> > > quantity of 12
> > >
> > > Is there a way of doing this without having to have to different
> > > products?
> > >
> > > Thanks,
> > >
> > > James
> > >
> >
>


Re: [MODERATE EMAIL] calculate the seniority of an employee

2018-03-01 Thread Vaibhav Jain
Hello Nada,

The given information is not sufficient to answer the question. Can you
please share more info?

Thanks & Regards

Vaibhav Jain
Sr. Enterprise Software Engineer
HotWax Systems
m: 782-834-1900 e: vaibhav.j...@hotwaxsystems.com


On Thu, Mar 1, 2018 at 12:10 PM, Aditya Sharma <
aditya.sha...@hotwaxsystems.com> wrote:

> Hi Nada,
>
> If your question is to calculate how much time an employee served the
> organization. You can use fromDate & thruDate in Employment entity to
> calculate it. You can also view this information in HR component
> https://demo-trunk.ofbiz.apache.org/humanres/control/ListEmployments?
> partyId=DemoEmployee
>
> HTH
>
> Thanks and Regards,
>
> *Aditya Sharma* | Enterprise Software Engineer
> HotWax Commerce  by HotWax Systems
> 
>
> 
>
> On Mon, Feb 26, 2018 at 11:35 AM, Deepak Dixit  com> wrote:
>
> > Hi Nada,
> >
> > Your email has been moderated
> > Please subscribe mailing list http://ofbiz.apache.org/mailing-lists.html
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> > www.hotwaxsystems.com
> > www.hotwax.co
> >
> > -- Forwarded message --
> > From: nada 
> > To: user@ofbiz.apache.org
> > Cc:
> > Bcc:
> > Date: Sun, 25 Feb 2018 12:27:48 -0700 (MST)
> > Subject: calculate the seniority of an employee
> > Hello, I need to calculate the seniority of an employee, can you give me
> > the
> > steps for that.I use Intellij IDEA. Thank you. I'm using OFBiz for the
> > first
> > time.
> >
> >
> >
> > --
> > Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >
>


Re: Selling and Buying In Differnt Units of Measurements

2018-03-01 Thread Vaibhav Jain
Hello James,

OFBiz does not have support to buy or sell the product in multiple quantity
UOM.

This topic is already discussed before in the community. In OFBiz there is
a support of marketing package in which we can assemble and decompose the
product to trade the product in multiple UOM.

While using marketing package we need to maintain same product multiple
times for different UOM.

There is a drawback of using marketing package that we need to maintain
same product multiple times for different UOM.

You need to do the custom changes to achieve the support of multiple UOM.

Here are some links to some of the reference previous discussions.
http://ofbiz.markmail.org/message/wnvkuyfubn6dewzc

http://ofbiz.markmail.org/message/l25duvbuuhspohyv
http://ofbiz.markmail.org/message/7vala7xcgcs5nb4n

The high-level design proposed for multiple quantity UOM

   1. We can use SupplierProduct entity to manage products in various UOM
   for the same supplier.
   2. Inventory of the product is maintained in the lowest quantity UOM.
   3. At the time of sales, quantity UOM is managed for tagging and sales
   will happen by UOM conversion.

Hope this will help ☺

Vaibhav Jain
Sr. Enterprise Software Engineer
HotWax Systems
m: 782-834-1900 e: vaibhav.j...@hotwaxsystems.com


On Thu, Mar 1, 2018 at 3:45 PM, Rishi Solanki 
wrote:

> Please look for the Product.quantityIncluded and related code. An example
> product setup with id WG-9943, on purchase you can select the quantity UOM.
> On selecting the quantity UOM it will add more than one quantity into the
> cart.
>
> HTH!
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Feb 28, 2018 at 10:07 PM,  wrote:
>
> >
> > Can ofbiz buy in one unit of measure and sell in another unit of
> > measure.  For example:
> >
> > 1 Buy product GZ-1000 in case quantity in which each case includes 12
> > eaches
> >
> > So I buy quantity of 1
> >
> > However when I receive it since I sell it in eaches ...I receive
> > quantity of 12
> >
> > Is there a way of doing this without having to have to different
> > products?
> >
> > Thanks,
> >
> > James
> >
>


Re: Selling and Buying In Differnt Units of Measurements

2018-03-01 Thread Rishi Solanki
Please look for the Product.quantityIncluded and related code. An example
product setup with id WG-9943, on purchase you can select the quantity UOM.
On selecting the quantity UOM it will add more than one quantity into the
cart.

HTH!

Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
www.hotwax.co

On Wed, Feb 28, 2018 at 10:07 PM,  wrote:

>
> Can ofbiz buy in one unit of measure and sell in another unit of
> measure.  For example:
>
> 1 Buy product GZ-1000 in case quantity in which each case includes 12
> eaches
>
> So I buy quantity of 1
>
> However when I receive it since I sell it in eaches ...I receive
> quantity of 12
>
> Is there a way of doing this without having to have to different
> products?
>
> Thanks,
>
> James
>