Is there a transport services implementation in ofbiz.

2015-09-25 Thread Barou
New bee ...

I am using ofbiz for some weeks now and it is cool stuff.
Is there  service already implemented in ofbiz that handle transportation of
goods ?
I mean is there logistic service implemented in Ofbiz ?

Thanks



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Is-there-a-transport-services-implementation-in-ofbiz-tp4672746.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


AW: Multi Tenant

2015-09-25 Thread Ingo Wolfmayr
Hi Stefan,

this is what I do to create a new tenant (in the command line - linux): f.ex. 
tenant "demo"

1) create databases
2) Update /framework/entity/config/entityengine.xml

./ant create-tenant --> follow instructions

Load seed:
java \-Xmx512m \-XX:MaxPermSize=128m \-jar ofbiz.jar \load-data \-readers=seed 
\-delegator=default#demo

I assume that is what your missing:
Create admin user:
./ant load-tenant-admin-user-login -DdelegatorId=default#demo 
-DuserLoginId=admin-demo

If you take a look at for example /applications/accounting/ofbiz-component.xml 
you will find multiple enity-resources with a reader-name defined. 

from framework/entity/config/entityengine.xml:


Hope that helps.

Best regards,
Ingo



-Ursprüngliche Nachricht-
Von: Stefan Badenhorst [mailto:stefan.badenho...@mi-c3.com] 
Gesendet: Freitag, 25. September 2015 10:18
An: user@ofbiz.apache.org
Betreff: Multi Tenant

Good day.

I hope someone can help me setting up an additional tenant.
I'm having trouble logging in as the administrator.

I have downloaded OfBiz 13.07.02 and changed the configuration to connect to 
Postgres 9.4.

Now I have it working with the demo data loaded.
I want to add a new tenant with no demo data loaded.

I heave read many articles and tried the suggestions, the furthest I have 
gotten is to run this at the command line:

ant create-tenant

At first I got errors using this and I realized that it could not create the 
databases that I was specifying.
I manually created the databases with my chosen tenant id '10001'.
So now I have 2 additional databases ofbiz_10001 and ofbizolap_10001.

At the point where it asks me what data to install I have tried both 'Seed'
and 'seed-initial'. I must confess that I'm not sure what this means.

I ran the create-tenant again and this time it created 833 tables in the main 
database and 6 tables in the olap database.

At the end it tells me the following:
 [echo] Delegator = default#10001
 [echo] Tenant admin = '10001-admin'
 [echo] Password for tenant admin is 'ofbiz' must change on first login

I have also update the global config to show the tenant input on the login 
screen.

When I try to login with the above user, it tells me that the user does not 
exist.


Kind regards.
Stefan Badenhorst.

-- 


*Email Disclaimer*

This email message (and or any attachments) is proprietary to MI-C3, and is 
intended for the original addressee/nominated recipient only and/or otherwise 
authorized personnel. The information contained herein and attached is 
confidential. If you are not the intended recipient, please be advised that 
viewing this message and any attachments, as well as copying, forwarding, 
printing and disseminating any information related to this email is prohibited, 
and that you should not take any action based on the content of the email 
and/or attachments. If you received this email in error, please contact the 
sender and destroy all copies on this email and any attachments. The views and 
opinion expressed in this message are those of the individual sender of this 
message and do not necessarily represent the views and opinion of MI-C3. We 
cannot ensure or guarantee that the integrity of this communication has been 
maintained or that it is secure or error free as information can be 
intercepted, corrupted, lost and or subject to interference. MI-C3 does not 
accept liability for any errors or omissions in the contents of this message or 
for any damage resulting from the opening of this message should it contain a 
virus.


Re: Temporal expression configuration

2015-09-25 Thread Gil portenseigne

Hi Vyom,

I did some test about DAILY_GRIND  and HOUR_RANGE, and it seems to work.

To answer you question you can add another element to you daily_grind 
temporal expression like :


tempExprTypeId="INTERSECTION" description="Monday to Friday at 8am at 
00min without US Federal Holidays"/>
toTempExprId="MINUTE_00"/>
toTempExprId="HOUR_08"/>
toTempExprId="GOVT_WORK_SCHED"/>



The next job will be scheduled at 08:00:xx where xx is the second 
portion retained (not a big deal).


Does that suit you ?

Best Regards

Gil

On 19/09/2015 18:37, Vyom Jain wrote:

Thanks, I figured out the reasons for why no new jobs were getting created,
there were additional associations DAILY_GRIND in my database (as old seed
data used to have TIME_OF_DAY_RANGE association).
After fixing the seed data, the new job doesn't get scheduled at 8:00AM, I
think it retains the minute portion from its parent job, how can that be
solved?

--
Vyom

On 19 September 2015 at 21:03, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:


http://demo-trunk-ofbiz.apache.org/workeffort/control/calendar

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 9/19/2015 8:30 AM, Vyom Jain wrote:


Okay, can you provide some steps or link to a Work Effort in the demo (

http://demo-trunk-ofbiz.apache.org/workeffort/control/EditWorkEffort?workEffortId=1
)
so that I can see what fields need to be filled?

In my testing with a job on trunk code, first job would get finished but
no
new jobs would get created.

--
Vyom

On 19 September 2015 at 20:52, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

It is best to test temporal expressions with the Work Effort application -

so you can see the effect of your expression.

I used the DAILY_GRIND temporal expression in a work effort and it
creates
the correct events.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 9/19/2015 3:11 AM, Vyom Jain wrote:

I've been testing with the demo data and this is more likely a bug with

HOUR_RANGE. For example, if I use TemporalExpression DAILY_GRIND
(ServiceDemoData.xml) on a job, the job runs once but no jobs are
scheduled
for the next day.

--
Vyom

On 18 September 2015 at 20:51, Vyom Jain  wrote:

I've been trying to prepare similar expression on trunk code but neither


INTERSECTION nor DIFFERENCE give desired results (mentioned in first
message).
I've split "TIME_OF_DAY_RANGE" expression & replaced it with separate
"FREQUENCY" & "HOUR_RANGE(8, 18)" expressions.
There seems to be an issue with HOUR_RANGE evaluation.

Can anyone suggest what is wrong in the expression? Could this be a
bug?
On Aug 11, 2014 16:37, "Vyom Jain"  wrote:

TIME_OF_DAY_RANGE includes a frequency portion in it (integer1="13"


integer2="05"), when I had independently used ,
the
service would start *everyday* at 8:00, get scheduled after every 5
seconds
and finally stop at 18:00.

I've been able to formulate an expression that is giving me desired
results -






--
Vyom


On 11 August 2014 16:20, Adrian Crum <
adrian.c...@sandglass-software.com>
wrote:

You are missing a Frequency expression. It is needed to make the event


repeat every 5 seconds.

Time Of Day Range was removed because it was a bad implementation and
it
didn't function properly.

Adrian Crum
Sandglass Software
www.sandglass-software.com


On 8/10/2014 8:32 PM, Vyom Jain wrote:

Hello Everyone,


I would like to schedule recurring jobs in such a way that the job
executes
every 5 seconds from Monday to Wednesday starting from 08:00 till
18:00.

I've tried following temporal expression -






This expression doesn't work as expected - the job doesn't execute
every 5
seconds till 6:00 PM, it starts at 8:00 Monday & next run gets
scheduled to
8:00 Tuesday.

Can anyone suggest what is wrong in the expression?

Note: tempExprTypeId="TIME_OF_DAY_RANGE" is no longer valid in
current
trunk, though it is valid in the version of OFBiz I'm using
(somewhere
between v09.04 & 10.04).

--
Vyom








Re: js issue in latest release

2015-09-25 Thread Ashish Repal
Hi Deepak,

Where is the configuration done for this?
I have extended the order module of previous version in hot-deploy, where i
have added custom js file.


Pritam,
entry is already there for images folder in allowedPaths.




Regards,
Aashish Repal
09623381664

On Fri, Sep 25, 2015 at 10:55 AM, Deepak Dixit <
deepak.di...@hotwaxsystems.com> wrote:

> Hi Ashish,
>
> You need to add order related js under
> application/commonext/webapp/ordermgr-js.
> As birt component override the ordermgr webapp, hence js added under
> application/ordermgr will not be loaded.
>
> To fix this issue we added ordermgr-js webapp under commonext. Please add
> all the order related js under ordergr-js webapp.
>
> Thanks & Regards
> —
> Deepak Dixit
>
>
> > On Sep 25, 2015, at 10:38 AM, Pritam Kute 
> wrote:
> >
> > Hi Ashish,
> >
> > Can you please have a look at your *web.xml* file of ordermgr component?
> I
> > think you missed the entry of your images folder into allowedPaths param.
> > Code snippet is as below:
> >
> > 
> >allowedPaths
> >
> >
> /error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/js:/includes/maincss.css
> > *:/images*
> > 
> >
> > Hope this will help you.
> >
> > Thanks & Regards,
> > --
> > *Pritam Kute*
> > *HotWax Systems* | www.hotwaxsystems.com
> >
> > On Fri, Sep 25, 2015 at 10:02 AM, Ashish Repal 
> > wrote:
> >
> >> Hi All,
> >>
> >> I have updated to  latest ofbiz release *14.12-v14.0*
> >> I am facing js related issue here. Js files are not getting included.
> >>
> >>
> >> http://www.w3.org/2001/XMLSchema-instance;
> >> xsi:noNamespaceSchemaLocation="
> >> http://ofbiz.apache.org/dtds/widget-screen.xsd;>
> >>
> >>
> >>
> >>
> >>
> >>
> >>  *   >> value="/ordermgr/images/test.js" global="true"/>*
> >>

Re: js issue in latest release

2015-09-25 Thread Deepak Dixit
Hi Ashish,

This is introduced at r1612202.
http://markmail.org/message/eyr37djjpdllsjn7


Thanks & Regards
—
Deepak Dixit

> On Sep 25, 2015, at 12:48 PM, Ashish Repal  wrote:
> 
> Hi Deepak,
> 
> Where is the configuration done for this?
> I have extended the order module of previous version in hot-deploy, where i
> have added custom js file.
> 
> 
> Pritam,
> entry is already there for images folder in allowedPaths.
> 
> 
> 
> 
> Regards,
> Aashish Repal
> 09623381664
> 
> On Fri, Sep 25, 2015 at 10:55 AM, Deepak Dixit <
> deepak.di...@hotwaxsystems.com> wrote:
> 
>> Hi Ashish,
>> 
>> You need to add order related js under
>> application/commonext/webapp/ordermgr-js.
>> As birt component override the ordermgr webapp, hence js added under
>> application/ordermgr will not be loaded.
>> 
>> To fix this issue we added ordermgr-js webapp under commonext. Please add
>> all the order related js under ordergr-js webapp.
>> 
>> Thanks & Regards
>> —
>> Deepak Dixit
>> 
>> 
>>> On Sep 25, 2015, at 10:38 AM, Pritam Kute 
>> wrote:
>>> 
>>> Hi Ashish,
>>> 
>>> Can you please have a look at your *web.xml* file of ordermgr component?
>> I
>>> think you missed the entry of your images folder into allowedPaths param.
>>> Code snippet is as below:
>>> 
>>> 
>>>   allowedPaths
>>> 
>>> 
>> /error:/control:/products:/select:/index.html:/index.jsp:/default.html:/default.jsp:/js:/includes/maincss.css
>>> *:/images*
>>> 
>>> 
>>> Hope this will help you.
>>> 
>>> Thanks & Regards,
>>> --
>>> *Pritam Kute*
>>> *HotWax Systems* | www.hotwaxsystems.com
>>> 
>>> On Fri, Sep 25, 2015 at 10:02 AM, Ashish Repal 
>>> wrote:
>>> 
 Hi All,
 
 I have updated to  latest ofbiz release *14.12-v14.0*
 I am facing js related issue here. Js files are not getting included.
 
 
 http://www.w3.org/2001/XMLSchema-instance;
 xsi:noNamespaceSchemaLocation="
 http://ofbiz.apache.org/dtds/widget-screen.xsd;>
   
   
   
 
   
   
 *  >>> value="/ordermgr/images/test.js" global="true"/>*
   

Multi Tenant

2015-09-25 Thread Stefan Badenhorst
Good day.

I hope someone can help me setting up an additional tenant.
I'm having trouble logging in as the administrator.

I have downloaded OfBiz 13.07.02 and changed the configuration to connect
to Postgres 9.4.

Now I have it working with the demo data loaded.
I want to add a new tenant with no demo data loaded.

I heave read many articles and tried the suggestions, the furthest I have
gotten is to run this at the command line:

ant create-tenant

At first I got errors using this and I realized that it could not create
the databases that I was specifying.
I manually created the databases with my chosen tenant id '10001'.
So now I have 2 additional databases ofbiz_10001 and ofbizolap_10001.

At the point where it asks me what data to install I have tried both 'Seed'
and 'seed-initial'. I must confess that I'm not sure what this means.

I ran the create-tenant again and this time it created 833 tables in the
main database and 6 tables in the olap database.

At the end it tells me the following:
 [echo] Delegator = default#10001
 [echo] Tenant admin = '10001-admin'
 [echo] Password for tenant admin is 'ofbiz' must change on first login

I have also update the global config to show the tenant input on the login
screen.

When I try to login with the above user, it tells me that the user does not
exist.


Kind regards.
Stefan Badenhorst.

-- 


*Email Disclaimer*

This email message (and or any attachments) is proprietary to MI-C3, and is 
intended for the original addressee/nominated recipient only and/or 
otherwise authorized personnel. The information contained herein and 
attached is confidential. If you are not the intended recipient, please be 
advised that viewing this message and any attachments, as well as copying, 
forwarding, printing and disseminating any information related to this 
email is prohibited, and that you should not take any action based on the 
content of the email and/or attachments. If you received this email in 
error, please contact the sender and destroy all copies on this email and 
any attachments. The views and opinion expressed in this message are those 
of the individual sender of this message and do not necessarily represent 
the views and opinion of MI-C3. We cannot ensure or guarantee that the 
integrity of this communication has been maintained or that it is secure or 
error free as information can be intercepted, corrupted, lost and or 
subject to interference. MI-C3 does not accept liability for any errors or 
omissions in the contents of this message or for any damage resulting from 
the opening of this message should it contain a virus.


Re: Multi Tenant

2015-09-25 Thread Gavin Mabie
Hi Stefan

Have you tried logging on with the normal "admin" uid;

Gavin

On Fri, Sep 25, 2015 at 10:17 AM, Stefan Badenhorst <
stefan.badenho...@mi-c3.com> wrote:

> Good day.
>
> I hope someone can help me setting up an additional tenant.
> I'm having trouble logging in as the administrator.
>
> I have downloaded OfBiz 13.07.02 and changed the configuration to connect
> to Postgres 9.4.
>
> Now I have it working with the demo data loaded.
> I want to add a new tenant with no demo data loaded.
>
> I heave read many articles and tried the suggestions, the furthest I have
> gotten is to run this at the command line:
>
> ant create-tenant
>
> At first I got errors using this and I realized that it could not create
> the databases that I was specifying.
> I manually created the databases with my chosen tenant id '10001'.
> So now I have 2 additional databases ofbiz_10001 and ofbizolap_10001.
>
> At the point where it asks me what data to install I have tried both 'Seed'
> and 'seed-initial'. I must confess that I'm not sure what this means.
>
> I ran the create-tenant again and this time it created 833 tables in the
> main database and 6 tables in the olap database.
>
> At the end it tells me the following:
>  [echo] Delegator = default#10001
>  [echo] Tenant admin = '10001-admin'
>  [echo] Password for tenant admin is 'ofbiz' must change on first login
>
> I have also update the global config to show the tenant input on the login
> screen.
>
> When I try to login with the above user, it tells me that the user does not
> exist.
>
>
> Kind regards.
> Stefan Badenhorst.
>
> --
>
>
> *Email Disclaimer*
>
> This email message (and or any attachments) is proprietary to MI-C3, and is
> intended for the original addressee/nominated recipient only and/or
> otherwise authorized personnel. The information contained herein and
> attached is confidential. If you are not the intended recipient, please be
> advised that viewing this message and any attachments, as well as copying,
> forwarding, printing and disseminating any information related to this
> email is prohibited, and that you should not take any action based on the
> content of the email and/or attachments. If you received this email in
> error, please contact the sender and destroy all copies on this email and
> any attachments. The views and opinion expressed in this message are those
> of the individual sender of this message and do not necessarily represent
> the views and opinion of MI-C3. We cannot ensure or guarantee that the
> integrity of this communication has been maintained or that it is secure or
> error free as information can be intercepted, corrupted, lost and or
> subject to interference. MI-C3 does not accept liability for any errors or
> omissions in the contents of this message or for any damage resulting from
> the opening of this message should it contain a virus.
>