the types of requirement

2012-06-19 Thread je
hi all 
recently I'm confused about the four
 kinds of requirement as follows: 
customer requirement 
product requirement 
internal requirement 
work requirement; 
I know that product requirement is 
 for products that are purchased 
from an external suppliers. When this 
 kind of requirement is approved, it can 
 be aggregated into a purchase order. 
And the internal requirement is for 
products that are manufactured internally. 
My problem is that what is the customer 
requirement and work requirement for? 
waiting for your help. 
thanks.

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/the-types-of-requirement-tp4633749.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Order by out of stock !

2012-06-19 Thread Deepak Agarwal
Ok. I figured it out. Added ExcludeOutOfStock search constraint by
preparing the dynamic view entity conditions.

On Tue, Jun 19, 2012 at 4:00 PM, Deepak Agarwal wrote:

> We want to show the products in paging but out of stock at the last. Other
> than store inventory lookup flag we have a custom logic for the out of
> stock too.
>
> Any idea How can I achieve it ? view_size is 20 , so in 20 records I can
> sort but how to do it for over all set of products.
>
> --
> Thanks,
> Deepak Agarwal,
>
>


-- 
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604


GenericValue object - OFBiz Web services

2012-06-19 Thread Rohit N
Hi All,

I have a basic question about the org.ofbiz.entity.GenericValue complex java 
object.
I am implementing a RESTFul API layer as a component in the OFBiz. Here, I am 
exposing REST API to the external world and in turn I am trying to access the 
standard OFBiz web service in the layer code using Delegator and 
LocalDispatcher available in the web servlet context.
My question here is when I want to call OFBiz service like "aimCCAuth" in 
org.ofbiz.accounting.thirdparty.authorizedotnet.AIMPaymentServices, if we 
observe the IN Parameter list, there are 2 parameters (credit card and 
orderPaymentPreference) mandatory with org.ofbiz.entity.GenericValue type. I 
dont know how to create this object since I am on the client side but within 
the OFBiz package as a component under /hot-deploy folder.
Any light and help on this topic is greatly appreciated. I am stuck at this 
point.

Thanks & Regards,

Rohit

GenericValue object - Calling OFBiz Web Service

2012-06-19 Thread Rohit N
Hi All,

I have a basic question about the org.ofbiz.entity.GenericValue complex java 
object.
I am implementing a RESTFul API layer as a component in the OFBiz. Here, I am 
exposing REST API to the external world and in turn I am trying to access the 
standard OFBiz web service in the layer code using Delegator and 
LocalDispatcher available in the web servlet context.
My question here is when I want to call OFBiz service like "aimCCAuth" in 
org.ofbiz.accounting.thirdparty.authorizedotnet.AIMPaymentServices, if we 
observe the IN Parameter list, there are 2 parameters (credit card and 
orderPaymentPreference) mandatory with org.ofbiz.entity.GenericValue type. I 
dont know how to create this object since I am on the client side but within 
the OFBiz package as a component under /hot-deploy folder.
Any light and help on this topic is greatly appreciated. I am stuck at this 
point.

Thanks & Regards,

Rohit


Re: GenericValue object - OFBiz Web services

2012-06-19 Thread rohit369
I think I got it right now. Lets say for the above service the following are
the IN Parameters:

billToEmail org.ofbiz.entity.GenericValue   IN
billToParty org.ofbiz.entity.GenericValue   IN
billingAddress  org.ofbiz.entity.GenericValue   IN
creditCard  org.ofbiz.entity.GenericValue   IN
currencyString  IN
customerIpAddress   String  IN
locale  Truejava.util.LocaleINOUT
login.password  String  IN
login.username  String  IN
orderId String  IN
orderItems  ListIN
orderPaymentPreference  org.ofbiz.entity.GenericValue   IN

In the above list, the parameters with org.ofbiz.entity.GenericValue type
directly correlates to a database Entity. We have to create an corresponding
object of type org.ofbiz.entity.GenericValue i.e. GenericValue billToParty =
new GenericValue(delegator.getModelEntity("Party"));
Populate the above object with all the required fields in the Entity
definition and send the same in the service context to the server.
Please correct me if I am wrong. 

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/GenericValue-object-OFBiz-Web-services-tp4633758p4633761.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Build and Deploy Ofbiz on Production

2012-06-19 Thread Mansour Al Akeel
deployment to external tomcat is not supported, and not working properly.


On Thu, Jun 7, 2012 at 4:49 PM, Deepak Agarwal  wrote:
> Try this:
> https://cwiki.apache.org/confluence/display/OFBTECH/Tomcat
>
> On Fri, Jun 8, 2012 at 2:12 AM, Deepak Agarwal  wrote:
>
>> There is a separate well return guide to deploy ofbiz in tomcat (if not
>> using embedded tomcat) with or without Apache (httpd).
>>
>> On Thu, Jun 7, 2012 at 6:01 PM, guptahim  wrote:
>>
>>> Hi,
>>> I have to deploy and build Ofbiz on linux server. I have following
>>> questions-
>>> 1. Is there any production set up guide?
>>> 2. Should we use embedded app server(Jetty) or do we need to set up on
>>> tomcat.
>>> 3. Do we have any build and deploy inbuilt in Ofbiz.
>>> 4. The Production set up guide at
>>>
>>> https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html
>>> does not give information as how to create war of ofbiz.
>>>
>>> -
>>> Himanshu Gupta
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.com/Build-and-Deploy-Ofbiz-on-Production-tp461.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>> --
>>> Thanks,
>>> Deepak Agarwal,
>>>
>>> Paxcel Technologies Pvt Ltd.
>>> Hartron Complex, Sector 18, Gurgaon, India.
>>> E-Mail: deepak.agar...@paxcel.net
>>> Mobile: +91 9910322604
>>>
>>>
>
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: deepak.agar...@paxcel.net
> Mobile: +91 9910322604


version problem?

2012-06-19 Thread je
in the following link:
http://ofbiz.135035.n4.nabble.com/OFBiz-Opentaps-td141993.html#a141999
http://ofbiz.135035.n4.nabble.com/OFBiz-Opentaps-td141993.html#a141999 
I noticed that the customer and work requirement have been removed from 
the old version ,but the version I'm used is 1345559.
hope your helps.

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/the-types-of-requirement-tp4633749p4633821.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Build and Deploy Ofbiz on Production

2012-06-19 Thread Jacques Le Roux

It depends on versions 
https://cwiki.apache.org/confluence/display/OFBTECH/Run+OFBiz+under+outside+Application+Servers
Seems that lastly some issues were crossed.

Jacques

From: "Mansour Al Akeel" 

deployment to external tomcat is not supported, and not working properly.


On Thu, Jun 7, 2012 at 4:49 PM, Deepak Agarwal  wrote:

Try this:
https://cwiki.apache.org/confluence/display/OFBTECH/Tomcat

On Fri, Jun 8, 2012 at 2:12 AM, Deepak Agarwal  wrote:


There is a separate well return guide to deploy ofbiz in tomcat (if not
using embedded tomcat) with or without Apache (httpd).

On Thu, Jun 7, 2012 at 6:01 PM, guptahim  wrote:


Hi,
I have to deploy and build Ofbiz on linux server. I have following
questions-
1. Is there any production set up guide?
2. Should we use embedded app server(Jetty) or do we need to set up on
tomcat.
3. Do we have any build and deploy inbuilt in Ofbiz.
4. The Production set up guide at

https://cwiki.apache.org/OFBTECH/apache-ofbiz-technical-production-setup-guide.html
does not give information as how to create war of ofbiz.

-
Himanshu Gupta
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Build-and-Deploy-Ofbiz-on-Production-tp461.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604





--
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604


Re: GenericValue object - OFBiz Web services

2012-06-19 Thread Jacopo Cappellato

On Jun 19, 2012, at 4:50 PM, rohit369 wrote:

> GenericValue billToParty =
> new GenericValue(delegator.getModelEntity("Party"));

GenericValue billToParty = delegator.makeValue("Party");

Kind regards,

Jacopo



Re: GenericValue object - Calling OFBiz Web Service

2012-06-19 Thread Deepak Agarwal
In my opinion you would need to make changes in the services and put a
front service layer which accepts required information in key value pair
(String-> String preferably). GenericValue is ofbiz framework dependent and
you should put depedency of this on to client.

On Tue, Jun 19, 2012 at 6:29 PM, Rohit N  wrote:

> Hi All,
>
> I have a basic question about the org.ofbiz.entity.GenericValue complex
> java object.
> I am implementing a RESTFul API layer as a component in the OFBiz. Here, I
> am exposing REST API to the external world and in turn I am trying to
> access the standard OFBiz web service in the layer code using Delegator and
> LocalDispatcher available in the web servlet context.
> My question here is when I want to call OFBiz service like "aimCCAuth" in
> org.ofbiz.accounting.thirdparty.authorizedotnet.AIMPaymentServices, if we
> observe the IN Parameter list, there are 2 parameters (credit card and
> orderPaymentPreference) mandatory with org.ofbiz.entity.GenericValue type.
> I dont know how to create this object since I am on the client side but
> within the OFBiz package as a component under /hot-deploy folder.
> Any light and help on this topic is greatly appreciated. I am stuck at
> this point.
>
> Thanks & Regards,
>
> Rohit
>



-- 
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604


Re: GenericValue object - Calling OFBiz Web Service

2012-06-19 Thread Deepak Agarwal
You should *Not  *put depedency of this on to client. **

On Wed, Jun 20, 2012 at 11:39 AM, Deepak Agarwal wrote:

> In my opinion you would need to make changes in the services and put a
> front service layer which accepts required information in key value pair
> (String-> String preferably). GenericValue is ofbiz framework dependent and
> you should put depedency of this on to client.
>
>
> On Tue, Jun 19, 2012 at 6:29 PM, Rohit N  wrote:
>
>> Hi All,
>>
>> I have a basic question about the org.ofbiz.entity.GenericValue complex
>> java object.
>> I am implementing a RESTFul API layer as a component in the OFBiz. Here,
>> I am exposing REST API to the external world and in turn I am trying to
>> access the standard OFBiz web service in the layer code using Delegator and
>> LocalDispatcher available in the web servlet context.
>> My question here is when I want to call OFBiz service like "aimCCAuth" in
>> org.ofbiz.accounting.thirdparty.authorizedotnet.AIMPaymentServices, if we
>> observe the IN Parameter list, there are 2 parameters (credit card and
>> orderPaymentPreference) mandatory with org.ofbiz.entity.GenericValue type.
>> I dont know how to create this object since I am on the client side but
>> within the OFBiz package as a component under /hot-deploy folder.
>> Any light and help on this topic is greatly appreciated. I am stuck at
>> this point.
>>
>> Thanks & Regards,
>>
>> Rohit
>>
>
>
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: deepak.agar...@paxcel.net
> Mobile: +91 9910322604
>



-- 
Thanks,
Deepak Agarwal,

Paxcel Technologies Pvt Ltd.
Hartron Complex, Sector 18, Gurgaon, India.
E-Mail: deepak.agar...@paxcel.net
Mobile: +91 9910322604