Re: Regarding wrapper for listing/getting the data

2019-04-08 Thread Jacques Le Roux

Hi Rahul,

Are you aware of the effort at https://issues.apache.org/jira/browse/OFBIZ-4274 
?

Thanks

Jacques

Le 08/04/2019 à 20:01, Rahul Utkoor a écrit :

Hello Smits,

I apologise for the late reply, I was busy with my exams and projects.

*Our Approach :*
We referred to the Services list provided by ofbiz and generated a template
API wrapper for the services. This wrapper is working for Post calls. We
are currently working on the REST APIs and our ultimate goal is to
contribute back to the Community.

*Project Git link* :
https://github.com/sbv-solutions-private-limited/ofbiz-framework

You may find the wrappers written in the below link,
https://github.com/sbv-solutions-private-limited/ofbiz-framework/blob/trunk/hot-deploy/rest/src/main/java/org/cfbiz/rest/custom/PingResource.java

Please feel free to ask questions/queries related to our approach.

On Thu, Mar 21, 2019 at 9:42 PM Pierre Smits  wrote:


Hi Rahul,

I would say that many of our (potential) adopters and contributors would
interested to learn how you have achieved the implementations of the REST
functionalities on services.

Can you explain your approach a bit more?

Maybe, when explaining a bit more, this will trigger other contributors to
share their insights/approached to help you move forward. While at the same
time, have the community come up with an acceptable approach to have such
in play in the code base.


Best regards,

Pierre Smits

*Apache Trafodion , Vice President*
*Apache Directory , PMC Member*
Apache Incubator , committer
*Apache OFBiz , contributor (without privileges)
since 2008*
Apache Steve , committer


On Thu, Mar 21, 2019 at 1:29 PM Rahul Utkoor
 wrote:


Hi smits,

We are able to write the rest api's for the services(for adding/updating
the data) provided by ofbiz. Right now we are facing the difficulty with
non-service functionalities(mostly for listing and getting the data).

On Thu, Mar 21, 2019 at 4:42 PM Pierre Smits 
wrote:


That would suggest a rest

On Thu, 21 Mar 2019 at 12:05 Rahul Utkoor 
wrote:


Hi Girish,

Thanks for the reply.
Yes, In our case an external system wants to interact with Ofbiz and

get

information.

On Wed, Mar 20, 2019 at 5:49 PM Girish Vasmatkar <
girish.vasmat...@hotwaxsystems.com> wrote:


Hi Rahul

Do you have an external system that wants to talk to OFBiz and thus

require

an interface/wrapper/web service to extract data from OFBiz?

Best -
Girish

On Wed, Mar 20, 2019 at 1:24 PM Rahul Utkoor
 wrote:


Hello all,

We are having a requirement of writing a wrapper for

listing/getting

the

data for the functionalities in accounting module of Ofbiz. For

some

of

the

listing functionalities, Ofbiz UI is tightly coupled with the

backend

implementation. In a crude way we can rewrite all the

functionalities

using

entityquery method, but it involves lot of effort to redo it for

all

of

them. Is there any optimal way to make use of existing methods?
Any suggestions are most welcome.

--

*Thanks & Regards,*
*Rahul.*



--

*Thanks & Regards,*
*Rahul.*


--
Sent from my phone



--

*Thanks & Regards,*
*Rahul.*





Re: Ofbiz Payment Integration

2019-04-08 Thread Rishi Solanki
Dear Shrilesh,
Please refer payment method type starts with EXT_ (for example EXT_PAYPAL).
You may need to follow it, like it never handles the auth request because
in case of external payment AUTH is payment gateway responsibility and
taken care by it. Instead of service we do redirection to payment gateway
service provider URL.

It seems the returnurl you put in the configuration is not able to
entertain the response from payumoney, you may need to write proper handler
for that. In short, you can follow the EXT_PAYPAL flow.

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems 
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*

Direct: +91-9893287847


On Mon, Apr 8, 2019 at 5:54 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> Hi Rishi,
> Thank for ur reply
>
> I was thinking of external payment service like hand over the user to the
> payment gateway and after payment success or failure, he comes back to the
> website
> I created a service add a new ext_payumoney
> this is the error I'm getting
> org.apache.ofbiz.webapp.control.RequestHandlerException: Illegal response;
> handler could not process request [checkExternalPayment] and event return
> [payumoney].
>
>
> can u able to help me in that, if possible?
> And once again thank you, bro,
>
>
> Regards,
> Shrilesh K.
>
> On Fri, Mar 29, 2019 at 2:08 PM Rishi Solanki 
> wrote:
>
>> Dear Shirlesh,
>> All payment service providers basically 5 methods. Authorize, Capture,
>> Refund, Void/Release and Settle. To integrate into OFBiz you need to write
>> 5 services depending upon the payment service providers APIs.
>> To check how they get invoked, please refer ProductStorePaymentSetting
>> entity and related code in OFBiz. Also check the code in the
>> PaymentGatewayServices class to see how it uses ProductStorePaymentSetting
>> while doing checkout or payment.
>>
>> HTH!
>>
>> Best Regards,
>> --
>> *Rishi Solanki* | Sr Manager, Enterprise Software Development
>> HotWax Systems 
>> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
>> Indore,
>> M.P 452010
>> Linkedin: *Rishi Solanki*
>> 
>> Direct: +91-9893287847
>>
>>
>> On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
>> shrilesh.korgaon...@udyogmandir.in> wrote:
>>
>> > *Hi Guys,*
>> >
>> > *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
>> > *did anybody has done that before, **help me if possible?*
>> > *And if not then can anybody tell*
>> > *how to Integrate a new payment method or payment gateway?*
>> > *OR*
>> > *how does the payment method work or the structure checkout process to
>> > payment?*
>> >
>> >
>> > *Regards,*
>> > *Shrilesh K.*
>> >
>>
>


Marketing Package - Auto Manufactured

2019-04-08 Thread james
Can someone explain to me how Marketing Package and Auto Manufactured is
suppose to behave?  I understand Marketing Package Pick Assemble which
will pick the components but not sure on the auto manufacture

Thanks,

James


 Original Message 
Subject: Urgent Requests - Developer with JRXML Jasper Skill for
Redesign of PDF Sales Quote
From: 
Date: Fri, April 05, 2019 4:59 pm
To: user@ofbiz.apache.org

We have an urgent requests for a developer with great JRXML Skills to
Redesign the Sales Quote PDF document in Opentaps/Ofbiz. This is a
small paid engagement and should be an easy tasks for someone skilled in
JRXML . If you are or know someone please respond to this email. It
must be done this weekend if available.

Thanks in Advance!

James


Re: Regarding wrapper for listing/getting the data

2019-04-08 Thread Rahul Utkoor
Hello Smits,

I apologise for the late reply, I was busy with my exams and projects.

*Our Approach :*
We referred to the Services list provided by ofbiz and generated a template
API wrapper for the services. This wrapper is working for Post calls. We
are currently working on the REST APIs and our ultimate goal is to
contribute back to the Community.

*Project Git link* :
https://github.com/sbv-solutions-private-limited/ofbiz-framework

You may find the wrappers written in the below link,
https://github.com/sbv-solutions-private-limited/ofbiz-framework/blob/trunk/hot-deploy/rest/src/main/java/org/cfbiz/rest/custom/PingResource.java

Please feel free to ask questions/queries related to our approach.

On Thu, Mar 21, 2019 at 9:42 PM Pierre Smits  wrote:

> Hi Rahul,
>
> I would say that many of our (potential) adopters and contributors would
> interested to learn how you have achieved the implementations of the REST
> functionalities on services.
>
> Can you explain your approach a bit more?
>
> Maybe, when explaining a bit more, this will trigger other contributors to
> share their insights/approached to help you move forward. While at the same
> time, have the community come up with an acceptable approach to have such
> in play in the code base.
>
>
> Best regards,
>
> Pierre Smits
>
> *Apache Trafodion , Vice President*
> *Apache Directory , PMC Member*
> Apache Incubator , committer
> *Apache OFBiz , contributor (without privileges)
> since 2008*
> Apache Steve , committer
>
>
> On Thu, Mar 21, 2019 at 1:29 PM Rahul Utkoor
>  wrote:
>
> > Hi smits,
> >
> > We are able to write the rest api's for the services(for adding/updating
> > the data) provided by ofbiz. Right now we are facing the difficulty with
> > non-service functionalities(mostly for listing and getting the data).
> >
> > On Thu, Mar 21, 2019 at 4:42 PM Pierre Smits 
> > wrote:
> >
> > > That would suggest a rest
> > >
> > > On Thu, 21 Mar 2019 at 12:05 Rahul Utkoor  > > .invalid>
> > > wrote:
> > >
> > > > Hi Girish,
> > > >
> > > > Thanks for the reply.
> > > > Yes, In our case an external system wants to interact with Ofbiz and
> > get
> > > > information.
> > > >
> > > > On Wed, Mar 20, 2019 at 5:49 PM Girish Vasmatkar <
> > > > girish.vasmat...@hotwaxsystems.com> wrote:
> > > >
> > > > > Hi Rahul
> > > > >
> > > > > Do you have an external system that wants to talk to OFBiz and thus
> > > > require
> > > > > an interface/wrapper/web service to extract data from OFBiz?
> > > > >
> > > > > Best -
> > > > > Girish
> > > > >
> > > > > On Wed, Mar 20, 2019 at 1:24 PM Rahul Utkoor
> > > > >  wrote:
> > > > >
> > > > > > Hello all,
> > > > > >
> > > > > > We are having a requirement of writing a wrapper for
> > listing/getting
> > > > the
> > > > > > data for the functionalities in accounting module of Ofbiz. For
> > some
> > > of
> > > > > the
> > > > > > listing functionalities, Ofbiz UI is tightly coupled with the
> > backend
> > > > > > implementation. In a crude way we can rewrite all the
> > functionalities
> > > > > using
> > > > > > entityquery method, but it involves lot of effort to redo it for
> > all
> > > of
> > > > > > them. Is there any optimal way to make use of existing methods?
> > > > > > Any suggestions are most welcome.
> > > > > >
> > > > > > --
> > > > > >
> > > > > > *Thanks & Regards,*
> > > > > > *Rahul.*
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > >
> > > > *Thanks & Regards,*
> > > > *Rahul.*
> > > >
> > > --
> > > Sent from my phone
> > >
> >
> >
> > --
> >
> > *Thanks & Regards,*
> > *Rahul.*
> >
>


-- 

*Thanks & Regards,*
*Rahul.*


Re: A question about installation

2019-04-08 Thread wongsari
Hi Mr. Francisco,

I uninstalled JDK 12 and installed JDK 8 and everything worked.

Thank you for your support.


On 2019/04/08 14:13:55, Blurbiness Info  wrote: 
> Dear Wongsari,
> 
> It seems that your JAVA_HOME is pointing to JDK 12 instead of pointing to
> JDK 8.
> 
> OFBiz requires JDK 8. If another JDK version is used it woul just stop
> silently, which is what is happening to you.
> 
> In your first email yo said that you had JDK 8, but keep in maind that if
> you have several JDK versions installed on your system, you have to make
> sure that your JAVA_HOME is pointing to JDK 8 before starting OFBiz.
> 
> Regards,
> 
> Francisco
> 
> Blurbiness
> www.blurbiness.com
> 
> 
> El lun., 8 abr. 2019 a las 14:16, wongs...@gmail.com ()
> escribió:
> 
> > Hi Mr. Mane,
> >
> > Thank you for responding.
> >
> > I have tried the command but it still doesn't give any response.
> >
> > Here is the response.
> > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"
> >
> > E:\apache-ofbiz-16.11.05>
> >
> > E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start"
> >
> > E:\apache-ofbiz-16.11.05>
> >
> > E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start"
> >
> > E:\apache-ofbiz-16.11.05>
> >
> >
> > I feel frustrated since there is no error messages whatsoever.
> > I edited gradlew.bat from "@echo off" to "@echo on" the result is
> > following:
> > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"
> >
> > E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal
> >
> > E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\
> >
> > E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=.
> >
> > E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew
> >
> > E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\
> >
> > E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS=
> >
> > E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome
> >
> > E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12
> >
> > E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe
> >
> > E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe"
> > goto init
> >
> > E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto
> > win9xME_args
> >
> > E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args
> >
> > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=
> >
> > E:\apache-ofbiz-16.11.05>set _SKIP=2
> >
> > E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute
> >
> > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz
> > --start"
> >
> > E:\apache-ofbiz-16.11.05>goto execute
> >
> > E:\apache-ofbiz-16.11.05>set
> > CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar
> >
> > E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe"
> > "-Dorg.gradle.appname=gradlew" -classpath
> > "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar"
> > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"
> >
> > E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd
> >
> > E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need
> > the _script_ return code instead of
> >
> > E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code!
> >
> > E:\apache-ofbiz-16.11.05>if not "" == "" exit 1
> >
> > E:\apache-ofbiz-16.11.05>exit /b 1
> >
> > E:\apache-ofbiz-16.11.05>
> >
> >
> > I tried to run the following by itself but there is nothing:
> > "C:\Progra~1\Java\jdk-12\bin\java.exe""-Dorg.gradle.appname=gradlew"
> > -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar"
> > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"
> >
> > What can I do to correct this.
> >
> > Thank you.
> >
> >
> > On 2019/04/08 10:36:33, Swapnil M Mane  wrote:
> > > Hi Wongsari,
> > >
> > > As you are using OFBiz-16.11 version.
> > > On cursory view, it seems you only run the cleanAll command.
> > > To set up and run OFBiz with default data you need to run different
> > > commands.
> > >
> > > To run OFBiz with default data here is the command
> > > gradlew cleanAll loadDefault "ofbiz --start"
> > >
> > > After the server start, access OFBiz at -
> > https://localhost:8443/ordermgr/
> > > username - admin
> > > password -  ofbiz
> > >
> > >
> > > I recommend you to read the README.md file [1] for more details.
> > > [1] https://github.com/apache/ofbiz/blob/release16.11/README.md
> > >
> > >
> > > - Best Regards,
> > > Swapnil M Mane,
> > > ofbiz.apache.org
> > >
> > >
> > > On Mon, Apr 8, 2019 at 3:39 PM wongs...@gmail.com 
> > > wrote:
> > >
> > > > Hi,
> > > >
> > > > I wonder how to get see error log for ofbiz gradlew installation.
> > > >
> > > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up.
> > > >
> > > > Here is my result to run the gradlew:
> > > >
> > > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll
> > > > Downloading
> > https://services.gradle.org/distributions/gradle-2.13-bin.

Re: A question about installation

2019-04-08 Thread Blurbiness Info
Dear Wongsari,

It seems that your JAVA_HOME is pointing to JDK 12 instead of pointing to
JDK 8.

OFBiz requires JDK 8. If another JDK version is used it woul just stop
silently, which is what is happening to you.

In your first email yo said that you had JDK 8, but keep in maind that if
you have several JDK versions installed on your system, you have to make
sure that your JAVA_HOME is pointing to JDK 8 before starting OFBiz.

Regards,

Francisco

Blurbiness
www.blurbiness.com


El lun., 8 abr. 2019 a las 14:16, wongs...@gmail.com ()
escribió:

> Hi Mr. Mane,
>
> Thank you for responding.
>
> I have tried the command but it still doesn't give any response.
>
> Here is the response.
> E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"
>
> E:\apache-ofbiz-16.11.05>
>
> E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start"
>
> E:\apache-ofbiz-16.11.05>
>
> E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start"
>
> E:\apache-ofbiz-16.11.05>
>
>
> I feel frustrated since there is no error messages whatsoever.
> I edited gradlew.bat from "@echo off" to "@echo on" the result is
> following:
> E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"
>
> E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal
>
> E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\
>
> E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=.
>
> E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew
>
> E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\
>
> E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS=
>
> E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome
>
> E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12
>
> E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe
>
> E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe"
> goto init
>
> E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto
> win9xME_args
>
> E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args
>
> E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=
>
> E:\apache-ofbiz-16.11.05>set _SKIP=2
>
> E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute
>
> E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz
> --start"
>
> E:\apache-ofbiz-16.11.05>goto execute
>
> E:\apache-ofbiz-16.11.05>set
> CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar
>
> E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe"
> "-Dorg.gradle.appname=gradlew" -classpath
> "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar"
> org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"
>
> E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd
>
> E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need
> the _script_ return code instead of
>
> E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code!
>
> E:\apache-ofbiz-16.11.05>if not "" == "" exit 1
>
> E:\apache-ofbiz-16.11.05>exit /b 1
>
> E:\apache-ofbiz-16.11.05>
>
>
> I tried to run the following by itself but there is nothing:
> "C:\Progra~1\Java\jdk-12\bin\java.exe""-Dorg.gradle.appname=gradlew"
> -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar"
> org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"
>
> What can I do to correct this.
>
> Thank you.
>
>
> On 2019/04/08 10:36:33, Swapnil M Mane  wrote:
> > Hi Wongsari,
> >
> > As you are using OFBiz-16.11 version.
> > On cursory view, it seems you only run the cleanAll command.
> > To set up and run OFBiz with default data you need to run different
> > commands.
> >
> > To run OFBiz with default data here is the command
> > gradlew cleanAll loadDefault "ofbiz --start"
> >
> > After the server start, access OFBiz at -
> https://localhost:8443/ordermgr/
> > username - admin
> > password -  ofbiz
> >
> >
> > I recommend you to read the README.md file [1] for more details.
> > [1] https://github.com/apache/ofbiz/blob/release16.11/README.md
> >
> >
> > - Best Regards,
> > Swapnil M Mane,
> > ofbiz.apache.org
> >
> >
> > On Mon, Apr 8, 2019 at 3:39 PM wongs...@gmail.com 
> > wrote:
> >
> > > Hi,
> > >
> > > I wonder how to get see error log for ofbiz gradlew installation.
> > >
> > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up.
> > >
> > > Here is my result to run the gradlew:
> > >
> > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll
> > > Downloading
> https://services.gradle.org/distributions/gradle-2.13-bin.zip
> > >
> > >
> ...

Re: Ofbiz Payment Integration

2019-04-08 Thread Shrilesh Korgaonkar
Hi Rishi,
Thank for ur reply

I was thinking of external payment service like hand over the user to the
payment gateway and after payment success or failure, he comes back to the
website
I created a service add a new ext_payumoney
this is the error I'm getting
org.apache.ofbiz.webapp.control.RequestHandlerException: Illegal response;
handler could not process request [checkExternalPayment] and event return
[payumoney].


can u able to help me in that, if possible?
And once again thank you, bro,


Regards,
Shrilesh K.

On Fri, Mar 29, 2019 at 2:08 PM Rishi Solanki 
wrote:

> Dear Shirlesh,
> All payment service providers basically 5 methods. Authorize, Capture,
> Refund, Void/Release and Settle. To integrate into OFBiz you need to write
> 5 services depending upon the payment service providers APIs.
> To check how they get invoked, please refer ProductStorePaymentSetting
> entity and related code in OFBiz. Also check the code in the
> PaymentGatewayServices class to see how it uses ProductStorePaymentSetting
> while doing checkout or payment.
>
> HTH!
>
> Best Regards,
> --
> *Rishi Solanki* | Sr Manager, Enterprise Software Development
> HotWax Systems 
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Rishi Solanki*
> 
> Direct: +91-9893287847
>
>
> On Fri, Mar 29, 2019 at 12:11 PM Shrilesh Korgaonkar <
> shrilesh.korgaon...@udyogmandir.in> wrote:
>
> > *Hi Guys,*
> >
> > *I'm trying to integrate PayUMoney Or PhonePe or Bhim UPI in ofbiz*
> > *did anybody has done that before, **help me if possible?*
> > *And if not then can anybody tell*
> > *how to Integrate a new payment method or payment gateway?*
> > *OR*
> > *how does the payment method work or the structure checkout process to
> > payment?*
> >
> >
> > *Regards,*
> > *Shrilesh K.*
> >
>


Re: A question about installation

2019-04-08 Thread wongsari
Hi Mr. Mane,

Thank you for responding.

I have tried the command but it still doesn't give any response.

Here is the response.
E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"

E:\apache-ofbiz-16.11.05>

E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start"

E:\apache-ofbiz-16.11.05>

E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start"

E:\apache-ofbiz-16.11.05>


I feel frustrated since there is no error messages whatsoever.
I edited gradlew.bat from "@echo off" to "@echo on" the result is following:
E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start"

E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal

E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\

E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=.

E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew

E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\

E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS=

E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome

E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12

E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe

E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe" goto 
init

E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto win9xME_args

E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args

E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=

E:\apache-ofbiz-16.11.05>set _SKIP=2

E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute

E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz --start"

E:\apache-ofbiz-16.11.05>goto execute

E:\apache-ofbiz-16.11.05>set 
CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar

E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe"
"-Dorg.gradle.appname=gradlew" -classpath 
"E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" 
org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"

E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd

E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need the 
_script_ return code instead of

E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code!

E:\apache-ofbiz-16.11.05>if not "" == "" exit 1

E:\apache-ofbiz-16.11.05>exit /b 1

E:\apache-ofbiz-16.11.05>


I tried to run the following by itself but there is nothing:
"C:\Progra~1\Java\jdk-12\bin\java.exe""-Dorg.gradle.appname=gradlew" 
-classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" 
org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start"

What can I do to correct this.

Thank you.


On 2019/04/08 10:36:33, Swapnil M Mane  wrote: 
> Hi Wongsari,
> 
> As you are using OFBiz-16.11 version.
> On cursory view, it seems you only run the cleanAll command.
> To set up and run OFBiz with default data you need to run different
> commands.
> 
> To run OFBiz with default data here is the command
> gradlew cleanAll loadDefault "ofbiz --start"
> 
> After the server start, access OFBiz at - https://localhost:8443/ordermgr/
> username - admin
> password -  ofbiz
> 
> 
> I recommend you to read the README.md file [1] for more details.
> [1] https://github.com/apache/ofbiz/blob/release16.11/README.md
> 
> 
> - Best Regards,
> Swapnil M Mane,
> ofbiz.apache.org
> 
> 
> On Mon, Apr 8, 2019 at 3:39 PM wongs...@gmail.com 
> wrote:
> 
> > Hi,
> >
> > I wonder how to get see error log for ofbiz gradlew installation.
> >
> > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up.
> >
> > Here is my result to run the gradlew:
> >
> > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll
> > Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
> >
> > ..

Re: A question about installation

2019-04-08 Thread Swapnil M Mane
Hi Wongsari,

As you are using OFBiz-16.11 version.
On cursory view, it seems you only run the cleanAll command.
To set up and run OFBiz with default data you need to run different
commands.

To run OFBiz with default data here is the command
gradlew cleanAll loadDefault "ofbiz --start"

After the server start, access OFBiz at - https://localhost:8443/ordermgr/
username - admin
password -  ofbiz


I recommend you to read the README.md file [1] for more details.
[1] https://github.com/apache/ofbiz/blob/release16.11/README.md


- Best Regards,
Swapnil M Mane,
ofbiz.apache.org


On Mon, Apr 8, 2019 at 3:39 PM wongs...@gmail.com 
wrote:

> Hi,
>
> I wonder how to get see error log for ofbiz gradlew installation.
>
> My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up.
>
> Here is my result to run the gradlew:
>
> E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll
> Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
>
> .
> Unzipping
> C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip
> to
> C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7
>
> E:\apache-ofbiz-16.11.05>
>
>
> It just stops without any error.
>
> I tried to search the mailing list but I don't know where to start since
> there is no error.
> Please help me to solve this problem.
>
>


A question about installation

2019-04-08 Thread wongsari
Hi,

I wonder how to get see error log for ofbiz gradlew installation.

My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up.

Here is my result to run the gradlew:

E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll
Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
.
Unzipping 
C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip
 to 
C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7

E:\apache-ofbiz-16.11.05>


It just stops without any error.

I tried to search the mailing list but I don't know where to start since there 
is no error.
Please help me to solve this problem.



Re: Error adding Carrier Ship Method Type ID

2019-04-08 Thread Rishi Solanki
This is an entity used to create party to type PERSON or PARTY_GROUP.
Please check party type in party entity.
If you are looking for UI then go at [1]

[1]
https://demo-trunk.ofbiz.apache.org/partymgr/control/editpartygroup?create_new=Y

Best Regards,
--
*Rishi Solanki* | Sr Manager, Enterprise Software Development
HotWax Systems 
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P 452010
Linkedin: *Rishi Solanki*

Direct: +91-9893287847


On Thu, Apr 4, 2019 at 10:14 PM  wrote:

> I got the party role but where do I enter party_group?
>
>
>  Original Message 
> Subject: Re: Error adding Carrier Ship Method Type ID
> From: Rishi Solanki 
> Date: Wed, April 03, 2019 11:26 am
> To: ofbizuser 
>
> James,
> Your error is simple fk error. You may need to create party, party_group
> and party_role (roleTypeId='CARRIER') data to create this data. There is
> dependency of CarrierShipmentMethod on the above entities. Please refer
> any
> data file which contains CarrierShipmentMethod records to get an idea.
>
> HTH!
>
> --
> *Rishi Solanki* | Sr Manager, Enterprise Software Development
> HotWax Systems 
> Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center,
> Indore,
> M.P 452010
> Linkedin: *Rishi Solanki*
> 
> Direct: +91-9893287847
>
>
> On Tue, Apr 2, 2019 at 11:22 PM  wrote:
>
> >
> > Sorry - Here is the error:
> >
> >
> > Could Not complete the Creates a CarrierShipmentMethod. Problem
> > creating the carrierShipmentMethod value. Error while inserting
> > CarrierShipmentMethod (SQL Exception:(ERROR: insert or update on table
> > "carrier+shipment_method" violates foreign key constraint
> > "carr_shmeth_party" Detail: Key (party_id)=(LTL Carrier (11256)) is not
> > present in table "party".))]
> >
> >
> >
> > --- Original Message 
> > Subject: Re: Error adding Carrier Ship Method Type ID
> > From: Wolfgang Paul Rauchholz 
> > Date: Mon, April 01, 2019 12:20 pm
> > To: user@ofbiz.apache.org
> >
> > Please add error message
> >
> > Sent from my iPad
> >
> > > On 1 Apr 2019, at 21:12,  <
> ja...@productive1.com>
> > wrote:
> > >
> > > When trying to add carrier ship method ID we are getting the attached
> > > error. Has anyone seen this or can point me in the right direction to
> > > fix it?
> > >
> > > Thanks,
> > >
> > > James
> >
>