Re: Invoice Sequence Number

2018-04-10 Thread Deepak Dixit
Hi Tejas,

You can refer following custom method data to generate sequence for invoice







As Taher mentioned you can create service to generate seqId based on your need.




Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Tue, Apr 10, 2018 at 8:29 PM, Taher Alkhateeb  wrote:

> I believe that would be achievable by using two different sequence
> names. Just create two services each one calling a different sequence
> name in "Delegator.getNextSeqId(String seqName)". Or depending on your
> logic, you might be able to do that in the same service.
>
> On Tue, Apr 10, 2018 at 5:45 PM, Tejas Lot  wrote:
> > Hello Everyone,
> >
> > We have two independent services which generates Invoice. Can we maintain
> > two sequences in ofbiz (Same as in party accounting preferences) e.g.
> > service 1 will maintain invoice sequence from 1 to 100 and service 2
> > will maintain invoice sequence from 101 onward.
> >
> > Anyone can help me to resolve?
> >
> > --
> > Thanking you,
> >
> > Warm regards,
> > Tejas Lot.
> > vnnogile Solutions Private Limited
> > www.vnnogile.com
> >
>


Re: Multiple eCommerce Websites & Mapping

2018-04-10 Thread Deepak Dixit
Hi James,

You can also refer https://issues.apache.org/jira/browse/OFBIZ-7120 for
Multisite support in specialpurpose/cmssite,

Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co

On Wed, Apr 11, 2018 at 3:13 AM, Michael Brohl 
wrote:

> Hi James,
>
> I have to be brief but hope it helps anyway:
>
> 1. setup a WebSite entity with domain and webSiteId
>
> 2. configure you webapp like this
>
>  title="mySite"
> app-bar-display="false"
> server="default-server"
> location="webapp/mySite"
> mount-point="/">
> 
> 
> 
>
> 3. Configure your web server with a virtual host and ServerName
> www.mySite.com
>
> 4. Add ProxyPass with AJP protocol to virtual host configuration
>
> ProxyPass / ajp://localhost:8009/
> ProxyPassReverse / ajp://localhost:8009/
>
> 5. disable the http/https connectors of Tomcat
>
>
> Hope I did not forget anything important.
>
> Best regards,
>
> Michael Brohl
> ecomify GmbH
> www.ecomify.de
>
>
> Am 10.04.18 um 21:13 schrieb ja...@productive1.com:
>
> Hi all I have going to the documentation and it looks like there is a
>> way to have multiple websites tied back to the same ofbiz instance.  I
>> have a few questions.  Where is this configured so we can map a product
>> store, web template to a web domain.  What do we need to change at our
>> domains registrar to have the www.xxx.com point to the right IP.  I am
>> sure this is more than a domain forward.  Thanks in advance!
>>
>
>
>


Re: Multiple eCommerce Websites & Mapping

2018-04-10 Thread Michael Brohl

Hi James,

I have to be brief but hope it helps anyway:

1. setup a WebSite entity with domain and webSiteId

2. configure you webapp like this

    
    
    
    

3. Configure your web server with a virtual host and ServerName 
www.mySite.com


4. Add ProxyPass with AJP protocol to virtual host configuration

ProxyPass / ajp://localhost:8009/
ProxyPassReverse / ajp://localhost:8009/

5. disable the http/https connectors of Tomcat


Hope I did not forget anything important.

Best regards,

Michael Brohl
ecomify GmbH
www.ecomify.de


Am 10.04.18 um 21:13 schrieb ja...@productive1.com:

Hi all I have going to the documentation and it looks like there is a
way to have multiple websites tied back to the same ofbiz instance.  I
have a few questions.  Where is this configured so we can map a product
store, web template to a web domain.  What do we need to change at our
domains registrar to have the www.xxx.com point to the right IP.  I am
sure this is more than a domain forward.  Thanks in advance!





smime.p7s
Description: S/MIME Cryptographic Signature


Multiple eCommerce Websites & Mapping

2018-04-10 Thread james

Hi all I have going to the documentation and it looks like there is a
way to have multiple websites tied back to the same ofbiz instance.  I
have a few questions.  Where is this configured so we can map a product
store, web template to a web domain.  What do we need to change at our
domains registrar to have the www.xxx.com point to the right IP.  I am
sure this is more than a domain forward.  Thanks in advance!


Re: [MODERATE EMAIL] Re: OFBiz Documentation Team Volunteers Needed

2018-04-10 Thread Daniel Kapeleti
Hi Sharan,

your email got lost in myriad of others received from this forum. You 
asked for the exact installation steps (that went wrong) and here they are:

Install Java:

(referencing these instructions: 
http://uniqueminds.co/manually-install-oracle-java-8-ubuntu/)

On your Desktop computer first do this:

Go to: http://www.oracle.com/technetwork/java/javase/downloads/index.html

Click the Java SE 8u161/ 8u162 link
In the Java SE Development Kit 8u162 section choose Accept License Agreement
Choose the Linux x64 link (jdk-8u162-linux-x64.tar.gz) and download it
Copy the download link (in Chrome press Ctrl-j, then copy download link)

In the terminal of your server do this:

wget "link-of-the-download-from-above"

mkdir /opt/jdk
tar -zxf jdk-8u162-linux-x64.tar.gz -C /opt/jdk

verify files are in the location:
ls /opt/jdk

In our case, the java executable is located under 
/opt/jdk/jdk1.8.0_162/bin/java. To set it as the default JVM in your 
machine run:

update-alternatives --install /usr/bin/java java 
/opt/jdk/jdk1.8.0_162/bin/java 100

and

update-alternatives --install /usr/bin/javac javac 
/opt/jdk/jdk1.8.0_162/bin/javac 100

Verifying installation:

java -version

The output should look like this:

java version "1.8.0_162" Java(TM) SE Runtime Environment (build 
1.8.0_162-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed 
mode)

Edit Java environment variable:

nano ~/.bashrc

copy the following text at end of file:

export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Download latest Ofbiz files from https://www-us.apache.org/dist/ofbiz/ 
(On the download section of the website the download was blank and it 
didn't work for me http://ofbiz.apache.org/download.html)

wget https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip

Verify download:

md5sum apache-ofbiz-16.11.04.zip

Should match the Md5 sum at: 
https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip.md5

Install unzip:

sudo apt update && sudo apt install unzip

Unzip archive:

unzip apache-ofbiz-16.11.04.zip

Install Ofbiz

cd /usr/local/apache-ofbiz
./gradlew cleanAll loadDefault

Start Ofbiz:

./gradlew ofbiz

The process will take a minute or two, then will stop Building at 91%, 
this is normal, now it is ready

To access the install go to following address:

https://[IP Address or domain]:8443/myportal/control/main
Admin Username: admin
Admin Password: ofbiz


On 2018/03/16 10:02:11, Sharan Foga  wrote:
 > Hi Rebecca>
 >
 > Welcome to our community! Thank you for being interested in helping 
out with our documentation effort and I'll add you to the documentation 
team list. We have a wiki page setup at the link below>
 >
 > 
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Documentation+Team>
 >
 > So please take a look through it and come back with any questions.>
 >
 > BTW if you are still having issues with your installation, please 
give us more details so that we can help you. (Which version of OFBiz, 
What you process you used to install etc)>
 >
 > Thanks>
 > Sharan>
 >
 >
 > On 2018/03/16 06:22:03, Deepak Dixit  wrote: >
 > > Hi Rebecca Johnson,>
 > > >
 > > 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: Rebecca Johnson >
 > > To: "user@ofbiz.apache.org" >
 > > Cc:>
 > > Bcc:>
 > > Date: Fri, 16 Mar 2018 05:48:06 +>
 > > Subject: Re: OFBiz Documentation Team Volunteers Needed>
 > > Count me in.>
 > > >
 > > On 2018/02/08 10:04:57, Aditya Sharma  
wrote:>
 > > > Hi Sharan,>>
 > > >>
 > > > Please count me in.>>
 > > >>
 > > > Thanks and Regards,>>
 > > >>
 > > > *Aditya Sharma* | Enterprise Software Engineer>>
 > > > HotWax Commerce  by HotWax Systems>>
 > > > >>
 > > >>
 > > > >>
 > > >>
 > > > On Thu, Feb 8, 2018 at 2:25 PM, Olivier Heintz <>>
 > > > holivier.li...@ofbizextra.org> wrote:>>
 > > >>
 > > > > Hi Sharan,>>
 > > > >>>
 > > > > please add me to the list,>>
 > > > >>>
 > > > > I have start to play with the new tools>>
 > > > > I have convert some docbook file to asciidoc with docbookrx tools>
 > > and make>>
 > > > > modification on help data to use the html generated files in the>
 > > ofbiz>>
 > > > > help, it's work's ;-)>>
 > > > > If needed, I can convert all docbook files to asccidoc>>
 > > > >>>
 > > > >>>
 > > > > Regards,>>
 > > > >>>
 > > > >>>
 > > > >>>
 > > > > Le 07/02/2018 à 14:32, Sharan Foga a écrit :>>
 > > > > > Hi Everyone>>
 > > > > >>>
 > > > > > (Trying again as my first post didn't reach this list)>>
 > > > > >>>
 > > > > > If you have read the latest project blog post then you will 
have>
 > > seen a>>
 

Re: Installation help

2018-04-10 Thread Mike
Off hand I would say that:


export JAVA_HOME=/usr/lib/jvm/java-8-oracle

Is incorrect.  In your case, it should (maybe) look like:

export JAVA_HOME=/opt/jdk/jdk1.8.0_162

On Tue, Apr 10, 2018 at 1:50 AM, Rajesh Mallah 
wrote:

> Hi Rebecca,
>
> can you try below , each of the steps were tested for ubuntu , but it
> relies on postgres.
>
> https://medium.com/@mallah.rajesh/single-and-multi-
> tenant-setup-of-ofbiz-erp-on-ubuntu-linux-an-walkthrough-
> for-newbies-d61d3552ad62
>
>
> regds
> mallah.
>


Re: Invoice Sequence Number

2018-04-10 Thread Taher Alkhateeb
I believe that would be achievable by using two different sequence
names. Just create two services each one calling a different sequence
name in "Delegator.getNextSeqId(String seqName)". Or depending on your
logic, you might be able to do that in the same service.

On Tue, Apr 10, 2018 at 5:45 PM, Tejas Lot  wrote:
> Hello Everyone,
>
> We have two independent services which generates Invoice. Can we maintain
> two sequences in ofbiz (Same as in party accounting preferences) e.g.
> service 1 will maintain invoice sequence from 1 to 100 and service 2
> will maintain invoice sequence from 101 onward.
>
> Anyone can help me to resolve?
>
> --
> Thanking you,
>
> Warm regards,
> Tejas Lot.
> vnnogile Solutions Private Limited
> www.vnnogile.com
>


Invoice Sequence Number

2018-04-10 Thread Tejas Lot

Hello Everyone,

We have two independent services which generates Invoice. Can we 
maintain two sequences in ofbiz (Same as in party accounting 
preferences) e.g. service 1 will maintain invoice sequence from 1 to 
100 and service 2 will maintain invoice sequence from 101 onward.


Anyone can help me to resolve?

--
Thanking you,

Warm regards,
Tejas Lot.
vnnogile Solutions Private Limited
www.vnnogile.com



Re: Installation help

2018-04-10 Thread Rajesh Mallah
Hi Rebecca,

can you try below , each of the steps were tested for ubuntu , but it
relies on postgres.

https://medium.com/@mallah.rajesh/single-and-multi-tenant-setup-of-ofbiz-erp-on-ubuntu-linux-an-walkthrough-for-newbies-d61d3552ad62


regds
mallah.


答复: 答复: 答复: 答复: A major bug in OFBiz Manufacturing MRP function

2018-04-10 Thread Schumann Ye
Dear Jacopo,

Sorry for coming back to you late on the issue.
I've done changing from DATETIME(6) to DATETIME(3). Everything works perfectly 
without error so far.
However, in order to avoid potential duplicate entry when creating new record, 
my suggestion is to set it as DATETIME(6).
As the calculating capacity & efficiency increases these days, odds still 
remain for duplicate data entries when the CPU & RAM are powerful enough.

This is only my personal view for your reference.
HIH.

B.R.
Schumann

-邮件原件-
发件人: Jacopo Cappellato  
发送时间: 2018年4月2日 13:59
收件人: user@ofbiz.apache.org ML 
主题: Re: 答复: 答复: 答复: A major bug in OFBiz Manufacturing MRP function

On Sun, Apr 1, 2018 at 10:30 AM, Schumann Ye 
wrote:

> Hi Jacopo,
>
> Thanks for your hints.
> Actually I am not using SVN now, I've done quite some customizations 
> so I would like to do it directly in the database mysql by using alter table.
> Is it ok if I do it this way?
>

Yes, you can directly alter the MRP_EVENT table.

Regards,

Jacopo


Installation help

2018-04-10 Thread Rebecca Johnson
Can someone please help with the exact steps of installing to Ubuntu 16.04 ?

My team has performed these steps and it didn't work:


Install Java:


(referencing these instructions: 
http://uniqueminds.co/manually-install-oracle-java-8-ubuntu/)


On your Desktop computer first do this:


Go to: http://www.oracle.com/technetwork/java/javase/downloads/index.html


Click the Java SE 8u161/ 8u162 link

In the Java SE Development Kit 8u162 section choose Accept License Agreement

Choose the Linux x64 link (jdk-8u162-linux-x64.tar.gz) and download it

Copy the download link (in Chrome press Ctrl-j, then copy download link)


In the terminal of your server do this:


wget "link-of-the-download-from-above"


mkdir /opt/jdk

tar -zxf jdk-8u162-linux-x64.tar.gz -C /opt/jdk


verify files are in the location:

ls /opt/jdk


In our case, the java executable is located under 
/opt/jdk/jdk1.8.0_162/bin/java. To set it as the default JVM in your machine 
run:


update-alternatives --install /usr/bin/java java /opt/jdk/jdk1.8.0_162/bin/java 
100


and


update-alternatives --install /usr/bin/javac javac 
/opt/jdk/jdk1.8.0_162/bin/javac 100


Verifying installation:


java -version


The output should look like this:


java version "1.8.0_162" Java(TM) SE Runtime Environment (build 1.8.0_162-b13) 
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed 
mode)


Edit Java environment variable:


nano ~/.bashrc


copy the following text at end of file:


export JAVA_HOME=/usr/lib/jvm/java-8-oracle


Download latest Ofbiz files from https://www-us.apache.org/dist/ofbiz/ (On the 
download section of the website the download was blank and it didn't work for 
me http://ofbiz.apache.org/download.html)


wget https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip


Verify download:


md5sum apache-ofbiz-16.11.04.zip


Should match the Md5 sum at: 
https://www-us.apache.org/dist/ofbiz/apache-ofbiz-16.11.04.zip.md5


Install unzip:


sudo apt update && sudo apt install unzip


Unzip archive:


unzip apache-ofbiz-16.11.04.zip


Install Ofbiz


cd /usr/local/apache-ofbiz

./gradlew cleanAll loadDefault


Start Ofbiz:


./gradlew ofbiz


The process will take a minute or two, then will stop Building at 91%, this is 
normal,
 now it is ready


To access the install go to following address:


https://[IP Address or domain]:8443/myportal/control/main

Admin Username: admin

Admin Password: ofbiz