Integration with facebook ecommerce platform

2020-09-26 Thread Amit Gadaley
Hello All,

I am wondering how facebook ecommerce platform can be integrated with
OFBiz. I am sure that all of you familiar with the popularities of
facebook. It has millions of millions of customers and is one of the
favourite modes of shopping while doing browsing and social networking.

It will be a huge benefit to both our customers and OFBiz community, if we
are able to integrate OFBiz with facebook ecommerce platform.

I also looked at the available support
<https://developers.facebook.com/docs/commerce-platform/order-management>
provided by facebook and it seems everything is available.

Please feel free to provide any suggestions or inputs.

-- 
Kind Regards,
Amit Gadaley
*Technical Consultant*
*HotWax Systems*
*Enterprise open source experts*
cell: +91-95845-93069
office: 0731-409-3684
http://www.hotwaxsystems.com


Re: Error message price list

2019-03-14 Thread Amit Gadaley
Hi Wolfgang,

Could you please add more details like which screen are you using to run
this operation and the data that are you trying to insert.

On Sat, Mar 9, 2019 at 5:45 PM wp.rauchh...@gmail.com <
wp.rauchh...@gmail.com> wrote:

> I made a fresh install of latest 16.11  stable.
> When entering a new price I get hte following error message:
> java.lang.ClassCastException: Incompatible class: java.sql.Timestamp
> A price record through is was created.
>
> When deleting a reord, I get he dollowing message:
> java.lang.ClassCastException: Incompatible class: java.math.BigDecimal
>
> Thanks, Wolfgang
>


-- 
Kind Regards,
*Amit Gadaley* | Technical Consultant
HotWax Systems <http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010


Re: Outbound and Inbound Email

2019-01-31 Thread Amit Gadaley
Hello James,

You can use this link <https://support.google.com/a/answer/60751?hl=en> to
setup G Suite administrator and with some postfix setting, you can meet
with your requirement.

On Thu, Jan 31, 2019 at 5:44 PM Deepak Dixit  wrote:

> Hi James,
>
> >>Is it possible to have outbound emails out of the system use the users
> name with the default email
>
> Yes this is possible, need slide code modification in EmailServices.java
> you can use the following code to set from name
> ===
>
> mail.setFrom(new InternetAddress(sendFrom, fromName));
>
> ===
>
> >>each outbound email go out under the users email?
>
> I think yes we can configure postfix and use email whitelist mechanism
> to allow ip to send email.
>
>
> Kind Regards,
> Deepak Dixit
> DIRECTOR OF PRODUCT ENGINEERING
> mobile: +91 9826754548
> email: deepak.di...@hotwax.co
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Thu, Jan 31, 2019 at 5:25 PM  wrote:
>
> > Is it possible to have outbound emails out of the system use the users
> > name with the default email or each outbound email go out under the
> > users email?
> >
> > Thanks,
> >
> > James
> >
>


-- 
Thanks and Regards,
*Amit Gadaley <https://about.me/amit_gadaley>* | Technical Consultant
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010
Cell phone: +91 958.459.3069

<https://about.me/amit_gadaley?promo=email_sig>


*.html file rendering in OFBiz screen

2017-12-11 Thread Amit Gadaley
Hello Everyone,

OFBiz only supports the rendering of *.ftl files in OFBiz screens.
*.ftl files are same as *.html files with richer capabilities but sometimes
there are situations where a user needs to render only *.html files instead
of *.ftl files.

I have debugged the code and figure out that method '*renderHtmlTemplate*'
of HtmlWidget.java is responsible for rendering *.ftl files. I walked
through it and met with this condition:

if (location.endsWith(".ftl")) {
 // render file
} else {
//return error
}

My proposal is to update this condition like this:

if (location.endsWith(".ftl") || location.endsWith(".html")) {
 // render file
} else {
//return error
}

I have tested it and it is working fine. I don't see any harm in this
change.

Please share your inputs on this.
-- 
Thanks and Regards,
*Amit Gadaley <https://about.me/amit_gadaley>* | Senior Enterprise Software
Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010
Cell phone: +91 958.459.3069

<https://about.me/amit_gadaley?promo=email_sig>


RMA process

2017-11-14 Thread Amit Gadaley
Hello Everyone,

In RMA process, there are two types of return items i.e. Refund and
Replacement. Actually, there are few more types but consider these two to
focus on the actual problem.

CASE 1: Create return with return items of type 'Refund'. When return is
received, an invoice is created to refund to the customer.
*Issue: *No Issue

CASE 2: Create return with return items of type 'Replacement'. When return
is received, a sales order with order total zero ($ 0) is created against
return. And, can be processed as usual.
*Issue: *An Invoice is created against the return. I think it should not be
created as an order is already created in replacement of received items.

Please feel free to add your views and comments.
-- 
Thanks and Regards,
*Amit Gadaley <https://about.me/amit_gadaley>* | Senior Enterprise Software
Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010
Cell phone: +91 958.459.3069

<https://about.me/amit_gadaley?promo=email_sig>


Re: Where is the costs of Purchase Order Pulled From

2017-09-27 Thread Amit Gadaley
Hello Aditi,

Is there any way to give priority to any supplier over other suppliers
regardless the last price, min order qty or any other parameters?

On Mon, Sep 25, 2017 at 7:37 PM, Aditi Patidar <
aditi.pati...@hotwaxsystems.com> wrote:

> Hello James,
>
> The SupplierProductServices.getSuppliersForProduct() returns a list of
> SupplierProduct records in ascending order(lowest first) of lastPrice. This
> method also filters out records on the basis of minimumOrderQuantity of the
> product against the quantity ordered.
>
> I hope this answers your query.
>
> Thanks.
> Aditi Patidar
>
> On Thu, Sep 21, 2017 at 3:53 PM, Rishi Solanki <rishisolan...@gmail.com>
> wrote:
>
> > James,
> >
> > Please check PriceServices.calculatePurchasePrice() and it calls the
> > SupplierProductServices.getSuppliersForProduct() service. As per
> > implementation it always use latest lastPrice from SupplierProuct.
> >
> > HTH!
> >
> >
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> > www.hotwax.co
> >
> > On Thu, Sep 21, 2017 at 3:26 PM, <ja...@productive1.com> wrote:
> >
> > > Does it always use the latest last price?
> > >
> > >  Original Message 
> > > Subject: Re: Where is the costs of Purchase Order Pulled From
> > > From: Akash Jain <akash.j...@hotwaxsystems.com>
> > > Date: Wed, September 20, 2017 8:56 pm
> > > To: user@ofbiz.apache.org
> > >
> > > Hello James,
> > >
> > > Please check lastPrice in SupplierProduct entity.
> > >
> > > Thanks and Regards
> > > --
> > > Akash Jain
> > > www.hotwaxsystems.com
> > > www.hotwax.co
> > >
> > > On Thu, Sep 21, 2017 at 2:18 AM, <ja...@productive1.com> wrote:
> > >
> > > > Anyone know where do I find the costs that is used on a Purchase
> Order?
> > > >
> > > > Thanks,
> > > >
> > > > James
> > > >
> > > >  Original Message ----
> > > > Subject: Vendor Credit Memo Missing in OFbiz
> > > > From: <ja...@productive1.com>
> > > > Date: Mon, September 18, 2017 6:31 am
> > > > To: user@ofbiz.apache.org
> > > >
> > > >
> > > > Am I missing something or is there not a Vendor Credit memo in
> Ofbiz? I
> > > > see a Customer Credit Memo but not a Vendor? Experts please let me
> > > > know.
> > > >
> > > > Thanks,
> > > >
> > > > James
> > > >
> > >
> >
>



-- 
Thanks and Regards,
*Amit Gadaley <https://about.me/amit_gadaley>* | Senior Enterprise Software
Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010
Cell phone: +91 958.459.3069

<https://about.me/amit_gadaley?promo=email_sig>


Re: Party Classification Purpose

2017-09-27 Thread Amit Gadaley
Hello Padmavati,

One of the purposes of PartyClassification is to set a condition for price
rules.
I am not aware of the other purposes.

On Sat, Sep 23, 2017 at 1:48 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> And I must say that you must take it with a grain of salt in OFBiz:
>
> http://markmail.org/message/bh5qedl33vvkst7l
>
> HTH
>
> Jacques
>
>
>
> Le 23/09/2017 à 10:15, Jacques Le Roux a écrit :
>
>> Hi Padmavati,
>>
>> Please refer to the DMRB (Data Model Resource Book) volume I p. 30 31
>>
>> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+
>> Related+Books#OFBizRelatedBooks-DataModel
>>
>> Jacques
>>
>>
>> Le 23/09/2017 à 08:33, Padma Rawat a écrit :
>>
>>> Hello All,
>>>
>>> I was going through processes in Party component of the trunk, during
>>> this
>>> I came across an entity named PartyClassification and workflow under the
>>> party component.
>>>
>>> I see this is used to group parties. But could not understand the purpose
>>> of classifying the parties in one group. Please help me on where these
>>> groups are used in business and what is the purpose of these groups.
>>>
>>>
>>> Thanks & Regards
>>> Padmavati Rawat
>>>
>>>
>>
>>
>


-- 
Thanks and Regards,
*Amit Gadaley <https://about.me/amit_gadaley>* | Senior Enterprise Software
Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78 Part 2, Near Brilliant Convention Center, Indore,
M.P., India - 452010
Cell phone: +91 958.459.3069

<https://about.me/amit_gadaley?promo=email_sig>


Re: Proposal: Use of single label for input fields

2017-09-27 Thread Amit Gadaley
+1 to Kenneth.

On Mon, Sep 25, 2017 at 9:41 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> We sometimes use  in Freemarker file and we have the
>  related thing in widget form (eg see
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditProd
> uct?productId=GZ-1000)
>
> IMO  should be used there and alike forms
>
> Jacques
>
>
>
> Le 25/09/2017 à 16:11, Kenneth Paskett a écrit :
>
>> Hello -
>>
>> In reviewing the markup around this code, I see that we are just using
>> s with a . When grouping related fields in a form, shouldn't we
>> be using  <https://www.w3schools.com/TAgs/tag_fieldset.asp>
>> around the group of input and label tags, and then use the  tag to
>> describe what the grouping is? If no box is desired around the fieldset,
>> CSS can be used to remove it.
>>
>> ~Kenneth
>>
>> On Sat, Sep 23, 2017 at 8:46 PM Sanjay Yadav <
>> sanjay.ya...@hotwaxsystems.com>
>> wrote:
>>
>> +1. Good catch, Garima.
>>>
>>> Best Regards,
>>>
>>> *Sanjay Yadav* | Manager, Enterprise Quality Assurance
>>> HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
>>> <http://www.hotwaxsystems.com/>
>>> 80, Scheme No. 78, Part II, Indore, M.P. 452010, India
>>> Mobile Phone: 787 918 8830 <(787)%20918-8830> | Linkedin: Sanjay-Yadav
>>> <https://www.linkedin.com/in/sanjay-yadav/>
>>>
>>> HotWax Systems recently received 8 mentions in *The Gartner Digital
>>> Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
>>> research and advisory company. Learn more about our research here
>>> <https://www.gartner.com/technology/media-products/newslette
>>> rs/HotWax/1-2UVLP6M/index.html>
>>> .
>>> [image: Inline image 1]
>>>
>>>
>>>
>>> On Sat, Sep 23, 2017 at 5:56 PM, Garima Jain <jaingarima2...@gmail.com>
>>> wrote:
>>>
>>> Hello Devansu,
>>>>
>>>> I have seen in many screens this kind of practice followed in OFBiz
>>>> mostly
>>>> for the Email Address fields.
>>>> I have created the ticket for the same. Below is the link,
>>>>
>>>> https://issues.apache.org/jira/browse/OFBIZ-9769
>>>>
>>>> On Sat, Sep 23, 2017 at 4:59 PM, Devanshu Vyas <
>>>> vyas.devansh...@gmail.com
>>>> wrote:
>>>>
>>>> Hello Garima,
>>>>>
>>>>> Good Catch! But I feel that this is a bug, not a designing practice(I
>>>>> hope).
>>>>> You should create a JIRA ticket for the same and if you find multiple
>>>>> occurrences of this kind of labels, then all can be fixed under it.
>>>>>
>>>>> If this is some kind of practice used in OFBiz, then I agree with you
>>>>>
>>>> and
>>>>
>>>>> we should not use titles for it.
>>>>> Looking forward to your reply.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Thanks & Regards,
>>>>> Devanshu Vyas.
>>>>>
>>>>> On Sat, Sep 23, 2017 at 4:43 PM, Garima Jain <jaingarima2...@gmail.com
>>>>> >
>>>>> wrote:
>>>>>
>>>>> Hello Jacques,
>>>>>>
>>>>>> I want to explain if there are multiple input fields and all belong to
>>>>>>
>>>>> same
>>>>>
>>>>>> group/category(like address1, address2, city and state input fields
>>>>>>
>>>>> belong
>>>>>
>>>>>> to Address category) in a form then we can use a title for such type
>>>>>>
>>>>> of
>>>>
>>>>> categories. But, if there is only a single field (like Email address
>>>>>>
>>>>> has
>>>>
>>>>> single input field) then we should not use the title for it.
>>>>>>
>>>>>> I am also sharing the link of google drive which contains screenshot
>>>>>>
>>>>> with
>>>>
>>>>> detailed explanation.
>>>>>>
>>>>>> https://drive.google.com/file/d/0B6et9_lt0zGVY3pXV2tmVmhtUjA/view?
>>>>>> usp=sharing
>>>>>>
>>>>>> Hope this Helps!
>>>>>>
>>>>>> On Sat, Sep 23, 2017 a

Bug in MRP engine

2017-01-04 Thread Amit Gadaley
Hi Everyone,

I am facing a bug in running mrp workflow in specific business case . Here
are the steps that I've followed:

1. Create a sales order with a backordered item. Make sure to create order
with estimated delivery date . For example: 5th of Jan, 2017.
2. Run mrp engine which will create requirements for the backordered items
in sales order (created in step 1).
3. Create the PO from the requirement and move it to APPROVED status. PO
has estimated delivery date of 10th of Jan, 2017. OFBiz does not allow to
enter estimated delivery date from UI in case of PO. So I entered estimated
delivery date from webtools.
4. Re-run mrp engine.


*Actual behavior*: It creates the requirements for the sales order created
in step 1.

*Expected behavior*: It should not create the requirements for the sales
order created in step 1, because I already created PO and approved it to
fulfill backordered items.

I guess here system is considering that PO will be received by 10th of Jan,
2017 and SO have requirement on 5th of Jan, 2017. So systems propose
requirements again. In this case I will end up stocking more in my
inventory.

Let me know what you all think.

Thanks and Regards,
-- 
Amit Gadaley <https://about.me/amit_gadaley>
Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
cell: +91 958.459.3069
<https://about.me/amit_gadaley?promo=email_sig>

<https://about.me/amit_gadaley?promo=email_sig>


Request to become a contributor

2016-06-17 Thread Amit Gadaley
Hi,

Please register me as an OFBiz contributor.

My account details are as follows:
Full Name: Amit Gadaley
User Name: amit.gadaley
Email: amit.gada...@hotwaxsystems.com

I have signed the ICLA
https://people.apache.org/unlistedclas.html

Thanks and Regards,
-- 
Amit Gadaley <https://about.me/amit_gadaley>
Enterprise Software Engineer
HotWax Systems <http://www.hotwaxsystems.com/>
cell: +91 958.459.3069
<https://about.me/amit_gadaley?promo=email_sig>

<https://about.me/amit_gadaley?promo=email_sig>