Re: Questions to speed up learning process.

2021-05-10 Thread Pritam Kute
Hello MONTAÑA,

Welcome to the OFBiz community, The answers to your questions are as
follows.

1) As per my experience with OFBiz. The most widely used database with
OFBiz is MySQL. If I want to choose between Postgres and Maria DB, I will
go with Postgres.
2) List of books you can refer can be found on OFBiz Wiki here.
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Related+Books
3) There might be chances that a lot of people have individually created
plugins for OFBiz but official plugins are available here.
https://github.com/apache/ofbiz-plugins

Kind Regards,
--
Pritam Kute


On Mon, May 10, 2021 at 12:02 AM MONTAÑA Gonzalo 
wrote:

> Good day all.
>
>  I am quite new to OfBIZ and I would like to post following questions:
> 1) Most widely used DB for OfBIZ in production environment would be
> postgres or mariadb?. Reason I asked is to have wider support and
> knowledge in case of problems.
> 2) Anybody knows where to find a fine book or paper about getting the
> most of OfBIZ working effort ?
> 3) Somebody told me that there thouthands plugins developed for OfBIZ
> .Is there a site where plugins are available to download, test or use
> ?
>
>
>
> Thank you very much.
>
>
>
> Best regards.
>
>
>
> Carlos
>


Re: Does ofbiz generate an invoice after product is ordered and paid

2021-05-03 Thread Pritam Kute
The process which you explained will just create an order in the backend.
In order to generate the invoice, you will need to follow the fulfillment
process from the backend.

Kind Regards,
--
Pritam Kute


On Sat, May 1, 2021 at 12:52 PM Katie Qiu 
wrote:

> Hi,
>
>
>
> I ordered a product, and put it to cart, then paid it by credit card on
> ofbiz demo db. After the process is done, does ofbiz create an invoice for
> the order? Would someone please tell me what happens in ofbiz database
> after
> a product is ordered and paid on ecommerce site.
>
>
>
>
>
> Thanks,
>
> Katie
>
>


Re: How to create a new facility in Apache Ofbiz 17.12.05?

2021-02-02 Thread Pritam Kute
Which OFBiz version you are using? I can see that this issue is fixed on
trunk.

https://demo-trunk.ofbiz.apache.org/facility/control/FindFacility

You might be interested to look into the following JIRA ticket.

https://issues.apache.org/jira/browse/OFBIZ-10501

Kind Regards,
--
Pritam Kute


On Wed, Feb 3, 2021 at 12:30 PM Vy Do  wrote:

> Yes, it is an error, GUI have no button or text link for creating/add new
> facility. Then I found a way, access this feature by go to URL directly:
> https://localhost:8443/facility/control/CreateFacility
>
> Please create an issue ticket on JIRA, today, I tried reset password JIRA,
> but I still don't receive email for reset password.
>
> My screenshot for temporary solution:
>
> https://user-images.githubusercontent.com/74403808/106710147-0c899400-6628-11eb-8b00-ac6f57208b58.png
>
> On Wed, Feb 3, 2021 at 1:57 PM Pawan Verma  wrote:
>
> > Hi Vy Do,
> >
> > Is there any error? Please share it with us.
> > --
> > Thanks & Regards
> > Pawan Verma
> > ofbiz.apache.org
> >
> >
> > On Wed, Feb 3, 2021 at 9:59 AM Vy Do  wrote:
> >
> > > I am using Apache Ofbiz 17.12.05 , I load all seed, demo data, login by
> > > user admin, password ofbiz. I can create new party group, create new
> > > facility group, v.v.. But I cannot create a new facility.
> > >
> > > Please guide me this task.
> > >
> > > Few screenshot:
> > >
> > >
> >
> https://user-images.githubusercontent.com/74403808/106698117-bc540700-6612-11eb-8079-82f09b21a007.png
> > >
> > >
> > >
> >
> https://user-images.githubusercontent.com/74403808/106698189-e4dc0100-6612-11eb-8070-a83494a245e6.png
> > >
> > > Thanks!
> > >
> >
>


Re: Communication_Event table and Create new Customer

2021-01-22 Thread Pritam Kute
Hello Emad,

It is called by seca rule on "sendMail" service. Refer line number 79 from
application/party/servicedef/secas.xml

HTH.

Kind Regards,
--
Pritam Kute


On Sat, Jan 23, 2021 at 1:31 AM Emad Radwan  wrote:

> Hello Pritam,
>
> Thanks for the nice description. A related question if you wish, I'm
> tracing the code for this module and wondering what is the calling code for
> createCommEventFromEmail?
>
> Regards,
>
> Emad.
>
> On Mon, Jan 18, 2021 at 9:43 AM Pritam Kute  >
> wrote:
>
> > Hello Emad,
> >
> > In OOTB flow, after creating a customer, the system calls
> > sendCreatePartyEmailNotification service asynchronously. This service is
> > called to send an email notification to the customer about account
> > creation. This causes the creation of a record in CommunicationEvent
> table.
> >
> > I feel that sending email should be configurable but an initial cursory
> > look at the codebase doesn't guarantee about it. Also, one thing to
> notice
> > is that the CommunicationEvent created has a record with partyIdFrom as
> > FrenchCustomer which is completely wrong as it should be a company party.
> > The logic in createCommEventFromEmail (line no. 776) to find out "fromCm"
> > is what causing this problem. Any pointers from other community members
> to
> > this will help.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Sun, Jan 17, 2021 at 1:34 AM Emad Radwan 
> wrote:
> >
> > > Hi Community,
> > >
> > > Does any one know if while creating a new Customer a new related record
> > > would be created in 'Communication_Event table? I just need to know the
> > > default behaviour specially on production setup.
> > >
> > > Regards,
> > >
> > > Emad
> > >
> >
>


Re: Communication_Event table and Create new Customer

2021-01-18 Thread Pritam Kute
Thanks, Jacques for looking into this.

Kind Regards,
--
Pritam Kute


On Mon, Jan 18, 2021 at 4:10 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> OK, I think found the reason. In demo data 13 parties use < ofbizt...@example.com">> as in
>
>  infoString="ofbizt...@example.com"/>
>
> I guess this one is loaded last. Rather
>
>  infoString="ofbizt...@example.com"/>
>
> which is the 1st one, should be loaded last.
>
> I'll create a Jira to fix that...
>
> Le 18/01/2021 à 11:02, Jacques Le Roux a écrit :
> > Thanks Pritam, and Emad for your continuous report,
> >
> > I'll have a look, this does not make any sense at all
> >
> > Jacques
> >
> > Le 18/01/2021 à 08:42, Pritam Kute a écrit :
> >> Hello Emad,
> >>
> >> In OOTB flow, after creating a customer, the system calls
> >> sendCreatePartyEmailNotification service asynchronously. This service is
> >> called to send an email notification to the customer about account
> >> creation. This causes the creation of a record in CommunicationEvent
> table.
> >>
> >> I feel that sending email should be configurable but an initial cursory
> >> look at the codebase doesn't guarantee about it. Also, one thing to
> notice
> >> is that the CommunicationEvent created has a record with partyIdFrom as
> >> FrenchCustomer which is completely wrong as it should be a company
> party.
> >> The logic in createCommEventFromEmail (line no. 776) to find out
> "fromCm"
> >> is what causing this problem. Any pointers from other community members
> to
> >> this will help.
> >>
> >> Kind Regards,
> >> --
> >> Pritam Kute
> >>
> >>
> >> On Sun, Jan 17, 2021 at 1:34 AM Emad Radwan 
> wrote:
> >>
> >>> Hi Community,
> >>>
> >>> Does any one know if while creating a new Customer a new related record
> >>> would be created in 'Communication_Event table? I just need to know the
> >>> default behaviour specially on production setup.
> >>>
> >>> Regards,
> >>>
> >>> Emad
> >>>
>


Re: Communication_Event table and Create new Customer

2021-01-17 Thread Pritam Kute
Hello Emad,

In OOTB flow, after creating a customer, the system calls
sendCreatePartyEmailNotification service asynchronously. This service is
called to send an email notification to the customer about account
creation. This causes the creation of a record in CommunicationEvent table.

I feel that sending email should be configurable but an initial cursory
look at the codebase doesn't guarantee about it. Also, one thing to notice
is that the CommunicationEvent created has a record with partyIdFrom as
FrenchCustomer which is completely wrong as it should be a company party.
The logic in createCommEventFromEmail (line no. 776) to find out "fromCm"
is what causing this problem. Any pointers from other community members to
this will help.

Kind Regards,
--
Pritam Kute


On Sun, Jan 17, 2021 at 1:34 AM Emad Radwan  wrote:

> Hi Community,
>
> Does any one know if while creating a new Customer a new related record
> would be created in 'Communication_Event table? I just need to know the
> default behaviour specially on production setup.
>
> Regards,
>
> Emad
>


Re: Installation on cPanel server

2021-01-17 Thread Pritam Kute
Hello Kim,

Unfortunately, I do not have any experience installing Apache OFBiz on
cPanel servers.

If you have your dedicated physical server at the data centre then you can
directly install OFBiz on that server without applying WHM and cPanel to
it. For that, you can refer documents at the following link:

https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide

The cost of the AWS server varies based on the configuration of the machine
you choose. You can learn more about AWS services at aws.amazon.com

Kind Regards,
--
Pritam Kute


On Sun, Jan 17, 2021 at 5:41 PM Ki Kim  wrote:

> Hi! Pritam,
>
> Thanks for your response and recommendation.
> I have a physical server in a data center. I have applied WHM and cPanel
> to it.
> Installation of Apache OFBiz on a plain OS based server will incur extra
> cost to me and I don't have any experience of managing a plain OS based
> server, so I need the instructions for cPanel server. Isn't there any
> instructions for the installation on cPanel server?
>
> By the way, how much will it cost to get the AWS server service and where
> can I get it (the location is not the matter)?
>
> Best regards,
>
> Ki Kim
>
> On 2021/01/16 09:35:33, Pritam Kute 
> wrote:
> > Hello Ki,
> >
> > IMO, you should explore the opportunity to use plain OS based servers
> > instead of using cPanel. I would recommend you to try AWS servers for
> > Apache OFBiz installation.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Sat, Jan 16, 2021 at 1:29 AM Ki Kim  wrote:
> >
> > > Hi!
> > > My server management technician wrote me “I understand what they want
> but
> > > they need to know that on a cpanel server everything is different than
> a
> > > regular plain OS server with a standard apache installation, so the
> link
> > > they provided to the apache site does not really apply to your type of
> > > server. They need to provide instructions that are based on a cpanel
> > > server.” Is there instructions that are based on a cPanel server?
> > >
> > >
> >
>


Re: Installation on cPanel server

2021-01-16 Thread Pritam Kute
Hello Ki,

IMO, you should explore the opportunity to use plain OS based servers
instead of using cPanel. I would recommend you to try AWS servers for
Apache OFBiz installation.

Kind Regards,
--
Pritam Kute


On Sat, Jan 16, 2021 at 1:29 AM Ki Kim  wrote:

> Hi!
> My server management technician wrote me “I understand what they want but
> they need to know that on a cpanel server everything is different than a
> regular plain OS server with a standard apache installation, so the link
> they provided to the apache site does not really apply to your type of
> server. They need to provide instructions that are based on a cpanel
> server.” Is there instructions that are based on a cPanel server?
>
>


Re: What technology do you choose for Party data model?

2021-01-11 Thread Pritam Kute
Hello Xinhuan,

You can refer the official website[1] of the Apache OFBiz to get to know
about OOTB capabilities. Also, I recommend OFBiz Wiki[2] for a better
understanding of OFBiz at technical as well as the business side.

[1] : https://ofbiz.apache.org/index.html
[2] : https://cwiki.apache.org/confluence/display/OFBIZ/Home

Kind Regards,
--
Pritam Kute


On Fri, Jan 8, 2021 at 11:38 PM Xinhuan Zheng 
wrote:

> Hello Mr. Pritam,
>
> Thank you for your email. Can you please provide me more resource
> information about OFBiz OOTB capabilities?
>
> Sorry for the unclear question about the Party data model. Initially the
> business won't have too many product skus, but it will definitely have
> limited number of product skus, suppliers, and orders. However, those types
> of data won't pour in all at the same time. The very first data to be
> stored initially is Party data, like suppliers including those who are
> candidates, even though they may not be the real ones. So that's why I
> include Excel spreadsheet, or Exchange database. In my mind, the Excel
> spreadsheet can store the same kind of Party data, and the Exchange
> database can store the communication messages, even without more
> sophisticated  technology like MySQL. That's just my understanding. But I
> wonder if the community would have the same view as me.
>
> - Xinhuan
>
> On Fri, Jan 8, 2021 at 12:27 AM Pritam Kute  >
> wrote:
>
> > Hello Xinhuan,
> >
> > Happy to see that you choose Apache OFBiz for your business needs. Based
> on
> > the overall outline of the business you are thinking of, the OFBiz has
> OOTB
> > capabilities to fulfil all your requirements.
> >
> > The question about party data model is little unclear to me but I will
> > recommend you to go with MySQL database for storing the data. MySQL
> > integration is seamless with Apache OFBiz and a lot of live projects on
> top
> > of Apache OFBiz are using MySQL from years.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Thu, Jan 7, 2021 at 10:46 PM Xinhuan Zheng 
> > wrote:
> >
> > > I am reviewing Apache OFbiz Data Model book -
> > >
> >
> https://cwiki.apache.org/confluence/download/attachments/13271792/OFBizDatamodelBook_Combined_20171001.pdf?api=v2
> > ,
> > > Page 8 - 9, the Party, Contact, Communication, and Security data model.
> > One
> > > question just comes up into my mind.
> > >
> > > Suppose this is a Catalog Order business. It has products of books,
> DVDs,
> > > supplies (for example, certain cups used in certain ceremony) that are
> > all
> > > not perishable. When catalogs are printed and sent to prospects, the
> > > business takes the order, fulfills the order from inventoried product
> > > items. Obviously, the business needs to store product items before
> orders
> > > come in. This will involve in purchase orders from suppliers. This is
> an
> > > outline of the business.
> > >
> > > The goal is to keep business process consistent, efficient, and
> > obviously,
> > > with limited budget of finance and human resources. So technology is
> > > carefully compared, and Apache OFBiz comes out as a potential
> candidate.
> > >
> > > By analyzing the Apache OFbiz Party data model, as the link referenced
> > > above, combining with the outlined business process and the goal, what
> > > technology do you choose just for Party data model (including Party,
> > > Contact, Communication, Security)? I am listing below potential
> > > technologies:
> > >
> > > 1. Microsoft Excel Spreadsheet
> > > 2. Microsoft Exchange Database
> > > 3. MySQL Database
> > > 4. Mongo Database
> > > 5. Oracle Database
> > >
> > > Thanks!
> > >
> > >
> >
>


Re: Error in storeOrder: duplicate entry for key primary

2021-01-10 Thread Pritam Kute
Hello Giulio,

Thanks for the updates. Glad to hear that you were able to track and
resolve the issue. We had faced the same issue in one of the custom
projects but later found that it was because of some customizations we did.

Kind Regards,
--
Pritam Kute


On Fri, Jan 8, 2021 at 2:18 PM Giulio Speri - MpStyle Srl <
giulio.sp...@mpstyle.it> wrote:

> Hello Pritam,
>
> thank you for your answer.
>
> My answer to your three questions is "No, we didn't" to all of three, but
> after deeper investigations we find out that an unfortunate event
> (temporary down of the application server) occured while an order was in
> creation.
> We think that the down event could probably prevent the commit of the
> updated lastOrderCount on PartyAcctgPreference.
>
> Once I manually updated the mis-aligned field with the real last order id,
> the system was able to correctly register orders again.
>
> We're going to keep monitoring the system, but for now we can consider this
> issue as closed.
>
> Thank you for your help,
> Giulio
>
> Il giorno ven 8 gen 2021 alle ore 07:51 Pritam Kute <
> pritam.k...@hotwaxsystems.com> ha scritto:
>
> > Hello Giulio,
> >
> > This is really a strange issue. Can you answer the following questions to
> > get to know more about the issue?
> >
> > Have you made any customizations in the SequenceUtil class?
> > Is this issue happening for your first order in the system?
> > Have you checked if by mistake you have loaded some demo data into the
> > system?
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Thu, Jan 7, 2021 at 4:47 PM Giulio Speri - MpStyle Srl <
> > giulio.sp...@mpstyle.it> wrote:
> >
> > > Hello everyone,
> > >
> > > I hope you're doing good.
> > >
> > > I am writing because I am facing a strange issue with our ecommerce
> ofbiz
> > > installation for one of our customers.
> > >
> > > In short, since yesterday, ofbiz fails in storing an order with the
> > error:
> > >
> > > Ran Event
> [java:org.ofbiz.order.shoppingcart.CheckOutEvents#createOrder]
> > > > from [request], result is [error]
> > > > 2021-01-07 10:40:28,490 |0.0.0.0-8009-exec-21 |RequestHandler
> > > >|E| Request processorder caused an error with the following
> message:
> > > Non
> > > > completare l'ordine, il seguente è occorso:Creazione ordine fallita;
> > > > contattare il servizio di assistenza clienti.
> > >
> > >
> > >
> > > The ofbiz logs, shows also this more explicit error:
> > >
> > > *Caused by: java.sql.SQLIntegrityConstraintViolationException:
> > > (conn=261079) Duplicate entry 'LCT5793' for key 'PRIMARY'*
> > >
> > > just after its attempt to store the OrderHeader GenericValue.
> > >
> > > I know that the error message is auto-explanatory, but the strange
> thing
> > is
> > > that is appeared more or less suddenly, with no preliminar signals of
> any
> > > kind.
> > >
> > > Just to complete the picture, I add that no operation (both software or
> > > hardware) has been done on application server and database server.
> > >
> > > I already did a bit of investigation within the code that generates the
> > > next order id and I saw that the next order id is calculated starting
> > from
> > > the field *lastOrderNumber *of the entity *PartyAcctgPreference *for
> the
> > > main Company.
> > >
> > > One thing that I noticed on this record is that the last order number
> is
> > 1
> > > behind the "real" last order id in the system.
> > >
> > > I really cannot explain how this could be possible since that whole
> > system
> > > worked perfectly until one day ago.
> > >
> > > Is it enough to restore the functionality to manually update the
> > > lastOrderNumber field on the PartyAcctgEntity? Or is there more that
> > needs
> > > to be taken into the account?
> > >
> > > Thanks in advance,
> > >
> > > Giulio
> > >
> > >
> > >
> > > --
> > > Giulio Speri
> > >
> > >
> > > *Mp Styl**e Srl*
> > > via Antonio Meucci, 37
> > > 41019 Limidi di Soliera (MO)
> > > T 059/684916
> > > M 334/3779851
> > >
> > > www.mpstyle.it
> > >
> >
>
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 334/3779851
>
> www.mpstyle.it
>


Re: Error in storeOrder: duplicate entry for key primary

2021-01-07 Thread Pritam Kute
Hello Giulio,

This is really a strange issue. Can you answer the following questions to
get to know more about the issue?

Have you made any customizations in the SequenceUtil class?
Is this issue happening for your first order in the system?
Have you checked if by mistake you have loaded some demo data into the
system?

Kind Regards,
--
Pritam Kute


On Thu, Jan 7, 2021 at 4:47 PM Giulio Speri - MpStyle Srl <
giulio.sp...@mpstyle.it> wrote:

> Hello everyone,
>
> I hope you're doing good.
>
> I am writing because I am facing a strange issue with our ecommerce ofbiz
> installation for one of our customers.
>
> In short, since yesterday, ofbiz fails in storing an order with the error:
>
> Ran Event [java:org.ofbiz.order.shoppingcart.CheckOutEvents#createOrder]
> > from [request], result is [error]
> > 2021-01-07 10:40:28,490 |0.0.0.0-8009-exec-21 |RequestHandler
> >|E| Request processorder caused an error with the following message:
> Non
> > completare l'ordine, il seguente è occorso:Creazione ordine fallita;
> > contattare il servizio di assistenza clienti.
>
>
>
> The ofbiz logs, shows also this more explicit error:
>
> *Caused by: java.sql.SQLIntegrityConstraintViolationException:
> (conn=261079) Duplicate entry 'LCT5793' for key 'PRIMARY'*
>
> just after its attempt to store the OrderHeader GenericValue.
>
> I know that the error message is auto-explanatory, but the strange thing is
> that is appeared more or less suddenly, with no preliminar signals of any
> kind.
>
> Just to complete the picture, I add that no operation (both software or
> hardware) has been done on application server and database server.
>
> I already did a bit of investigation within the code that generates the
> next order id and I saw that the next order id is calculated starting from
> the field *lastOrderNumber *of the entity *PartyAcctgPreference *for the
> main Company.
>
> One thing that I noticed on this record is that the last order number is 1
> behind the "real" last order id in the system.
>
> I really cannot explain how this could be possible since that whole system
> worked perfectly until one day ago.
>
> Is it enough to restore the functionality to manually update the
> lastOrderNumber field on the PartyAcctgEntity? Or is there more that needs
> to be taken into the account?
>
> Thanks in advance,
>
> Giulio
>
>
>
> --
> Giulio Speri
>
>
> *Mp Styl**e Srl*
> via Antonio Meucci, 37
> 41019 Limidi di Soliera (MO)
> T 059/684916
> M 334/3779851
>
> www.mpstyle.it
>


Re: What technology do you choose for Party data model?

2021-01-07 Thread Pritam Kute
Hello Xinhuan,

Happy to see that you choose Apache OFBiz for your business needs. Based on
the overall outline of the business you are thinking of, the OFBiz has OOTB
capabilities to fulfil all your requirements.

The question about party data model is little unclear to me but I will
recommend you to go with MySQL database for storing the data. MySQL
integration is seamless with Apache OFBiz and a lot of live projects on top
of Apache OFBiz are using MySQL from years.

Kind Regards,
--
Pritam Kute


On Thu, Jan 7, 2021 at 10:46 PM Xinhuan Zheng 
wrote:

> I am reviewing Apache OFbiz Data Model book -
> https://cwiki.apache.org/confluence/download/attachments/13271792/OFBizDatamodelBook_Combined_20171001.pdf?api=v2,
> Page 8 - 9, the Party, Contact, Communication, and Security data model. One
> question just comes up into my mind.
>
> Suppose this is a Catalog Order business. It has products of books, DVDs,
> supplies (for example, certain cups used in certain ceremony) that are all
> not perishable. When catalogs are printed and sent to prospects, the
> business takes the order, fulfills the order from inventoried product
> items. Obviously, the business needs to store product items before orders
> come in. This will involve in purchase orders from suppliers. This is an
> outline of the business.
>
> The goal is to keep business process consistent, efficient, and obviously,
> with limited budget of finance and human resources. So technology is
> carefully compared, and Apache OFBiz comes out as a potential candidate.
>
> By analyzing the Apache OFbiz Party data model, as the link referenced
> above, combining with the outlined business process and the goal, what
> technology do you choose just for Party data model (including Party,
> Contact, Communication, Security)? I am listing below potential
> technologies:
>
> 1. Microsoft Excel Spreadsheet
> 2. Microsoft Exchange Database
> 3. MySQL Database
> 4. Mongo Database
> 5. Oracle Database
>
> Thanks!
>
>


Re: Why creating a user login for a new customer

2020-12-08 Thread Pritam Kute
Hello Emad,

The idea is that if the customer wants him to register on the website means
the customer will return to the website for further processing like
tracking the order, checking order details or order history etc. It is good
to have customer logged in to fetch all this data. That's why username and
password are compulsory in the registration process. If the customer
doesn't want to track all the above data, the customer has an option to do
anonymous checkout.

Also, the need of asking for username and password while doing registration
of the user can vary based on case to case. If you can share the screens in
the context of your questions that will be better for answering your
question.

Kind Regards,
--
Pritam Kute


On Wed, Dec 9, 2020 at 2:28 AM Emad Radwan  wrote:

> Hello Gents,
>
> I notices - for the below query - that not only Customers but all party
> types are offered a username/password login, why is that? Also I'm not sure
> of the purpose of the 'product store' field here!
>
> Would you kindly shed some light?
>
> Regards,
>
> Emad.
>
> On 2020/12/07 20:46:21, Emad Radwan  wrote:
> > Hi There,
> >
> > Is this for the online store? As for the internal company use, I'm not
> sure why a customer would require a username / password. Appreciate if you
> shed some light.
> >
> > Regards,
> >
> > Emad
> >
>


Re: Complete set of Demo Data

2020-10-21 Thread Pritam Kute
Hello Emad,

To answer your question, yes, all entities are not used in actual OFBiz
implementations but they are kept there to allow the developers to add
custom logic without the need of creating new entities as much as possible.
This is the beauty of the data model that is shipped OOTB with OFBiz.

Attribute entities in general data modelling terms are used to define the
property of an object or an element. The same is the use of Attribute
entity in the OFBiz. So, here, you can define the custom
properties/features of the party which cannot be modelled (ethically :)) in
other entities, they are put into PartyAttribute entity. You can find
Attribute entity in each data model in OFBiz such as OrderAttribute,
ProductAttribute, PartyAttribute etc. PartyTypeAttr is used in
conjunction with PartyAttribute to restrict PartyAttrubutes for based on
partyTypeId.

PartyClassification and PartyClassificationGroup entities are mostly used
in custom logics to classify the parties in groups. We can take an example
of a website which asks the user about the genre of music user likes. We
can add PartyClassificationGroups as an individual genre of music and
relate the party with the genre they like in PartyClassification entity.

Hope this helps.

Kind Regards,
--
Pritam Kute


On Wed, Oct 21, 2020 at 4:06 PM Emad Radwan  wrote:

> Hi Suraj,
>
> Thanks for replying. As a start, having some data for the following tables
> would really help:
>
> Party_Attribute
> PartyTypeAttr
> Party_Classification
> Party_Classification_Group
>
> I went thru the Silverston's volume 2 book on the data patterns and was
> expecting that should be a pattern on 'dynamic attributes' that are
> utilized in many places in Ofbiz or in volume 1 while discussing Products
> but couldn't find, and sadly to say that almost all similar table demo data
> are empty.
>
> Regards,
>
> Emad.
>
> On 2020/10/19 05:38:57, Suraj Khurana  wrote:
> > Hello Emad,
> >
> > Welcome to the OFBiz community. I hope you have tested it by loading demo
> > data as well. Sometimes, it also helps in clarifying doubts and
> > understanding seed data requirements.
> > Also, if required, you can share exact tables that you are looking for
> > details, so that ML can answer you with respect to the requirements.
> >
> > HTH.
> > --
> > Best Regards,
> > Suraj Khurana
> > Senior Technical Consultant
> >
> >
> > On Sun, Oct 18, 2020 at 3:06 PM Emad Radwan 
> wrote:
> >
> > > Hi There,
> > >
> > > I'm new to OfBiz and hope you help me. For better understanding of the
> > > system I need a more completed set of data that coverts all tables as
> the
> > > one provided with the seed data leaves a lot of tables blank. I
> understand
> > > that the model is based on Silverston's books and I really enjoy
> reading it
> > > but still many tables and their purpose are not mentioned there.
> Thanks in
> > > advance. All ideas are welcome.
> > >
> > > Regards,
> > >
> > > Emsd
> > >
> >
>


Re: OFBiz Definition

2020-10-07 Thread Pritam Kute
Hello Vinu,

I am not sure what level of support you are expecting from the OFBiz OOTB.
Here is one document which explains the basic idea of OFBiz CRM. It is not
a complete guide but you will get the idea from here.

https://cwiki.apache.org/confluence/display/OFBIZ/Customer+Relationship+Management+%28CRM%29+Process+Overview

As defined on the website, OFBiz is a suite of business applications
flexible enough to be used across any industry. The underlying data model
and service layer support almost every business logic, definitely, at the
cost of minor customizations as per the business needs. I have seen people
are using Apache OFBiz in a wide variety of domains like OMS, WMS,
Accounting, CRM, PM, Manufacturing, etc.

It will be good if you can list out what all features you are expecting out
of the system.

Kind Regards,
--
Pritam Kute


On Tue, Oct 6, 2020 at 9:55 PM vinuthomas2008 
wrote:

> Hi Jacques,
>
> Not really.
>
> I am looking to start a SaaS business around OfBiz. Wanted to focus on the
> CRM module but dont see it.
>
> So basically trying to figure out what kind of business can I run around
> it.
>
> BTW, I think i should have joined OfBiz years ago. Its Apache license is
> flexible enough for small entrepreneurs like me.
>
> -Vinu
>
> On Tue, Oct 6, 2020 at 9:47 PM Jacques Le Roux <
> jacques.le.r...@les7arts.com>
> wrote:
>
> > Hi Vinu,
> >
> > Does this page somehow answers to your question:
> https://ofbiz.apache.org/
> > ?
> >
> > Jacques
> >
> > Le 06/10/2020 à 17:03, Suraj Khurana a écrit :
> > > Hello,
> > >
> > > The best links to begin are
> > >
> > > Learning
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Documentation+Index
> > >
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Related+Books
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo
> > >
> > > Setting
> > >
> >
> https://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Documentation+Index#OFBizDocumentationIndex-ConfigurationDocuments
> > >
> > > HTH.
> > > --
> > >
> > > Best Regards,
> > > Suraj Khurana
> > > Senior Technical Consultant
> > >
> > >
> > > On Tue, Oct 6, 2020 at 8:02 PM vinuthomas2008 <
> vinuthomas@gmail.com>
> > > wrote:
> > >
> > >> Hi All,
> > >>
> > >> What exactly is OfBiz?
> > >> Is it an Order Management system like Sterling Commerce? or a
> > specialized
> > >> ecommerce system?
> > >>
> > >> It does not seem to have full features of an ERP nor of a CRM?
> > >>
> > >> Can you point out a similar open source or commercial system so i can
> > >> identify what exactly OfBiz is??
> > >>
> > >> Thanks
> > >> Vinu
> > >>
> >
>


Re: OFBiz Integrations

2020-09-30 Thread Pritam Kute
Thanks, Rishi for sharing this.

We have already started work on moving all custom integrations as a
separate plugin from the framework component. Alongside we will be working
on checking if the integrations are updated and working as expected. I feel
that this will be a good step to add a page on confluence which will become
a single point of reference for all available integrations in the Apache
OFBiz.

Kind Regards,
--
Pritam Kute


On Wed, Sep 30, 2020 at 3:44 AM Rishi Solanki 
wrote:

> Dear All,
> In another thread on "Integration with facebook ecommerce platform" one
> good suggestion came from user Andrew Williams to integrate OFBiz with
> WooCommerce and WordPress. I would like to extend it to all required
> integrations.
>
> Below are the areas as per my understanding where we would require
> integrations which is in general expected.
>
> 1) Payment (Amazon, Apple, PayPal, First Data etc)
> 2) Shipping (UPS, UPS, FEDEX, DHL etc.)
> 3) Other Selling Portals and Channels (Amazon, WooCommerce, Wordpress,
> Shopify etc.)
> 4) Communication related integration. (Email, SMS, Chatbot, Whatapp etc)
> 5) Supporting modules like Reports tool, Sales Force etc.
> 6) Data Import Tool like JSON, Excel, CSV etc.
>
> Please add more in the list. Once will have all items listed, we will push
> that list over the confluence page, and all supporting docs link. Later we
> can pick one by one and mark them complete from there, in this way from the
> open list everyone will have the opportunity to pick any and contribute.
>
> We can also think of creating open tickets from the approved list to work
> on. Looking forward.
>
> Rishi Solanki
> *CTO, Mindpath Technology*
> Intelligent Solutions
> cell: +91-98932-87847
> http://www.mindpathtech.com
> LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>
>


B2B commerce with Apache OFBiz

2020-09-26 Thread Pritam Kute
Hello,

We are going to discuss our experiences while implementing B2B commerce
with Apache OFBiz from today. We will be sharing the recording of the
discussions on public sources soon. If you want to join this discussion and
share your experiences while implementing such systems using Apache OFBiz,
please let me know your interest at pritam.k...@hotwaxsystems.com. I will
send you the next meeting invites.

Kind Regards,
--
Pritam Kute


Re: Initiate a refund on order line cancel

2020-09-14 Thread Pritam Kute
Hello Madhi,

Direct sale transactions mean the payments are already settled at the
payment gateway so you need to refund the payment to the customer. The
release payment will not work in that case.

I will need some time to look into code for commenting on the impact on
OFBiz flow. In general understanding, I don't think it will have any
adverse effects on OFBiz flow as this is the recommended workflow.

Kind Regards,
--
Pritam Kute


On Mon, Sep 14, 2020 at 3:11 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hii Pritam..
>
> Yes I did a direct sales transaction...
> So if a call *refundPayment *service directly on order cancel or order edit
> ,will it not disturb the ofbiz flow ?
>
> Thanks & Regards
> Madhi Krishnan
>
> On Mon, Sep 14, 2020 at 2:47 PM Pritam Kute  >
> wrote:
>
> > Hello Madhi,
> >
> > The way you have implemented the payment gateway is completely fine. The
> > payment status thing also looks good to me. It all depends on how you
> have
> > requested a payment gateway to process the transaction. Some payment
> > gateways do direct sale transactions means the amount is debited from
> > the customer's card once the transaction is successful. Another way is to
> > authorize the amount in which payment gateway only authorizes the amount
> on
> > the customer's card when order is placed into the system. It is not
> charged
> > on the card yet. Once the order is approved or completed in the system,
> the
> > system should send another request to the payment gateway to capture the
> > transaction. This time the amount is actually charged on the customer's
> > card.
> >
> > So if you have requested a direct sale transaction to PayTM, I will
> > recommend you use a "refundPayment" service at the time of cancellation
> or
> > edits in the order.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Mon, Sep 14, 2020 at 2:16 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hii Pritam.
> > >
> > > I basically followed the ofbiz ecommerce flow ..
> > > Shipping -> Shipping_type -> Payment_method ->final_review_page ->
> > External
> > > Gateway ->Callback Url..
> > >
> > > Here I am using a gateway Called PAYTM.
> > > So once the user clicks the place Order button on the final review page
> > > ,the request goes to the *processOrder*..
> > > Here the request get redirects to *checkExternalPayment ,*
> > > So from here the user gets redirected to my External Gateway..
> > >
> > > Here i have noticed that at this stage the status is set as
> > > PAYMENT_NOT_RECIVED, is that correct?
> > >
> > > Once the user comes back to my site ..i'm processing the gateway's
> > response
> > > and depending on the status i am either *approving *the order or
> > > *cancelling
> > > *the order..
> > >
> > > Thanks & Regards
> > > Madhi Krishnan
> > >
> > >
> > >
> > > On Fri, Sep 11, 2020 at 2:12 PM Pritam Kute <
> > pritam.k...@hotwaxsystems.com
> > > >
> > > wrote:
> > >
> > > > Hello Madhi,
> > > >
> > > > I believe in general eCommerce workflow, an order cannot be canceled
> > when
> > > > it is shipped or completed. It should always be returned.
> > > >
> > > > If payment is received for the order, it means order is completed in
> > > OFBiz.
> > > > So in that case, you should create a return instead of canceling the
> > > order.
> > > >
> > > > I think there is some confusion in the process which you are
> following.
> > > Can
> > > > you provide some steps in your system how you are processing the
> > > > fulfillment?
> > > >
> > > > Kind Regards,
> > > > --
> > > > Pritam Kute
> > > >
> > > >
> > > > On Fri, Sep 11, 2020 at 1:29 PM Madhi Krishnan <
> > > > madhi.krish...@udyogmandir.in> wrote:
> > > >
> > > > > Hey Pritam
> > > > >
> > > > > So if order is cancelled from back-office application ,then ofbiz
> > seems
> > > > to
> > > > > be invoking only authorized and settled orders,
> > > > > it does not act  on payment_recieved .Is that expected?
> > > > > or is it some feature awaiting to be implemented?
> > > > >
> > > > 

Re: Initiate a refund on order line cancel

2020-09-14 Thread Pritam Kute
Hello Madhi,

The way you have implemented the payment gateway is completely fine. The
payment status thing also looks good to me. It all depends on how you have
requested a payment gateway to process the transaction. Some payment
gateways do direct sale transactions means the amount is debited from
the customer's card once the transaction is successful. Another way is to
authorize the amount in which payment gateway only authorizes the amount on
the customer's card when order is placed into the system. It is not charged
on the card yet. Once the order is approved or completed in the system, the
system should send another request to the payment gateway to capture the
transaction. This time the amount is actually charged on the customer's
card.

So if you have requested a direct sale transaction to PayTM, I will
recommend you use a "refundPayment" service at the time of cancellation or
edits in the order.

Kind Regards,
--
Pritam Kute


On Mon, Sep 14, 2020 at 2:16 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hii Pritam.
>
> I basically followed the ofbiz ecommerce flow ..
> Shipping -> Shipping_type -> Payment_method ->final_review_page -> External
> Gateway ->Callback Url..
>
> Here I am using a gateway Called PAYTM.
> So once the user clicks the place Order button on the final review page
> ,the request goes to the *processOrder*..
> Here the request get redirects to *checkExternalPayment ,*
> So from here the user gets redirected to my External Gateway..
>
> Here i have noticed that at this stage the status is set as
> PAYMENT_NOT_RECIVED, is that correct?
>
> Once the user comes back to my site ..i'm processing the gateway's response
> and depending on the status i am either *approving *the order or
> *cancelling
> *the order..
>
> Thanks & Regards
> Madhi Krishnan
>
>
>
> On Fri, Sep 11, 2020 at 2:12 PM Pritam Kute  >
> wrote:
>
> > Hello Madhi,
> >
> > I believe in general eCommerce workflow, an order cannot be canceled when
> > it is shipped or completed. It should always be returned.
> >
> > If payment is received for the order, it means order is completed in
> OFBiz.
> > So in that case, you should create a return instead of canceling the
> order.
> >
> > I think there is some confusion in the process which you are following.
> Can
> > you provide some steps in your system how you are processing the
> > fulfillment?
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Fri, Sep 11, 2020 at 1:29 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hey Pritam
> > >
> > > So if order is cancelled from back-office application ,then ofbiz seems
> > to
> > > be invoking only authorized and settled orders,
> > > it does not act  on payment_recieved .Is that expected?
> > > or is it some feature awaiting to be implemented?
> > >
> > > Thanks & Regards
> > > Madhi Krishnan
> > >
> > > On Fri, Sep 11, 2020 at 11:39 AM Pritam Kute <
> > > pritam.k...@hotwaxsystems.com>
> > > wrote:
> > >
> > > > Hello Madhi,
> > > >
> > > > Happy to know that it helped you.
> > > >
> > > > In payment integration, the process to get payment done depends on
> lots
> > > of
> > > > things like rules in-country, the payment gateway which you are
> using,
> > > etc.
> > > >
> > > > In OFBiz OOTB, the expected payment cycle should be like
> > > > 1. Payment authorisation when order is placed into the system by the
> > > user.
> > > > 2. If an order gets cancelled, payment authorisation is released
> > > > 3. If an order is edited, payment is released and re-authorised.
> > > > 3. If an order is approved/completed in the system, it captures the
> > > amount.
> > > > 4. If an order is returned after fulfilment, the payment is refunded.
> > > >
> > > > For direct sale transaction, your payment is already settled/captured
> > in
> > > > the gateway. So using releaseOrderPayment is not recommended. You
> > should
> > > > use refundPayment instead. releaseOrderPayment should only be used
> when
> > > the
> > > > payment is in authorised status, not captured/received.
> > > >
> > > > Kind Regards,
> > > > --
> > > > Pritam Kute
> > > >
> > > >
> > > > On Thu, Sep 10, 2020 at 5:23 PM Madhi Krishnan <
> > > > madhi.krish...@

Re: Initiate a refund on order line cancel

2020-09-11 Thread Pritam Kute
Hello Madhi,

I believe in general eCommerce workflow, an order cannot be canceled when
it is shipped or completed. It should always be returned.

If payment is received for the order, it means order is completed in OFBiz.
So in that case, you should create a return instead of canceling the order.

I think there is some confusion in the process which you are following. Can
you provide some steps in your system how you are processing the
fulfillment?

Kind Regards,
--
Pritam Kute


On Fri, Sep 11, 2020 at 1:29 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hey Pritam
>
> So if order is cancelled from back-office application ,then ofbiz seems to
> be invoking only authorized and settled orders,
> it does not act  on payment_recieved .Is that expected?
> or is it some feature awaiting to be implemented?
>
> Thanks & Regards
> Madhi Krishnan
>
> On Fri, Sep 11, 2020 at 11:39 AM Pritam Kute <
> pritam.k...@hotwaxsystems.com>
> wrote:
>
> > Hello Madhi,
> >
> > Happy to know that it helped you.
> >
> > In payment integration, the process to get payment done depends on lots
> of
> > things like rules in-country, the payment gateway which you are using,
> etc.
> >
> > In OFBiz OOTB, the expected payment cycle should be like
> > 1. Payment authorisation when order is placed into the system by the
> user.
> > 2. If an order gets cancelled, payment authorisation is released
> > 3. If an order is edited, payment is released and re-authorised.
> > 3. If an order is approved/completed in the system, it captures the
> amount.
> > 4. If an order is returned after fulfilment, the payment is refunded.
> >
> > For direct sale transaction, your payment is already settled/captured in
> > the gateway. So using releaseOrderPayment is not recommended. You should
> > use refundPayment instead. releaseOrderPayment should only be used when
> the
> > payment is in authorised status, not captured/received.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Thu, Sep 10, 2020 at 5:23 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hey pritam
> > >
> > > Thanks man..
> > > I was missing the payment_authorization thing..
> > > I did a direct sales_transaction.That's why my status on
> > > OrderPaymentPreference was PAYMENT_RECIVED.
> > >
> > > Do I have to explicitly call the *authOrderPayments* service before
> > calling
> > > the gateway?
> > > If you can share any documentation links about transactions in ofbiz
> will
> > > be helpful..
> > >
> > > Thanks Once again
> > > Madhi Krishnan
> > >
> > >
> > > On Thu, Sep 10, 2020 at 2:55 PM Pritam Kute <
> > pritam.k...@hotwaxsystems.com
> > > >
> > > wrote:
> > >
> > > > Hello Madhi,
> > > >
> > > > Now based on the logs which you have shared, I suspect either
> > > > orderPaymentPreferenceId passed to the custom service is wrong or the
> > > > orderPaymentPreference status is not PAYMENT_AUTHORISED. I hope you
> > have
> > > > done payment authorization while placing the order. If you have done
> a
> > > > direct sale transaction, then this might not work.
> > > >
> > > > Kind Regards,
> > > > --
> > > > Pritam Kute
> > > >
> > > >
> > > > On Thu, Sep 10, 2020 at 2:10 PM Madhi Krishnan <
> > > > madhi.krish...@udyogmandir.in> wrote:
> > > >
> > > > > Hey pritam ..
> > > > > Thanks for your response ,I appreciate it.
> > > > >
> > > > > I checked the entities that you mentioned above and it looks ok to
> > me.
> > > > > i'm getting a warning in the console saying no payment preference
> was
> > > > > found..
> > > > >
> > > > > Below are the logs that were generated.
> > > > > |I| Running Service ECA Service: releaseOrderPayments, triggered by
> > > rule
> > > > on
> > > > > Service: changeOrderStatus
> > > > > 2020-09-10 13:48:54,303 |jsse-nio-8443-exec-3
> |PaymentGatewayServices
> > > > >  |W| No OrderPaymentPreference records available for release
> > > > > 2020-09-10 13:48:54,304 |jsse-nio-8443-exec-3 |ServiceDispatcher
> > > > >   |T| Sync service [order/releaseOrderPayments] finished in [2]
> > > > > milliseconds
> > > > >

Re: Initiate a refund on order line cancel

2020-09-11 Thread Pritam Kute
Hello Madhi,

Happy to know that it helped you.

In payment integration, the process to get payment done depends on lots of
things like rules in-country, the payment gateway which you are using, etc.

In OFBiz OOTB, the expected payment cycle should be like
1. Payment authorisation when order is placed into the system by the user.
2. If an order gets cancelled, payment authorisation is released
3. If an order is edited, payment is released and re-authorised.
3. If an order is approved/completed in the system, it captures the amount.
4. If an order is returned after fulfilment, the payment is refunded.

For direct sale transaction, your payment is already settled/captured in
the gateway. So using releaseOrderPayment is not recommended. You should
use refundPayment instead. releaseOrderPayment should only be used when the
payment is in authorised status, not captured/received.

Kind Regards,
--
Pritam Kute


On Thu, Sep 10, 2020 at 5:23 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hey pritam
>
> Thanks man..
> I was missing the payment_authorization thing..
> I did a direct sales_transaction.That's why my status on
> OrderPaymentPreference was PAYMENT_RECIVED.
>
> Do I have to explicitly call the *authOrderPayments* service before calling
> the gateway?
> If you can share any documentation links about transactions in ofbiz will
> be helpful..
>
> Thanks Once again
> Madhi Krishnan
>
>
> On Thu, Sep 10, 2020 at 2:55 PM Pritam Kute  >
> wrote:
>
> > Hello Madhi,
> >
> > Now based on the logs which you have shared, I suspect either
> > orderPaymentPreferenceId passed to the custom service is wrong or the
> > orderPaymentPreference status is not PAYMENT_AUTHORISED. I hope you have
> > done payment authorization while placing the order. If you have done a
> > direct sale transaction, then this might not work.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Thu, Sep 10, 2020 at 2:10 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hey pritam ..
> > > Thanks for your response ,I appreciate it.
> > >
> > > I checked the entities that you mentioned above and it looks ok to me.
> > > i'm getting a warning in the console saying no payment preference was
> > > found..
> > >
> > > Below are the logs that were generated.
> > > |I| Running Service ECA Service: releaseOrderPayments, triggered by
> rule
> > on
> > > Service: changeOrderStatus
> > > 2020-09-10 13:48:54,303 |jsse-nio-8443-exec-3 |PaymentGatewayServices
> > >  |W| No OrderPaymentPreference records available for release
> > > 2020-09-10 13:48:54,304 |jsse-nio-8443-exec-3 |ServiceDispatcher
> > >   |T| Sync service [order/releaseOrderPayments] finished in [2]
> > > milliseconds
> > >
> > > other than that everything looks good in the logs..
> > > I tried to debug ..and i'm getting the  warning from the service called
> > "
> > > *releaseOrderPayments*"
> > > Service Implementation Location
> > >
> > >
> >
> ofbiz-framework/applications/accounting/src/main/java/org/apache/ofbiz/accounting/payment/PaymentGatewayServices.java
> > > At line 772.
> > >
> > > Thanks and regards
> > > Madhi Krishnan
> > >
> > > On Thu, Sep 10, 2020 at 12:56 PM Pritam Kute <
> > > pritam.k...@hotwaxsystems.com>
> > > wrote:
> > >
> > > > Hello Madhi,
> > > >
> > > > Not sure but can you check if you have associated your custom method
> > with
> > > > the right ProductStorePaymentSetting?
> > > >
> > > >  > > > paymentMethodTypeId="CREDIT_CARD"
> > > > paymentServiceTypeEnumId="PRDS_PAY_REFUND"
> > paymentService="testCCRefund"
> > > > paymentCustomMethodId="CC_REFUND_TEST"/>
> > > >
> > > > You can either put your payment gateway service name in
> paymentService
> > of
> > > > the custom method ID in paymentCustomMethodId field.
> > > >
> > > > It will be good if you can post the error log here if this is not a
> > case.
> > > >
> > > > Kind Regards,
> > > > --
> > > > Pritam Kute
> > > >
> > > >
> > > > On Thu, Sep 10, 2020 at 4:42 AM Madhi Krishnan <
> > > > madhi.krish...@udyogmandir.in> wrote:
> > > >
> > > > > Hii community,
> > > > > Hope you all are doing well.
> > > > >
> > > > > I'm using an external Payment gateway in my ecommerce setup ,and
> I'm
> > > able
> > > > > to place orders using an external gateway..
> > > > > My question is, I'm struggling to call the refund api if the user
> > > cancels
> > > > > an order line in an order.
> > > > > I have configured the custom_method entity as well..
> > > > > let me know if I'm missing something..
> > > > >
> > > > > Thanks & Regards
> > > > > Madhi Krishnan
> > > > >
> > > >
> > >
> >
>


Re: Initiate a refund on order line cancel

2020-09-10 Thread Pritam Kute
Hello Madhi,

Now based on the logs which you have shared, I suspect either
orderPaymentPreferenceId passed to the custom service is wrong or the
orderPaymentPreference status is not PAYMENT_AUTHORISED. I hope you have
done payment authorization while placing the order. If you have done a
direct sale transaction, then this might not work.

Kind Regards,
--
Pritam Kute


On Thu, Sep 10, 2020 at 2:10 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hey pritam ..
> Thanks for your response ,I appreciate it.
>
> I checked the entities that you mentioned above and it looks ok to me.
> i'm getting a warning in the console saying no payment preference was
> found..
>
> Below are the logs that were generated.
> |I| Running Service ECA Service: releaseOrderPayments, triggered by rule on
> Service: changeOrderStatus
> 2020-09-10 13:48:54,303 |jsse-nio-8443-exec-3 |PaymentGatewayServices
>  |W| No OrderPaymentPreference records available for release
> 2020-09-10 13:48:54,304 |jsse-nio-8443-exec-3 |ServiceDispatcher
>   |T| Sync service [order/releaseOrderPayments] finished in [2]
> milliseconds
>
> other than that everything looks good in the logs..
> I tried to debug ..and i'm getting the  warning from the service called  "
> *releaseOrderPayments*"
> Service Implementation Location
>
> ofbiz-framework/applications/accounting/src/main/java/org/apache/ofbiz/accounting/payment/PaymentGatewayServices.java
> At line 772.
>
> Thanks and regards
> Madhi Krishnan
>
> On Thu, Sep 10, 2020 at 12:56 PM Pritam Kute <
> pritam.k...@hotwaxsystems.com>
> wrote:
>
> > Hello Madhi,
> >
> > Not sure but can you check if you have associated your custom method with
> > the right ProductStorePaymentSetting?
> >
> >  > paymentMethodTypeId="CREDIT_CARD"
> > paymentServiceTypeEnumId="PRDS_PAY_REFUND" paymentService="testCCRefund"
> > paymentCustomMethodId="CC_REFUND_TEST"/>
> >
> > You can either put your payment gateway service name in paymentService of
> > the custom method ID in paymentCustomMethodId field.
> >
> > It will be good if you can post the error log here if this is not a case.
> >
> > Kind Regards,
> > --
> > Pritam Kute
> >
> >
> > On Thu, Sep 10, 2020 at 4:42 AM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hii community,
> > > Hope you all are doing well.
> > >
> > > I'm using an external Payment gateway in my ecommerce setup ,and I'm
> able
> > > to place orders using an external gateway..
> > > My question is, I'm struggling to call the refund api if the user
> cancels
> > > an order line in an order.
> > > I have configured the custom_method entity as well..
> > > let me know if I'm missing something..
> > >
> > > Thanks & Regards
> > > Madhi Krishnan
> > >
> >
>


Re: Initiate a refund on order line cancel

2020-09-10 Thread Pritam Kute
Hello Madhi,

Not sure but can you check if you have associated your custom method with
the right ProductStorePaymentSetting?



You can either put your payment gateway service name in paymentService of
the custom method ID in paymentCustomMethodId field.

It will be good if you can post the error log here if this is not a case.

Kind Regards,
--
Pritam Kute


On Thu, Sep 10, 2020 at 4:42 AM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hii community,
> Hope you all are doing well.
>
> I'm using an external Payment gateway in my ecommerce setup ,and I'm able
> to place orders using an external gateway..
> My question is, I'm struggling to call the refund api if the user cancels
> an order line in an order.
> I have configured the custom_method entity as well..
> let me know if I'm missing something..
>
> Thanks & Regards
> Madhi Krishnan
>


Re: Edit Order

2020-08-27 Thread Pritam Kute
Hello Shrilesh,

When I had last checked this workflow, it cancels the current
OrderPaymentPreference and then creates new with updated order total. Also,
it invokes the payment service to recapture the payment. The service which
gets invoked to process payments is OrderServices.processOrderPayments. You
can refer to this service to get more understanding of the overall payment
workflow. Mostly the services which run in edit order workflow are
updateOrderItems or appendOrderItem. You can refer to those services too.
This workflow works well with the default payment processors in OFBiz.

One question really bothers me when I see this workflow is how we can
reAuth the payment on customer's cards without CVV or customer's consent? I
had faced the same problem in the reAuth process when I was working on
integration with the First Data payment gateway. They are now allowing
users to reAuth payment until and unless the user has CVV. Storing the
cards sensitive information like CVV is against the PCI DSS compliance. So
I would also be interested in more thoughts on this from the community
about how they handle the payment related situations in order edit
functionality.

Kind Regards,
--
Pritam Kute


On Thu, Aug 27, 2020 at 4:57 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> Hi Guys,
> Thanks for getting back to me. I looked into it in more details and
> struggling to understand what does back-office application does around
> payment adjustments on back of order edit. E.g. if a back-office user is
> reducing the quantity of some order line or increasing the order line then
> does ofbiz trigger payment refund or parent request automatically?
> If it does please give me some pointers around services involved with this
> workflow around triggering payment adjustment
>
>
> Regards,
> Shrilesh K.
>
>
> On Wed, Aug 19, 2020 at 7:16 PM Suraj Khurana 
> wrote:
>
> > Hi Shrilesh,
> >
> > Adding to all provided infos, there are some services available OOTB,
> which
> > might be useful to your needs:
> > loadCartFromOrder, loadCartForUpdateWithReqInvRes, loadCartForUpdate etc.
> >
> > HTH.
> > --
> > Best Regards,
> > Suraj Khurana
> > Senior Technical Consultant
> >
> >
> > On Wed, Aug 19, 2020 at 6:55 PM Shrilesh Korgaonkar <
> > shrilesh.korgaon...@udyogmandir.in> wrote:
> >
> > > Hi Guys,
> > >
> > > I'm not talking about OFBIZ as a whole framework or Order Plugin
> > providing
> > > edit order but only eCommerce plugin
> > > E.G.--
> > > if a user creates an order using this eCommerce - ShoppingCart process
> > >
> > > submit -> select address -> select shipment method -> select payment
> > method
> > > -> final review page -> gateway with total value
> > >
> > > and after a few hours, he wants to edit order using same shoppingCart
> > > process
> > >
> > > edit items AND / OR new items submit to order -> edit address -> edit
> > > shipment method -> select payment method -> final review page ->
> > > gateway with edited total value
> > >
> > >
> > >
> > > Regards,
> > > Shrilesh K.
> > >
> > > On Wed, Aug 19, 2020 at 1:40 PM Jacques Le Roux <
> > > jacques.le.r...@les7arts.com> wrote:
> > >
> > > > Hi Shrilesh,
> > > >
> > > > As said Pradeep, as long as you have not shipped, all that is
> > available.
> > > > You can also make a refund, etc.
> > > >
> > > > Jacques
> > > >
> > > > Le 19/08/2020 à 07:22, S K Pradeep Kumar a écrit :
> > > > > Hi Sameer,
> > > > >
> > > > > Yes, OFBiz provides
> > > > > Order Edit  : - Add or Remove the items from the order. Also,
> update
> > > > > adjustments.
> > > > > Cancel Order : Is already there.
> > > > >
> > > > > With regards,
> > > > > S K Pradeep Kumar,
> > > > > 9035009495
> > > > >
> > > > >
> > > > > On Tue, Aug 18, 2020 at 3:54 PM Shrilesh Korgaonkar <
> > > > > shrilesh.korgaon...@udyogmandir.in> wrote:
> > > > >
> > > > >> Dear friends,
> > > > >>
> > > > >> I wish to know if Ofbiz eCommerce shop offers the order edit and
> > order
> > > > >> cancel functionality after the order is successfully paid and
> > > submitted
> > > > by
> > > > >> the customer.
> > > > >>
> > > > >> Example: customer successfully places the order and subsequently
> > > wishes
> > > > to
> > > > >> edit the ordered items / cancel the order.
> > > > >>
> > > > >> Regards,
> > > > >> Shrilesh K.
> > > > >>
> > > >
> > >
> >
>


Re: System Set Up - Data Upload

2020-08-23 Thread Pritam Kute
Hello James,

For directly uploading data to the database, you can use the XML data
uploader tool at the backend.

https://localhost:8443/webtools/control/EntityImport

You need to prepare data in XML format and then upload it using this tool.
For preparing XML data files, you can refer to demo data files in OFBiz.

Kind Regards,
--
Pritam Kute


On Sun, Aug 23, 2020 at 7:28 PM  wrote:

> Team - After reviewing the import feature of Ofbiz it seems to be
> lacking when it comes to data upload.  How are some of you uploading
> data like Pricing, Agreements, Detail Product Information, Starting
> inventory quantities, product categories, customer classifications, etc.
>  Has any developed any templates?  Can some of these be uploaded
> directly to the database?
>
> Thanks,
>
> James
>


Re: Business case: Use explodeOrderItems OOTB utility

2020-08-05 Thread Pritam Kute
Hello Suraj,

This will be surely a good architecture for the businesses who route
shipments from different locations and allow partial returns etc. As far as
I remember, there is one flag at the product store level with the name
"explodeOrderItems". When we set this flag to "Y", the system explodes
order items and create a separate order item data for multi-quantity items
in the order. I haven't tested it thoroughly but it works quite well on the
trunk code.

Let's have others to comment on this. Also, let me know if you have already
tested this flow.

Kind Regards,
--
Pritam Kute


On Wed, Aug 5, 2020 at 9:02 PM Suraj Khurana 
wrote:

> Hello everyone,
>
> Hope everyone is safe and doing well.
>
> For any business which is supporting partial quantity cancellations or
> partial quantity fulfillments, then it can use exploding the order item
> OOTB utility.
>
> - In case business is entertaining partial cancellations of items, then all
> adjustments need to be re-calculated and prorated accordingly. This
> computation overhead can be avoided using an explode item while creating an
> order.
> -- While doing this we also need to make sure that rounding is handled and
> the amount is adjusted properly between all order items.
>
> - In case of partial fulfillments, again business demands to prorate item
> adjustments (tax, shipping etc) to create a invoice, or if there is a third
> party accounting system in place, we need to provide respective data to it,
> so again if you have already exploded the item while importing/creating
> order into the system, you could have reduced this calculations overhead
> and improve system performance in production environment.
>
> Currently, OOTB has this explode functionality on shopping cart level.
> IMO, we need to have the same capabilities in the createSalesOrder service
> (can be used as API call) as well.
>
> Please share your thoughts on this. Is there any other better approach to
> handle these business use cases?
>
> --
> Best Regards,
> Suraj Khurana
> Senior Technical Consultant
>


Re: MyPortal - Demo Access

2020-06-30 Thread Pritam Kute
Hello James,

The demo trunk URL is
https://demo-trunk.ofbiz.apache.org/myportal/control/main

Credentials are
Username: DemoEmployee
Password: ofbiz

Functions available are user can view/edit basic profile information, can
see communications, tasks, and projects, etc. I don't have much idea about
these functions but hope this information helps.

Kind Regards,
--
Pritam Kute


On Mon, Jun 29, 2020 at 9:01 PM  wrote:

> Is there a demo trunk for the MyPortal Access for employees?  If so is
> there a URL and credentials?  What function is available in the portal
> for employees?
>
> Thanks,
>
> James
>


Re: Rental

2020-05-20 Thread Pritam Kute
Hello James,

AFAIK, there is no direct support available in OFBiz which will help you
set up the exact requirement you mentioned.

You can refer to the Rental Store in OFBiz[1]. This is an example of a
hotel reservation system that is not exactly as per your requirement but it
can help you get basic idea.

[1]
https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductStore?productStoreId=RentalStore

HTH!

Regards,
--
Pritam Kute


On Wed, May 20, 2020 at 9:19 PM  wrote:

> Paul - How does the process work?  How does the monthly invoicing work?
> How do you track the ins and outs of the assetwhat if there are
> multiple of the same asset that is rented?
>
>  Original Message 
> Subject: Re: Rental
> From: Paul Mandeltort 
> Date: Tue, May 19, 2020 2:47 pm
> To: user@ofbiz.apache.org
>
> Haven’t used it but this might be a place to look, looks like you can
> configure products/rentals against an asset.
>
>
>
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=RoomStd
> <
> https://demo-trunk.ofbiz.apache.org/catalog/control/EditProduct?productId=RoomStd
> >
>
>
> https://demo-trunk.ofbiz.apache.org/accounting/control/ListFixedAssetProducts?fixedAssetId=RentalShip
> <
> https://demo-trunk.ofbiz.apache.org/accounting/control/ListFixedAssetProducts?fixedAssetId=RentalShip
> >
>
>
> --Paul
>
> > On May 19, 2020, at 3:23 PM, ja...@productive1.com wrote:
> >
> > Is there a OTB function in ofbiz to handle rentals of propane tanks?
> > How do the monthly invoice occur? Is it automated? How do you stop
> > rental charges when cylinder is returned?
> >
> > Thanks,
> >
> > James
>


Re: Campus Management System

2019-08-02 Thread Pritam Kute
Hello Rajumohan,

There is no example implementation available in OFBiz to cater to your
requirements OOTB. In the context of data modal, you may need to use a
combination of different data models like Party, Product, Invoice and
Payment, Survey, etc.

Kind Regards,
--
Pritam Kute


On Fri, Aug 2, 2019 at 5:02 PM Deepak Dixit  wrote:

> Hi Rajumohan Ramasamy,
>
> Your message has been moderated.
>
> Please subscribe to the user ML for such questions and then use your email
> client
> See also why here http://ofbiz.apache.org/mailing-lists.html
>
> You will get better support, it's fairer to share with everybody  and
> people can answer you on the ML rather than directly to you
> The wider the audience the better the answers you might get.
>
> Thanks & Regards
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Fri, Aug 2, 2019 at 5:00 PM Rajumohan Ramasamy 
> wrote:
>
> > Hi, Does Ofbiz have any standard data model which can be used for
> > implementing a solution for Campus. e.g. we would need an option for
> Course
> > and Subject definition, Fee Management (demand generation), Exam
> > Management, Mark sheet generation etc
> >
> > Thanks
> >
> >
>


Re: Configurable Option NOT Tied to a component

2019-07-21 Thread Pritam Kute
Hello james,

I don't think there is direct support available to create configurable
options without associating product to it. The data model allows it but at
the code level, when you order the configurable product by selecting
certain options, it will look for the associated product in the system.

In your email, species of a door, jam size, left or right entry, looks like
they are the feature of the door. Can you let us know other configuration
options for your product?

Kind Regards,
--
Pritam Kute


On Fri, Jul 19, 2019 at 2:50 PM Rishi Solanki 
wrote:

> Depending upon the feature type you can introduce new feature type which is
> used only for tagging and instructions purpose. Alternatively you can use
> product content which are only for display purposes. My recommendation is
> to go with Featue, but OFBiz provides multiple ways to achieve the
> solutions to same problem.
>
> Best Regards,
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> *HotWax Systems*
> *Enterprise open source experts*
> cell: +91-98932-87847
> http://www.hotwaxsystems.com
>
>
> On Thu, Jul 18, 2019 at 4:44 PM  wrote:
>
> > Is there a way in Ofbiz to have a configurable option that is not tied
> > to an actual component?
> >
> > For example in the Millwork Industry there are some things that are more
> > instruction that is a product.  Like species of a door, jam size, left
> > or right entry.  Is this possible?
> >
> > Thanks,
> >
> > James
> >
> >
> >
>


Re: Two same type of promotion applying on the cart

2019-06-18 Thread Pritam Kute
IMO It's a little bit tricky actually. It all depends on how the promotion
manager creates promotions in the system. But agreed with Suraj that only
one promotion with a maximum discount should be applied per cart.

Again we can provide the user with an option to choose from the list of
applicable promotions which he wants to apply on the cart.

Kind Regards,
--
Pritam Kute


On Wed, Jun 19, 2019 at 10:30 AM Suraj Khurana 
wrote:

> Hi Paul,
>
> Thanks for bringing this to everyone's attention, a simple case could be
> following two promotions are setup in parallel:
>
> - A flat 200 off promotion to be available only after purchase of $2000 on
> product X.
> - A flat 15% off promotion on Category ABC and interestingly X product is
> part of ABC category.
>
> So when a user adds product X into cart, and cart value raises $2000, both
> promotions gets applied, from companies perspective, its a loss and they
> might only want to give one one promotion at a time.
>
> HTH.
> --
> Best Regards,
> Suraj Khurana
> Technical Consultant
> HotWax Systems
>
>
>
>
>
>
>
> On Wed, Jun 19, 2019 at 10:18 AM Paul Foxworthy 
> wrote:
>
> > Hi Suraj,
> >
> > Why would you want the $3 promotion if it will never be applied? If they
> > have different data ranges, I think two separate $3 promotions for date
> > ranges before and after the $5 one is a much clearer way to express it.
> >
> > What do you think?
> >
> > Cheers
> >
> > Paul
> >
> > On Tue, 18 Jun 2019 at 23:16, Suraj Khurana 
> > wrote:
> >
> >> Hello,
> >>
> >> This is very common in e-commerce business that only one promotion
> should
> >> be applied to any cart from business perspective, if a PriceRule is
> active
> >> than also one promotion should be applied with maximum value.
> >>
> >> As current OOTB doesn't supports this, I think we can make it
> configurable
> >> to use this as a feature.
> >>
> >> It can be a good to have feature !!
> >> --
> >> Best Regards,
> >> Suraj Khurana
> >> Technical Consultant
> >> HotWax Systems
> >> Enterprise open source experts
> >> cell: 96697-50002
> >> http://www.hotwaxsystems.com
> >>
> >>
> >>
> >>
> >>
> >>
> >> On Tue, Jun 18, 2019 at 2:50 PM Jacques Le Roux <
> >> jacques.le.r...@les7arts.com> wrote:
> >>
> >> > Le 18/06/2019 à 10:52, Pallavi Goyal a écrit :
> >> > > Hello team,
> >> > >
> >> > > I have made two promotions-
> >> > >
> >> > > 1. Give flat $5 on order
> >> > > 2. Give flat $3 on order
> >> > >
> >> > > Both of these are active at the same time. When I check the cart on
> >> > > e-commerce, the discounts for both promotions are showing.
> >> > >
> >> > > Is this an expected result or only one promotion should be applied
> to
> >> the
> >> > > cart which is giving a higher discount.
> >> > >
> >> > > Please share your thoughts.
> >> > >
> >> > > --
> >> > > Thanks
> >> > > Pallavi Goyal
> >> >
> >> > Hi Pallavi,
> >> >
> >> > IMO if the user wants to give 2 different flat promo they should be
> >> > applied, why not?
> >> >
> >> > Jacques
> >> >
> >> >
> >>
> >
> >
> > --
> > Coherent Software Australia Pty Ltd
> > PO Box 2773
> > Cheltenham Vic 3192
> > Australia
> >
> > Phone: +61 3 9585 6788
> > Web: http://www.coherentsoftware.com.au/
> > Email: i...@coherentsoftware.com.au
> >
>


Re: Configurable Digital Good

2019-06-12 Thread Pritam Kute
Hello Shrilesh,

I believe by doing little customizations to the OOTB, you can achieve the
variable subscription duration in subscription product model itself as per
the line in the document shared by Jacques.

"If you want a customer to pay for a long period up front, you would just
configure a Product for that. If you want the customer to pay monthly, but
sign up for a longer period of time (like a year) then you would have a
Product setup for 1 month of access, and create a ShoppingList for a
recurring Order to happen once a month for 12 months."

Provided there is no further complexity in pricing (variable pricing for
different subscription duration) or fulfillment of the order.

Kind Regards,
--
Pritam Kute


On Wed, Jun 12, 2019 at 4:21 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> Hi Guys,
>
> we are trying to have a subscription product with different subscription
> duration
> OR One digital product with a variant of the subscription duration
> example: A subscription product with options like 1-month, 3-months,
> 6-months, 1-year subscription
>
> Regards,
> Shrilesh K.
>
>
> On Wed, Jun 12, 2019 at 12:34 PM Jacques Le Roux <
> jacques.le.r...@les7arts.com> wrote:
>
> > Hi Shrilesh,
> >
> > Then you should use the subscription model, see
> > https://cwiki.apache.org/confluence/display/OFBIZ/Subscription
> >
> > Jacques
> >
> > Le 12/06/2019 à 08:27, Shrilesh Korgaonkar a écrit :
> > > Hi Guys,
> > > we are trying to have subscription product with different subscription
> > > duration
> > >
> > > Regards,
> > > Shrilesh K.
> > >
> > >
> > > On Wed, Jun 12, 2019 at 10:46 AM Pritam Kute <
> > pritam.k...@hotwaxsystems.com>
> > > wrote:
> > >
> > >> Hello Shrilesh,
> > >>
> > >> IMO there should not be any problem in associating digital products as
> > >> options to the configurable product. Can you please share more details
> > like
> > >> example product and its options so that you will get better support?
> > >>
> > >> Kind Regards,
> > >> --
> > >> Pritam Kute
> > >>
> > >>
> > >> On Tue, Jun 11, 2019 at 4:05 PM Shrilesh Korgaonkar <
> > >> shrilesh.korgaon...@udyogmandir.in> wrote:
> > >>
> > >>> *Hi Guys,*
> > >>>
> > >>> I need Configurable Digital product, I tried Configuring the product
> > using
> > >>> type
> > >>> AGGREGATED it can only for a physical product.
> > >>> Is there something in ofbiz / e-commerce out-of-the-box OR
> > >>> should I create a new type or anything else any suggestions?
> > >>>
> > >>> *Regards,*
> > >>> *Shrilesh K.*
> > >>>
> >
>


Re: Configurable Digital Good

2019-06-12 Thread Pritam Kute
Yes agreed with Jacques that subscription model can be a better fit for the
product which you are talking about.

Kind Regards,
--
Pritam Kute


On Wed, Jun 12, 2019 at 12:34 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi Shrilesh,
>
> Then you should use the subscription model, see
> https://cwiki.apache.org/confluence/display/OFBIZ/Subscription
>
> Jacques
>
> Le 12/06/2019 à 08:27, Shrilesh Korgaonkar a écrit :
> > Hi Guys,
> > we are trying to have subscription product with different subscription
> > duration
> >
> > Regards,
> > Shrilesh K.
> >
> >
> > On Wed, Jun 12, 2019 at 10:46 AM Pritam Kute <
> pritam.k...@hotwaxsystems.com>
> > wrote:
> >
> >> Hello Shrilesh,
> >>
> >> IMO there should not be any problem in associating digital products as
> >> options to the configurable product. Can you please share more details
> like
> >> example product and its options so that you will get better support?
> >>
> >> Kind Regards,
> >> --
> >> Pritam Kute
> >>
> >>
> >> On Tue, Jun 11, 2019 at 4:05 PM Shrilesh Korgaonkar <
> >> shrilesh.korgaon...@udyogmandir.in> wrote:
> >>
> >>> *Hi Guys,*
> >>>
> >>> I need Configurable Digital product, I tried Configuring the product
> using
> >>> type
> >>> AGGREGATED it can only for a physical product.
> >>> Is there something in ofbiz / e-commerce out-of-the-box OR
> >>> should I create a new type or anything else any suggestions?
> >>>
> >>> *Regards,*
> >>> *Shrilesh K.*
> >>>
>


Re: Configurable Digital Good

2019-06-11 Thread Pritam Kute
Hello Shrilesh,

IMO there should not be any problem in associating digital products as
options to the configurable product. Can you please share more details like
example product and its options so that you will get better support?

Kind Regards,
--
Pritam Kute


On Tue, Jun 11, 2019 at 4:05 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> *Hi Guys,*
>
> I need Configurable Digital product, I tried Configuring the product using
> type
> AGGREGATED it can only for a physical product.
> Is there something in ofbiz / e-commerce out-of-the-box OR
> should I create a new type or anything else any suggestions?
>
> *Regards,*
> *Shrilesh K.*
>


Re: Drop down issue

2019-05-10 Thread Pritam Kute
Hello Joe,

You should try following the OFBiz tutorial[1] which can help you get the
better idea about the handling views and data preparation logics etc.

[1]
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide

Kind Regards,
--
Pritam Kute


On Fri, May 10, 2019 at 11:05 AM Deepak Dixit  wrote:

> Hi Golda Joe,
>
> Your message has been moderated.
>
> Please subscribe to the user ML for such questions and then use your email
> client
> See also why here http://ofbiz.apache.org/mailing-lists.html
>
> You will get better support, it's fairer to share with everybody  and
> people can answer you on the ML rather than directly to you
> The wider the audience the better the answers you might get.
>
> Thanks & Regards
> --
> Deepak Dixit
> ofbiz.apache.org
>
>
> On Fri, May 10, 2019 at 10:57 AM golda joe  wrote:
>
> > Hi,
> > I am new to ofbiz.I need to load the drop down items/options dynamically
> > into a form from the enumeration table.
> > I have imported the the  data into enumeration table which is supposed to
> > be dynamically loaded in to different dropdowns.
> > I have no idea how to proceed further, ie, the entity conditions and what
> > to include in the ftl page
> > Could you please help me with this?
> >
> > Golda
> >
>


Re: Marketing Package

2019-04-26 Thread Pritam Kute
There is no any OOTB product type which can serve your purpose. You will
need a custom implementation to achieve that.

I can't able to find any practical product example with such a requirement.
Can you please share one example so that anyone here can understand it and
provide you a better solution?

Kind Regards,
--
Pritam Kute


On Wed, Apr 24, 2019 at 10:58 PM  wrote:

> Is there a product type that allows us to enter the parent item and all
> of the components show on the order with the ability to edit quantity
> and price of components.  Similar to marketing package but we want to
> see the components.
>
>
> Thanks,
>
>
> James
>


Re: Product Type

2019-01-29 Thread Pritam Kute
Hello James,

Right now there is no OOTB support available for this type of product. You
can do customization to show all associated/bundled products of the
marketing package on the order page.

Thanks and Regards
--
Pritam Kute


On Wed, Jan 30, 2019 at 12:35 AM  wrote:

> We are looking for a product type that will allow me to enter a product
> and all of the associated products are added to the order.  Similar to a
> Marketing Package - Pick Assembly except we want to see all items on the
> order and not the bundled item.  Is there a product type OTB?
>
> thanks,
>
> James
>


Re: I cannot start ofbiz on my laptop (localhost)

2018-12-21 Thread Pritam Kute
Hello Jondon,

Yes, OFBiz has embedded tomcat  So no need to install an Apache server. You
just need to check out the code, load the data and start using it.

As said by Nges, the URL you have mentioned in the wrong if you haven't
altered any port configuration settings in your setup or gradle command.
Please try to use the following URL:

https://localhost:8443/accounting/control/main

I have tested it on trunk and version 16. It works well for me.

Hope this helps.

Thanks and Regards
--
Pritam Kute


On Thu, Dec 20, 2018 at 10:35 AM Deepak Dixit 
wrote:

> Hi Nges,
>
> Your email has been moderated, Please subscribe mailing list
> http://ofbiz.apache.org/mailing-lists.html
>
> Please try with jdk 1.8, ofbiz not compatible with JDK 11.
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
>
> On Thu, Dec 20, 2018 at 10:28 AM Nges  wrote:
>
> > Hello, Having the same issue, did you get solution ?, I am using version
> 16
> > and JDK 11, Am using port 8443.
> > Help really need
> >
> >
> >
> > --
> > Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >
>


Re: Maximum order quantity of a product

2018-12-03 Thread Pritam Kute
Hello Deepak,

As far as I know, there is no direct support available in OFBiz for your
requirement. But it would be a good addition to the codebase if we can
design full features around quantity rules, in a similar fashion as "Price
Rules".

There can be the multiple cases around quantity which we can handle such as
1. Min/Max product quantity to be ordered.
2. Rule-based product quantity handling such as based on already added
products in the cart.

Just a thought!

Thanks and Regards
--
Pritam Kute


On Mon, Dec 3, 2018 at 3:38 PM Pierre Smits  wrote:

> Hi Deepak,
>
> Instead of modifying the model for the entity such a parameter could be set
> as an attribute of the product. IMO, we have dozens of *Attr entities that
> are greatly under-utilised in favour of adding fields to their associated
> parent entity.
>
> Best regards,
>
> Pierre Smits
>
> *Apache Trafodion <https://trafodion.apache.org>, Vice President*
> *Apache Directory <https://directory.apache.org>, PMC Member*
> Apache Incubator <https://incubator.apache.org>, committer
> *Apache OFBiz <https://ofbiz.apache.org>, contributor (without privileges)
> since 2008*
> Apache Steve <https://steve.apache.org>, committer
>
>
> On Mon, Dec 3, 2018 at 9:43 AM Deepak Nigam 
> wrote:
>
> > Hello all,
> >
> > I need to set the maximum order quantity for a particular product for the
> > e-commerce site. I have provided the client-side validation for the same
> > but it is easily breakable using request interceptors. Also, I don't want
> > to hardcode it at the backend, considering multiple clients of the ERP
> > solution.
> >
> > As far as I know, we can set the minimum order quantity using product
> price
> > type "MINIMUM_ORDER_PRICE". Is there a way by which we can set the
> maximum
> > order quantity of a given product (both from front-end and backend)?
> >
> > Thanks & Regards
> > --
> > Deepak Nigam
> > HotWax Systems Pvt. Ltd
> >
>


Re: Commissions with Two Reps On the Same Order - Brainpower Needed!

2018-11-29 Thread Pritam Kute
Hi James,

You can associate commission parties with Order using an "OrderRole" entity
using appropriate "roleTypeId".

Thanks and Regards
--
Pritam Kute


On Thu, Nov 29, 2018 at 1:42 PM  wrote:

> Thank you.  What is drools?
>
> How do I associate both commission parties to the order?
>
>  Original Message 
> Subject: Re: Commissions with Two Reps On the Same Order - Brainpower
> Needed!
> From: Shi Jinghai 
> Date: Wed, November 28, 2018 11:21 pm
> To: "user@ofbiz.apache.org" 
>
> And then, Drools[1] worth a try.
>
> [1] http://drools.org/
>
> -邮件原件-
> 发件人: Pritam Kute [mailto:pritam.k...@hotwaxsystems.com]
> 发送时间: 2018年11月29日 13:26
> 收件人: user@ofbiz.apache.org
> 主题: Re: Commissions with Two Reps On the Same Order - Brainpower
> Needed!
>
> Hello James,
>
> After looking into the requirements you have provided, IMO, this support
> would not be directly available OOTB. You would need to do some
> code customizations.
>
> IMO, the best possible design can be using party agreements as the
> commission % looks like a fixed one. You can create an agreement between
> the company party and the commission parties. At the time of placing the
> order, you should associate all the commission parties with the order.
> After placing the order into the system, you can have a custom code
> logic
> to calculate the commission and create the commission/purchase invoices
> accordingly.
>
> Hope this helps.
>
> Thanks and Regards
> --
> Pritam Kute
>
> On Thu, Nov 29, 2018 at 1:04 AM  wrote:
>
> > Ok Team I have two scenarios that I would like your brain power to
> > determine the best way to handle on how to pay two sales reps or 1 sales
> > and 1 partner on the same account
> >
> >
> > Scenario #1 - The Partner or Broker is tied to the account. The sales
> > rep who places the order also gets paid on the account. The company
> > wants to pay a total of only 20% of the Profit to both Sales Rep and
> > Broker
> > The Broker Gets 5% of the overall sale
> > Sales Rep Gets 20% of the Profit
> >
> > Example - Sell is for $10,000 of which their Cost of Goods Sold Is $5000
> > Gross Profit before Paying Broker is $5000
> > Broker Commission is $500
> > Net Profit is $4500
> > Sales Rep Gets 20% of Net Profit - 900
> >
> > Is there a way to have this in Ofbiz?
> >
> > The other scenario is very similar but with two sales rep
> >
> > One sales rep Owns the account. The other sales rep is someone who
> > might have assisted and actually placed the order
> >
> > In this scenario the commission is split between the two. Instead of
> > the account owner getting 20% he might split it the the order taker
> > 15%/5%
> >
> > Is there a way to have this in Ofbiz?
> >
> > Thanks,
> >
> > James
> >
>


Re: Commissions with Two Reps On the Same Order - Brainpower Needed!

2018-11-28 Thread Pritam Kute
Hello James,

After looking into the requirements you have provided, IMO, this support
would not be directly available OOTB. You would need to do some
code customizations.

IMO, the best possible design can be using party agreements as the
commission % looks like a fixed one. You can create an agreement between
the company party and the commission parties. At the time of placing the
order, you should associate all the commission parties with the order.
After placing the order into the system, you can have a custom code logic
to calculate the commission and create the commission/purchase invoices
accordingly.

Hope this helps.

Thanks and Regards
--
Pritam Kute

On Thu, Nov 29, 2018 at 1:04 AM  wrote:

> Ok Team I have two scenarios that I would like your brain power to
> determine the best way to handle on how to pay two sales reps or 1 sales
> and 1 partner on the same account
>
>
> Scenario #1 - The Partner or Broker is tied to the account.  The sales
> rep who places the order also gets paid on the account.  The company
> wants to pay a total of only 20% of the Profit to both Sales Rep and
> Broker
> The Broker Gets 5% of the overall sale
> Sales Rep Gets 20% of the Profit
>
> Example - Sell is for $10,000 of which their Cost of Goods Sold Is $5000
> Gross Profit before Paying Broker is $5000
> Broker Commission is $500
> Net Profit is $4500
> Sales Rep Gets 20% of Net Profit - 900
>
> Is there a way to have this in Ofbiz?
>
> The other scenario is very similar but with two sales rep
>
> One sales rep Owns the account.  The other sales rep is someone who
> might have assisted and actually placed the order
>
> In this scenario the commission is split between the two.  Instead of
> the account owner getting 20% he might split it the the order taker
> 15%/5%
>
> Is there a way to have this in Ofbiz?
>
> Thanks,
>
> James
>


Re: Catlogs

2018-11-28 Thread Pritam Kute
Hi Yokesh,

Both the promotions can be easily doable using promotion codes. You can
create the promotion codes and send it to the customer's email address.
While creating promotion codes, you can take advantage of fromDate and
thruDate fields to fulfill the redemption criteria.

Hope this helps.

Thanks and Regards
--
Pritam Kute


On Wed, Nov 28, 2018 at 5:15 PM ygk  wrote:

>  How to set promo for below 2 condition
>
> 1.Buy for Rs. 10,000 and get Rs 500 gift voucher (which can be redeemed
> immediately on the next purchase)
>
> 2.Buy for Rs. 10,000 and get Rs 500 gift voucher (which can be redeemed
> from the next day)
>
>
> Kindly suggest.
>
>


Re: Uploading and viewing documents of party

2018-11-28 Thread Pritam Kute
Hello Sameer,

The above-mentioned process works well for me on 17.12 branch also.

Thanks and Regards
--
Pritam Kute


On Wed, Nov 28, 2018 at 4:00 AM Sameer Apte  wrote:

> Thanks Pritam.
> Yes it seems like on trunk it works and on 17.12 it does not.
> But should be fine as I can move to latest version.
> Regards,
> Sameer Apte
>
>
> On Mon, Nov 26, 2018 at 4:43 AM Pritam Kute  >
> wrote:
>
> > Hello Sameer,
> >
> > Please follow the steps:
> > 1. Go to the party profile screen on ecommerce site. [1]
> > (User/Pass are DemoCustomer/ofbiz)
> > 2. Scroll down to find "File Manager" section.
> > 3. Click on "Upload New File" button. (Currently, there is a UI bug. It
> is
> > not showing the button properly. Also after selecting the file from your
> > computer, it will not show the selected file name. It will still show no
> > files. :) We can report this issue separately. )
> > 4. Select the file from the File Manager pop-up which you want to
> upload. I
> > have tested the flow with PDF file.
> > 5. Select purpose as "User Defined Content" and mime-type as "Adobe
> > Portable Document Format (PDF)".
> > 6. Click on upload. It will upload a file to the server and reload the
> > party profile screen.
> > 7. Now you should able to see the uploaded content and view/remove
> buttons
> > in front of it. Click on view button, it will show the PDF which you have
> > uploaded in previous steps.
> >
> > [1]: https://demo-trunk.ofbiz.apache.org/ecommerce/control/viewprofile
> >
> > Note: I have tested this workflow on Google Chrome. Let me know if you
> are
> > using any another browser.
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> > On Sun, Nov 25, 2018 at 10:00 PM Sameer Apte 
> wrote:
> >
> > > Thanks Pritam for having a look.
> > >
> > > I am looking at 17.12 as of now. After reading you email I also checked
> > > party profile page in party manager quickly on trunk demo. But It is
> > still
> > > not exactly what I was hoping for.
> > >
> > > Essentially on party profile page there is party content widget which
> > shows
> > > view and remove links next to each of the party contents.
> > > But if you click on view, it does not render the file uploaded in the
> > > browser. Instead it takes us to a screen where same widget is shown
> just
> > > that it occupies entire screen.
> > >
> > >
> >
> https://demo-trunk.ofbiz.apache.org/partymgr/control/EditPartyContents?contentId=10003=admin
> > >
> > > What I was hoping for was some place wherein user can click on view and
> > see
> > > the file that was uploaded getting rendered in the browser e.g. image
> or
> > > pdf. Pdf is preferable.
> > >
> > > Also the security related permissions which user should carry to make
> > sure
> > > that he / she can view the contents uploaded by her and not someone
> > else's.
> > >
> > > Regards,
> > > Sameer Apte
> > >
> > > On Sun, 25 Nov 2018, 15:51 Pritam Kute  > > wrote:
> > >
> > > > Hello Sameer,
> > > >
> > > > Can you tell more about OFBiz release you are using? I have tested
> the
> > > > workflow on the trunk and it is working fine.
> > > >
> > > > IMO, you may have selected the wrong mime type. Please let me know
> > which
> > > > mime type and purpose you are selecting.
> > > >
> > > > Thanks and Regards
> > > > --
> > > > Pritam Kute
> > > >
> > > > On Sat, Nov 24, 2018 at 7:20 PM Sameer Apte 
> > > wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > > I am trying to see if there is any functionality provided out of
> box
> > > that
> > > > > would allow e-commerce customers to upload their documents and
> later
> > on
> > > > > view or delete the same.
> > > > > Of course customers should be able to see the documents belonging
> to
> > > only
> > > > > themselves.
> > > > >
> > > > > On party profile page through party manager I could see that
> > documents
> > > > > could be uploaded. However when clicked on view it is not exactly
> > > > rendering
> > > > > the document itself. Rather it shows metadata of the document.
> > > > >
> > > > > Any pointers, tips, suggestion ?
> > > > >
> > > > > Regards,
> > > > > Sameer Apte
> > > > >
> > > >
> > >
> >
>


Re: Uploading and viewing documents of party

2018-11-25 Thread Pritam Kute
Hello Sameer,

Please follow the steps:
1. Go to the party profile screen on ecommerce site. [1]
(User/Pass are DemoCustomer/ofbiz)
2. Scroll down to find "File Manager" section.
3. Click on "Upload New File" button. (Currently, there is a UI bug. It is
not showing the button properly. Also after selecting the file from your
computer, it will not show the selected file name. It will still show no
files. :) We can report this issue separately. )
4. Select the file from the File Manager pop-up which you want to upload. I
have tested the flow with PDF file.
5. Select purpose as "User Defined Content" and mime-type as "Adobe
Portable Document Format (PDF)".
6. Click on upload. It will upload a file to the server and reload the
party profile screen.
7. Now you should able to see the uploaded content and view/remove buttons
in front of it. Click on view button, it will show the PDF which you have
uploaded in previous steps.

[1]: https://demo-trunk.ofbiz.apache.org/ecommerce/control/viewprofile

Note: I have tested this workflow on Google Chrome. Let me know if you are
using any another browser.

Thanks and Regards
--
Pritam Kute

On Sun, Nov 25, 2018 at 10:00 PM Sameer Apte  wrote:

> Thanks Pritam for having a look.
>
> I am looking at 17.12 as of now. After reading you email I also checked
> party profile page in party manager quickly on trunk demo. But It is still
> not exactly what I was hoping for.
>
> Essentially on party profile page there is party content widget which shows
> view and remove links next to each of the party contents.
> But if you click on view, it does not render the file uploaded in the
> browser. Instead it takes us to a screen where same widget is shown just
> that it occupies entire screen.
>
> https://demo-trunk.ofbiz.apache.org/partymgr/control/EditPartyContents?contentId=10003=admin
>
> What I was hoping for was some place wherein user can click on view and see
> the file that was uploaded getting rendered in the browser e.g. image or
> pdf. Pdf is preferable.
>
> Also the security related permissions which user should carry to make sure
> that he / she can view the contents uploaded by her and not someone else's.
>
> Regards,
> Sameer Apte
>
> On Sun, 25 Nov 2018, 15:51 Pritam Kute  wrote:
>
> > Hello Sameer,
> >
> > Can you tell more about OFBiz release you are using? I have tested the
> > workflow on the trunk and it is working fine.
> >
> > IMO, you may have selected the wrong mime type. Please let me know which
> > mime type and purpose you are selecting.
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> > On Sat, Nov 24, 2018 at 7:20 PM Sameer Apte 
> wrote:
> >
> > > Hi all,
> > >
> > > I am trying to see if there is any functionality provided out of box
> that
> > > would allow e-commerce customers to upload their documents and later on
> > > view or delete the same.
> > > Of course customers should be able to see the documents belonging to
> only
> > > themselves.
> > >
> > > On party profile page through party manager I could see that documents
> > > could be uploaded. However when clicked on view it is not exactly
> > rendering
> > > the document itself. Rather it shows metadata of the document.
> > >
> > > Any pointers, tips, suggestion ?
> > >
> > > Regards,
> > > Sameer Apte
> > >
> >
>


Re: Uploading and viewing documents of party

2018-11-25 Thread Pritam Kute
Hello Sameer,

Can you tell more about OFBiz release you are using? I have tested the
workflow on the trunk and it is working fine.

IMO, you may have selected the wrong mime type. Please let me know which
mime type and purpose you are selecting.

Thanks and Regards
--
Pritam Kute

On Sat, Nov 24, 2018 at 7:20 PM Sameer Apte  wrote:

> Hi all,
>
> I am trying to see if there is any functionality provided out of box that
> would allow e-commerce customers to upload their documents and later on
> view or delete the same.
> Of course customers should be able to see the documents belonging to only
> themselves.
>
> On party profile page through party manager I could see that documents
> could be uploaded. However when clicked on view it is not exactly rendering
> the document itself. Rather it shows metadata of the document.
>
> Any pointers, tips, suggestion ?
>
> Regards,
> Sameer Apte
>


Re: Product Configuration

2018-11-20 Thread Pritam Kute
Hi James,

The entity "WorkOrderItemFulfillment" ties order with the production run.

Thanks and Regards
--
Pritam Kute


On Tue, Nov 20, 2018 at 5:09 PM  wrote:

> Thanks Rishi.  How does the production tie back to the sales order?  Can
> you see which order its for?
>
>  Original Message 
> Subject: Re: Product Configuration
> From: Rishi Solanki 
> Date: Mon, November 19, 2018 9:44 pm
> To: ofbizuser 
>
> The configurable product generally assemble after order. So production
> run
> associated with order will create inventory for it, and then can be
> assigned to order item. This is what OFBiz services suggested to go
> with.
>
>
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
> www.hotwax.co
>
>
> On Tue, Nov 20, 2018 at 12:53 AM  wrote:
>
> > Can you receive an item that is a product configuration? How do you get
> > it in inventory?
> >
> > Thanks,
> >
> > James
> >
> >  Original Message 
> > Subject: Re: Product Configuration
> > From: Julien NICOLAS 
> > Date: Wed, November 14, 2018 3:01 am
> > To: user@ofbiz.apache.org
> >
> > Hi Yokesh,
> >
> > If you prefer to understand it by using OFBiz as a standard user, let's
> > follow below instructions.
> >
> >
> > Let's configure a computer.
> >
> > 1 base computer, 1 RAM of 8Gb, 2 type of SSD (128 and 256)
> >
> > Create the computer with "Configurable Good" type. Define a sale price
> > (around 800€ for a good one ;)
> >
> > Create the 8Gb RAM product whit "Finish Good" type. Define a sale price.
> >
> > Create 2 other Finish Good for SSD 128 and SSD 256 and define them a
> > sale price.
> >
> > In the Web Application "Configurations" click on the "Create New" button
> >
> > _A choice for the RAM quantity :_
> >
> > Config item type : Single Choice
> >
> > Config Item Name : Quantity of RAM
> >
> > => Click on the Update button
> >
> > You are now in the choice options. Create new configuration option, go
> > to "Config Options" tab and in the "Create New Config Options" define
> > the 8Gb RAM option.
> >
> > Config Option Name : 8Gb RAM (1x8Gb)
> >
> > Description : 8Gb RAM (1x8Gb)
> >
> > Sequence Num : 10 /(the first option in the list)/
> >
> > The screen add a new screenlet "Add Product Component".
> >
> > Select the 8Gb RAM previously created and a Quantity of 1, sequ num 10
> > then click on the "Create" button.
> >
> > Now add another config option. In the "Edit Config Options" screenlet,
> > click on the "Create New Config Options" button and create the new
> > config options :
> >
> > Config Option Name : 16Gb RAM (2x8Gb)
> >
> > Description : 16Gb RAM (2x8Gb)
> >
> > Sequence Num : 20
> >
> > In the "Add Product Component" add the same 8Gb RAM product but keyin 2
> > in quantity.
> >
> > _SSD Options_
> >
> > Click the "[New Config Item]" button and do the same as the the RAM (but
> >
> > change the product for each config options)
> >
> > _*Link Computer and Config Options*_
> >
> > Go to the application "Catalog", tab "Products", select the computer
> > previously created then find the button "Configurations".
> >
> > Here, you'll find the "Add Products Configs" screenlet. Select the RAM
> > in first and the sequence num 10.
> >
> > IMPORTANT !!! In the "Config Type Id" you MUST select "Question" to let
> > the choice to the user.
> >
> >
> > That's all. It's as simple as that ;)
> >
> >
> >
> > Le 14/11/2018 à 10:00, yokeshwaran2...@gmail.com a écrit :
> > > How to setup a configurable product in ofbiz, also how to map the
> > associated products within a configurable product to be shown in e
> commerce.
> > >
> > >
> > > Regards,
> > > Yokesh.
> > >
> >
>


Re: What is the better way to reserve inventory for the item?

2018-11-15 Thread Pritam Kute
Hello Rahul,

I have tested the workflow on trunk and it is working fine for me. Can you
share the details of the OFBiz version which you are using?

Are you trying with OFBiz demo data or any custom data?

Thanks and Regards
--
Pritam Kute


On Thu, Nov 15, 2018 at 3:08 PM Rahul Vangari 
wrote:

> Hi,
>
> I am using the Ofbiz OOB functionality.
>
>   * I have created a sales order and I have inventory for the goods in
> my facility. However, when I go to packing, I get message that there
> is nothing ready for packing.
>   * I manually call the reserveOrderItemInventory service to reserve the
> required items on the order.
>   * Then when I go to packing, I am able to successfully pack the items
> and create the shipment.
>   * My question is that instead of manually calling the
> reserveOrderItemInventory - what is the better way to reserve
> inventory for the item or what steps do I have to carry out in the
> applicationso that I can successfully use the packing transaction?
>
> --
> Regards,
> Rahul Vangari.
> vnnogile Solutions Private Limited
> www.vnnogile.com
>
>


Re: Product Configuration

2018-11-14 Thread Pritam Kute
Hello Yokesh,

You can take reference of the "Configurable PC" product on the e-commerce
website. [1]

For the data, you can refer plugins/ecommerce/data/DemoConfigurator.xml
file.

[1]:
https://demo-trunk-ofbiz.apache.org:8443/ecommerce/configurable-pc-PC001-p

Please let me know if you have any questions.

Thanks and Regards
--
Pritam Kute

On Wed, Nov 14, 2018 at 2:30 PM yokeshwaran2...@gmail.com <
yokeshwaran2...@gmail.com> wrote:

> How to setup a configurable product in ofbiz, also how to map the
> associated products within a configurable product to be shown in e commerce.
>
>
> Regards,
> Yokesh.
>


Re: Supplier mapping for a product

2018-11-14 Thread Pritam Kute
Hi Yokesh,

You can associate product suppliers from the following screen [1]

There is no any UI available on the OFBiz e-commerce OOTB, for now, to
display all suppliers available for the particular product and allow the
user to select the supplier. You can think of customization for this case.
Currently, the OOTB support of associating the suppliers to the product is
just for procurement purpose only.

Hope this helps.

[1]:
https://demo-trunk-ofbiz.apache.org:8443/catalog/control/EditProductSuppliers?productId=WG-9943

Thanks and Regards
--
Pritam Kute


On Wed, Nov 14, 2018 at 12:28 PM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Ha also forgot to say that as long as you have not subscribed to the OFBiz
> user ML your posts on the Nabble forum are not visible. So nobody can help
> you.
>
> For instance your similar post dated from the 12 is not visible there, see?
>
> http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>
>
> Le 14/11/2018 à 07:53, Jacques Le Roux a écrit :
> > Hi Yokesh,
> >
> > Your message has been moderated.
> >
> > Please subscribe to the user ML for such questions and then use your
> email client rather than the Nabble forum (as the forum says to you)
> > See also why here http://ofbiz.apache.org/mailing-lists.html
> >
> > You will get a better support and it's more fair to share with everybody
> > The wider the audience the better the answers you might get
> >
> > Also it's more work for moderators who have to accept your messages as
> long as you have not subscribed.
> > I'll personaly no longer accept them (other moderators still could)
> >
> >
> > Thanks
> >
> > Jacques
> >
> >
> > Le 13/11/2018 à 12:10, ygk a écrit :
> >> How to map multiple supplier for a single product and that should get
> >> reflected in ofbiz e commerce in a product detailed page with option of
> >> selecting supplier.
> >>
> >>
> >> Regards,
> >> Yokesh
> >>
> >>
> >>
> >> --
> >> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >>
> >
> >
>
>


Re: Setting up Promotions(Limiting Dollar amount for Promotions)

2018-11-12 Thread Pritam Kute
Hello Yokesh,

You can review demo promotions created at the following link [1].

This will help you get the idea about how you can create promotions in
OFBiz.
[1]:
https://demo-trunk-ofbiz.apache.org:8443/catalog/control/FindProductPromo

Please let me know if you have any questions.

Regards
--
Pritam Kute


On Mon, Nov 12, 2018 at 5:05 PM yokesh  wrote:

> Hi all,
>
> By setting up the promo rule as given below,
>
> Condition1:
> If cart sub total is less than or equal to 1000$, the order percent
> discount
> should be 5%
>
> Condition2:
> If cart sub total is greater than or equal to 1000$, the order amount flat
> is 50
>
> How to achieve this?
>
>
> Regards,
> Yokesh.
>
>
>
> --
> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>


Re: Order image

2018-11-12 Thread Pritam Kute
Hello,

I think the purpose mentioned by Devanshu is perfect. But there is no any
reference found in the OFBiz codebase where I can associate the order
content with content type Id "IMAGE_URL" with the order.

IMO, this can be a very useful use case in spectacle manufacturing industry
where the users can upload the pictures of their prescription while placing
the order. Then backend staff can access the prescription image from this
link when the manufacturing process is initiated.

Regards
--
Pritam Kute


On Mon, Nov 12, 2018 at 1:29 PM Ingo Wolfmayr 
wrote:

> Hello Devanshu Vyas.,
>
> thanks for your answer. Would you have a practical example for me.
>
> Thanks!
>
> Best regards,
> Ingo
>
>
>
> -Ursprüngliche Nachricht-
> Von: Devanshu Vyas 
> Gesendet: Samstag, 10. November 2018 08:41
> An: user@ofbiz.apache.org
> Betreff: Re: Order image
>
> Hello Ingo,
>
> The purpose of this is to associate an image URL(external link) with the
> order.
>
> Hope this helps.
>
> Thanks & Regards,
> Devanshu Vyas.
>
>
> On Wed, Nov 7, 2018 at 11:35 PM Ingo Wolfmayr 
> wrote:
>
> > Hi everybody,
> >
> > on the order screen (orderview) there is a link to an image
> > (orderContentTypeId=IMAGE_URL) - out of curiosity what is the purpose of
> it?
> >
> > Best regards,
> > Ingo
> >
> >
>


Re: Not able to gthiet the email address..

2018-10-16 Thread Pritam Kute
Hello Madhi Krishnan,

In addition to the reply from Aditya, if you don't want to add the
ContactMechPurpose data, you just need to create the ContactMech record
with ContactMechTypeId "EMAIL_ADDRESS" or "ELECTRONIC_ADDRESS" and
associate it with the party using PartyContactMech entity.

Thanks and Regards
--
Pritam Kute


On Tue, Oct 16, 2018 at 4:56 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> Hey Aditiya..
> Thanks for the reply..
> No there is no record for party id 10035
>
> On Tue, Oct 16, 2018 at 4:34 PM Aditya Sharma <
> aditya.sha...@hotwaxsystems.com> wrote:
>
> > Hi Madhi Krishnan,
> >
> > Can you find records in PartyContactWithPurpose entity using webtools
> > with contactMechPurposeTypeId as PRIMARY_EMAIL and partyId as 10035?
> >
> > Thanks and Regards,
> >
> > *Aditya Sharma* | Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > [image: https://www.linkedin.com/in/aditya-p-sharma/]
> > <https://www.linkedin.com/in/aditya-p-sharma/>
> >
> >
> > On Tue, Oct 16, 2018 at 3:36 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> > > Hey all..
> > > Can anyone please help he to solve this below..
> > >
> > > public static Map getEmail(DispatchContext
> > ctx,Map > > extends Object> context) throws GenericEntityException, SQLException,
> > > GenericServiceException{
> > > LocalDispatcher dispatcher=ctx.getDispatcher();
> > > Map successResult=ServiceUtil.returnSuccess();
> > > String partyId="10035";
> > > Map input=UtilMisc.toMap("partyId",partyId);
> > > Map serviceResult=dispatcher.runSync("getPartyEmail",
> > > input,360,true);
> > > String email="";
> > > if(serviceResult != null) {
> > > email=(String)serviceResult.get("emailAddress");
> > > successResult.put("outValue", email);
> > > }
> > > else {
> > > successResult.put("outValue", "Returns a null Value");
> > > }
> > > return successResult;
> > > }
> > >
> > > Trying to retrive the email address of a partyId..using the out of the
> > box
> > > service Named as getPartyEmail...but it's returning a null value for
> > > email...
> > >
> > > Thank You..
> > >
> >
>


Re: E-Commerce

2018-10-09 Thread Pritam Kute
Hi Shrilesh,

According to the above discussions, I guess you need to implement faceted
search which is nowadays more
popular on the e-commerce sites. [1]

The integration of the Apache Solr in OFBIz is at a very basic level for
now. So, I recommend you to write a custom implementation
for integrating stand-alone Apache Solr and achieving the results you want.
I suggest you
go through the documentation of Apache Solr for digging up more into it. [2]

Hope this helps you.

[1]:
https://image.slidesharecdn.com/seeleysolrfacetseurocon2011-111021104018-phpapp01/95/the-many-facets-of-apache-solr-yonik-seeley-5-728.jpg?cb=1341583996
[2]: http://lucene.apache.org/solr/resources.html

Thanks and Regards
--
Pritam Kute


On Tue, Oct 9, 2018 at 1:25 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> the solution u send that file or plugin is not working . it is not loading
> any data as well as in starting ofbiz it is not responding to my request
> i understand u but Can u plz ellobrate
>
> On Mon, Oct 8, 2018 at 10:27 AM Pritam Kute  >
> wrote:
>
> > Hi Shrilesh,
> >
> > Product filtering is not supported OOTB on e-commerce for now. You need
> to
> > customize the solution.
> > You can use Apache Solr for enhancing the search capabilities. You can
> use
> > stand-alone Apache Solr server for this. Currently, the work is in
> progress
> > to
> > integrate Apache Solr in embedded mode in Apache OFBiz. [1]
> >
> > [1]: https://issues.apache.org/jira/browse/OFBIZ-5042
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> >
> > On Mon, Oct 8, 2018 at 1:24 PM Shrilesh Korgaonkar <
> > shrilesh.korgaon...@udyogmandir.in> wrote:
> >
> > > Could you please let me know if product filtering is supported ootb in
> > case
> > > of ofbiz? E.g. when user searches for something in given category, i
> want
> > > to show not only products but also filtering pane on left hand side
> using
> > > which one can narrow down what they r looking for
> > >
> >
>


Re: E-Commerce

2018-10-08 Thread Pritam Kute
Hi Shrilesh,

Product filtering is not supported OOTB on e-commerce for now. You need to
customize the solution.
You can use Apache Solr for enhancing the search capabilities. You can use
stand-alone Apache Solr server for this. Currently, the work is in progress
to
integrate Apache Solr in embedded mode in Apache OFBiz. [1]

[1]: https://issues.apache.org/jira/browse/OFBIZ-5042

Thanks and Regards
--
Pritam Kute


On Mon, Oct 8, 2018 at 1:24 PM Shrilesh Korgaonkar <
shrilesh.korgaon...@udyogmandir.in> wrote:

> Could you please let me know if product filtering is supported ootb in case
> of ofbiz? E.g. when user searches for something in given category, i want
> to show not only products but also filtering pane on left hand side using
> which one can narrow down what they r looking for
>


Re: Creating product packs

2018-10-05 Thread Pritam Kute
Hi,

As I said in my previous email, it is just a UI layer problem. There is no
out of the box UI available on e-commerce for displaying the components of
the kit product. You need a little bit of customization in the code for
displaying those components on the product details page.

Thanks and Regards
--
Pritam Kute


On Thu, Oct 4, 2018 at 8:48 PM Wolfgang Paul Rauchholz <
wp.rauchh...@gmail.com> wrote:

> I don’t know what I am missing. This is my setup.
>
> Part number for the pack / basket:
> PACK7: defined as Marketing Package: Auto Manufactured (I tried also the
> Assembly type)
>
> Part number products
> 1000, 1001 and 1002 defined as Finished Good
>
> In Tab ASSOCIATION of PACK7 I tried all possible scenarios:
>
> Swapping Product ID and Product IT to. Trying several different association
> types.
>
> On e-Commerce page, when clicking PACK7 and ofbiz drills down to the
> product detail page, I do not see the products 100, 1001, 1002 (the
> contentt of the pack).
>
>
>
> What am I doing wrong?
>
>
>
> On Thu, Oct 4, 2018 at 12:30 PM Pritam Kute  >
> wrote:
>
> > Whatever I can learn from the explanation you have provided, it is just a
> > UI layer you are talking about. Like you just need to show individual
> > servings to the customer under a particular product pack. There is no any
> > requirement of modifying/deleting of any servings.
> >
> > If this is the case, then the marketing package can be exploded using the
> > associations created in "ProductAssoc" entity. I recommend you to go
> > through the demo data of GZ-BASKET. It will clear all your questions.
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> >
> > On Thu, Oct 4, 2018 at 3:17 PM Wolfgang Paul Rauchholz <
> > wp.rauchh...@gmail.com> wrote:
> >
> > > Thanks for responses.
> > > To you question what do you mean by "open the pack and see what is
> > inside".
> > > On the e-Commerce page the Customer will pick the product pack that is
> > > composed of 7 servings, from Monday to Sunday. The Customer wants to
> see
> > > the individual servings inside the pack.
> > > In other word, the Customer should be able to 'explode' the pack into
> its
> > > individual products.
> > >
> > >
> > > On Thu, Oct 4, 2018 at 11:39 AM Pritam Kute <
> > pritam.k...@hotwaxsystems.com
> > > >
> > > wrote:
> > >
> > > > Please see my comments inline.
> > > >
> > > > Thanks and Regards
> > > > --
> > > > Pritam Kute
> > > >
> > > >
> > > > On Thu, Oct 4, 2018 at 2:19 PM wp.rauchh...@gmail.com <
> > > > wp.rauchh...@gmail.com> wrote:
> > > >
> > > > > How to best setup a pack in ofbiz?
> > > > > With pack I mean a product (e.g. a pack for 7 days of food
> servings)
> > > that
> > > > > includes in this example 7 individual servings. Each of these
> > servings
> > > > > could be sold individually too.
> > > > >
> > > >
> > > > Yes. This is a best case for Marketing Package. See the defination of
> > > > marketing package here
> > > > https://cwiki.apache.org/confluence/display/OFBENDUSER/Products
> > > >
> > > > The price is set for the pack, but the Customer should have the
> > > possibility
> > > > > on e-Commerce to open the pack and see what is inside.
> > > > >
> > > >
> > > > Price can be set for the complete set in marketing package type
> > product.
> > > > Can you please ellaborate more about the line "open the pack and see
> > what
> > > > is inside". Like do they just need to see the package content or they
> > can
> > > > change some packs from the already built package?
> > > >
> > > >
> > > > > The pack is either defined or can be configured.
> > > > >
> > > >
> > > > IMO, defined pakages can be created by using marketing package
> concept
> > > > directly but for configured package, you should go for configurable
> > > product
> > > > setup.
> > > >
> > > >
> > > > > Is this a case where 'Marketing Package' is used?
> > > > >
> > > > > Thanks, Wolfgang
> > > > >
> > > > >
> > > >
> > >
> > >
> > > --
> > >
> > > Wolfgang Rauchholz
> > >
> >
>
>
> --
>
> Wolfgang Rauchholz
>


Re: Creating product packs

2018-10-04 Thread Pritam Kute
Whatever I can learn from the explanation you have provided, it is just a
UI layer you are talking about. Like you just need to show individual
servings to the customer under a particular product pack. There is no any
requirement of modifying/deleting of any servings.

If this is the case, then the marketing package can be exploded using the
associations created in "ProductAssoc" entity. I recommend you to go
through the demo data of GZ-BASKET. It will clear all your questions.

Thanks and Regards
--
Pritam Kute


On Thu, Oct 4, 2018 at 3:17 PM Wolfgang Paul Rauchholz <
wp.rauchh...@gmail.com> wrote:

> Thanks for responses.
> To you question what do you mean by "open the pack and see what is inside".
> On the e-Commerce page the Customer will pick the product pack that is
> composed of 7 servings, from Monday to Sunday. The Customer wants to see
> the individual servings inside the pack.
> In other word, the Customer should be able to 'explode' the pack into its
> individual products.
>
>
> On Thu, Oct 4, 2018 at 11:39 AM Pritam Kute  >
> wrote:
>
> > Please see my comments inline.
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> >
> > On Thu, Oct 4, 2018 at 2:19 PM wp.rauchh...@gmail.com <
> > wp.rauchh...@gmail.com> wrote:
> >
> > > How to best setup a pack in ofbiz?
> > > With pack I mean a product (e.g. a pack for 7 days of food servings)
> that
> > > includes in this example 7 individual servings. Each of these servings
> > > could be sold individually too.
> > >
> >
> > Yes. This is a best case for Marketing Package. See the defination of
> > marketing package here
> > https://cwiki.apache.org/confluence/display/OFBENDUSER/Products
> >
> > The price is set for the pack, but the Customer should have the
> possibility
> > > on e-Commerce to open the pack and see what is inside.
> > >
> >
> > Price can be set for the complete set in marketing package type product.
> > Can you please ellaborate more about the line "open the pack and see what
> > is inside". Like do they just need to see the package content or they can
> > change some packs from the already built package?
> >
> >
> > > The pack is either defined or can be configured.
> > >
> >
> > IMO, defined pakages can be created by using marketing package concept
> > directly but for configured package, you should go for configurable
> product
> > setup.
> >
> >
> > > Is this a case where 'Marketing Package' is used?
> > >
> > > Thanks, Wolfgang
> > >
> > >
> >
>
>
> --
>
> Wolfgang Rauchholz
>


Re: Creating product packs

2018-10-04 Thread Pritam Kute
IMO, product PIZZA can give a good idea about configurable product setup
into the system. For marketing package, you can refer following products

GZ-BASKET [1]
GZ-BASKET-PICK [2]

[1] :
https://demo-trunk-ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-BASKET
[2] :
https://demo-trunk-ofbiz.apache.org/catalog/control/EditProduct?productId=GZ-BASKET-PICK

Thanks and Regards
--
Pritam Kute


On Thu, Oct 4, 2018 at 3:01 PM Pritam Kute 
wrote:

> Please see my comments inline.
>
> Thanks and Regards
> --
> Pritam Kute
>
>
> On Thu, Oct 4, 2018 at 2:19 PM wp.rauchh...@gmail.com <
> wp.rauchh...@gmail.com> wrote:
>
>> How to best setup a pack in ofbiz?
>> With pack I mean a product (e.g. a pack for 7 days of food servings) that
>> includes in this example 7 individual servings. Each of these servings
>> could be sold individually too.
>>
>
> Yes. This is a best case for Marketing Package. See the defination of
> marketing package here
> https://cwiki.apache.org/confluence/display/OFBENDUSER/Products
>
> The price is set for the pack, but the Customer should have the
>> possibility on e-Commerce to open the pack and see what is inside.
>>
>
> Price can be set for the complete set in marketing package type product.
> Can you please ellaborate more about the line "open the pack and see what
> is inside". Like do they just need to see the package content or they can
> change some packs from the already built package?
>
>
>> The pack is either defined or can be configured.
>>
>
> IMO, defined pakages can be created by using marketing package concept
> directly but for configured package, you should go for configurable product
> setup.
>
>
>> Is this a case where 'Marketing Package' is used?
>>
>> Thanks, Wolfgang
>>
>>


Re: Creating product packs

2018-10-04 Thread Pritam Kute
Please see my comments inline.

Thanks and Regards
--
Pritam Kute


On Thu, Oct 4, 2018 at 2:19 PM wp.rauchh...@gmail.com <
wp.rauchh...@gmail.com> wrote:

> How to best setup a pack in ofbiz?
> With pack I mean a product (e.g. a pack for 7 days of food servings) that
> includes in this example 7 individual servings. Each of these servings
> could be sold individually too.
>

Yes. This is a best case for Marketing Package. See the defination of
marketing package here
https://cwiki.apache.org/confluence/display/OFBENDUSER/Products

The price is set for the pack, but the Customer should have the possibility
> on e-Commerce to open the pack and see what is inside.
>

Price can be set for the complete set in marketing package type product.
Can you please ellaborate more about the line "open the pack and see what
is inside". Like do they just need to see the package content or they can
change some packs from the already built package?


> The pack is either defined or can be configured.
>

IMO, defined pakages can be created by using marketing package concept
directly but for configured package, you should go for configurable product
setup.


> Is this a case where 'Marketing Package' is used?
>
> Thanks, Wolfgang
>
>


Re: COGS costing method is not supported Error

2018-10-04 Thread Pritam Kute
Hi Vinod,

Generally, logs can be seen on the OFBiz console. If not, you can go to
webtools -> View Logs menu.

https://demo-trunk.ofbiz.apache.org/webtools/control/LogView

Please make sure proper log configurations are done at webtools -> View
Logs -> Log Configurations.

Hope this helps

Thanks and Regards
--
Pritam Kute


On Thu, Oct 4, 2018 at 1:34 PM Deepak Dixit  wrote:

> Hi Vinod,
>
> Your email has been moderated, Please subscribe mailing list
>
> > http://ofbiz.apache.org/mailing-lists.html
>
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
> On Thu, Oct 4, 2018 at 12:17 PM, vinodpavan2k13 
> wrote:
>
> > Hi Paul,
> >
> >  I have tried as the same what you have suggested to set a log line in
> the
> > XML file but I am unable to the LOG can you please help in finding the
> log.
> >
> > Thanks & Regards,
> > Vinod Kumar
> >
> >
> >
> > --
> > Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
> >
>


Re: How to send and receive email in ofbiz

2018-10-01 Thread Pritam Kute
I have checked it on my local machine using "sendMail" service and it is
working fine for me. Can you recheck the properties which you have set once
again?

Thanks and Regards
--
Pritam Kute


On Mon, Oct 1, 2018 at 3:51 PM Madhi Krishnan 
wrote:

> I'm not using any personal smtp server..Used the gmail settings
>
> On Mon, Oct 1, 2018 at 3:40 PM Pritam Kute 
> wrote:
>
> > Hello Madhi,
> >
> > Which settings you have used? Gmail settings or your personal SMTP server
> > setup?
> >
> > Thanks and Regards
> > --
> > *Pritam Kute* | Sr. Enterprise Software Engineer
> > HotWax Commerce <http://www.hotwax.co/>  by  HotWax Systems
> > <http://www.hotwaxsystems.com/>
> > Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
> > Cell phone: +91 82519 20492
> >
> > 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/newsletters/HotWax/1-2UVLP6M/index.html
> >
> > .
> >
> > [image: Inline image 1]
> >
> >
> > On Mon, Oct 1, 2018 at 3:23 PM Madhi Krishnan <
> > madhi.krish...@udyogmandir.in> wrote:
> >
> >> Hello pritam..
> >> I have made the changes that you have mentioned above..But its
> >> showing .errorMessage
> >> [CON] Connection error when sending message
> >> Actually i'm using the out of the box service called sendMail..And tried
> >> to
> >> execute it from webtool
> >>
> >> On Mon, Oct 1, 2018 at 2:11 PM Deepak Dixit 
> >> wrote:
> >>
> >> > Hi Madhi Krishnan
> >> >
> >> > To send email you need do configuration in general.properties files.
> You
> >> > can use SystemProperties data as Pritam mentioned.
> >> > To receive email you need to configure JavaMail Container located at
> the
> >> > following file
> >> >
> >> > framework/service/ofbiz-component.xml
> >> >
> >> > Thanks & Regards
> >> > --
> >> > Deepak Dixit
> >> >
> >> >
> >> > On Mon, Oct 1, 2018 at 1:45 PM, Pritam Kute <
> >> pritam.k...@hotwaxsystems.com
> >> > >
> >> > wrote:
> >> >
> >> > > Hello Madhi,
> >> > >
> >> > > You can use your Gmail account for sending emails in the OFBiz.
> >> > >
> >> > > Here you need to add following properties to your system.
> >> > >
> >> > >  >> > > systemPropertyId="mail.notifications.enabled"
> >> systemPropertyValue="Y"/>
> >> > >  >> > > systemPropertyId="mail.smtp.relay.host" systemPropertyValue="smtp.
> >> > > gmail.com
> >> > > "/>
> >> > >  >> > > systemPropertyId="mail.smtp.auth.user" systemPropertyValue="Your
> Gmail
> >> > > Address"/>
> >> > >  >> > > systemPropertyId="mail.smtp.auth.password" systemPropertyValue="Your
> >> > Gmail
> >> > > Password"/>
> >> > >  >> > > systemPropertyId="mail.smtp.port" systemPropertyValue="465"/>
> >> > >  >> > > systemPropertyId="mail.smtp.starttls.enable"
> >> systemPropertyValue="true"/>
> >> > >  >> > > systemPropertyId="mail.smtp.socketFactory.port"
> >> > > systemPropertyValue="465"/>
> >> > >  >> > > systemPropertyId="mail.smtp.socketFactory.fallback"
> >> > > systemPropertyValue="false"/>
> >> > >  >> > > systemPropertyId="mail.smtp.socketFactory.class"
> >> > > systemPropertyValue="javax.net.ssl.SSLSocketFactory"/>
> >> > >
> >> > > If you are going to run your custom SMTP server on the same machine
> >> where
> >> > > OFBiz is running, then you need some different settings.
> >> > >  >> > > systemPropertyId="mail.notifications.enabled"
> >> systemPropertyValue="Y"/>
> >> > >  >> > > systemPropertyId="mail.smtp.relay.host"
> >> systemPropertyValue="localhost"/>
> >> > >
> >> > > 
> >> > >  >> > > systemPropertyId="mail.notifications.redirectTo"
> >> systemPropertyValue="XYZ
> >> > > Email Address"/>
> >> > >
> >> > > Hope this helps you. Please let me know if you are facing any
> >> > difficulties.
> >> > >
> >> > > Thanks and Regards
> >> > > --
> >> > > Pritam Kute
> >> > >
> >> > > On Mon, Oct 1, 2018 at 12:45 PM Madhi Krishnan <
> >> > > madhi.krish...@udyogmandir.in> wrote:
> >> > >
> >> > > > hey all..
> >> > > > Can you one please help me on how to send and receive email in
> >> ofbiz..
> >> > > > What are the changes that we have to do in general.properties
> files
> >> if
> >> > > any?
> >> > > > And do we need to run a smtp server on background?
> >> > > > Thank You.
> >> > > >
> >> > >
> >> >
> >>
> >
>


Re: How to send and receive email in ofbiz

2018-10-01 Thread Pritam Kute
Hello Madhi,

Which settings you have used? Gmail settings or your personal SMTP server
setup?

Thanks and Regards
--
*Pritam Kute* | Sr. Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/>  by  HotWax Systems
<http://www.hotwaxsystems.com/>
Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010
Cell phone: +91 82519 20492

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/newsletters/HotWax/1-2UVLP6M/index.html>
.

[image: Inline image 1]


On Mon, Oct 1, 2018 at 3:23 PM Madhi Krishnan 
wrote:

> Hello pritam..
> I have made the changes that you have mentioned above..But its
> showing .errorMessage
> [CON] Connection error when sending message
> Actually i'm using the out of the box service called sendMail..And tried to
> execute it from webtool
>
> On Mon, Oct 1, 2018 at 2:11 PM Deepak Dixit 
> wrote:
>
> > Hi Madhi Krishnan
> >
> > To send email you need do configuration in general.properties files. You
> > can use SystemProperties data as Pritam mentioned.
> > To receive email you need to configure JavaMail Container located at the
> > following file
> >
> > framework/service/ofbiz-component.xml
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> >
> >
> > On Mon, Oct 1, 2018 at 1:45 PM, Pritam Kute <
> pritam.k...@hotwaxsystems.com
> > >
> > wrote:
> >
> > > Hello Madhi,
> > >
> > > You can use your Gmail account for sending emails in the OFBiz.
> > >
> > > Here you need to add following properties to your system.
> > >
> > >  > > systemPropertyId="mail.notifications.enabled" systemPropertyValue="Y"/>
> > >  > > systemPropertyId="mail.smtp.relay.host" systemPropertyValue="smtp.
> > > gmail.com
> > > "/>
> > >  > > systemPropertyId="mail.smtp.auth.user" systemPropertyValue="Your Gmail
> > > Address"/>
> > >  > > systemPropertyId="mail.smtp.auth.password" systemPropertyValue="Your
> > Gmail
> > > Password"/>
> > >  > > systemPropertyId="mail.smtp.port" systemPropertyValue="465"/>
> > >  > > systemPropertyId="mail.smtp.starttls.enable"
> systemPropertyValue="true"/>
> > >  > > systemPropertyId="mail.smtp.socketFactory.port"
> > > systemPropertyValue="465"/>
> > >  > > systemPropertyId="mail.smtp.socketFactory.fallback"
> > > systemPropertyValue="false"/>
> > >  > > systemPropertyId="mail.smtp.socketFactory.class"
> > > systemPropertyValue="javax.net.ssl.SSLSocketFactory"/>
> > >
> > > If you are going to run your custom SMTP server on the same machine
> where
> > > OFBiz is running, then you need some different settings.
> > >  > > systemPropertyId="mail.notifications.enabled" systemPropertyValue="Y"/>
> > >  > > systemPropertyId="mail.smtp.relay.host"
> systemPropertyValue="localhost"/>
> > >
> > > 
> > >  > > systemPropertyId="mail.notifications.redirectTo"
> systemPropertyValue="XYZ
> > > Email Address"/>
> > >
> > > Hope this helps you. Please let me know if you are facing any
> > difficulties.
> > >
> > > Thanks and Regards
> > > --
> > > Pritam Kute
> > >
> > > On Mon, Oct 1, 2018 at 12:45 PM Madhi Krishnan <
> > > madhi.krish...@udyogmandir.in> wrote:
> > >
> > > > hey all..
> > > > Can you one please help me on how to send and receive email in
> ofbiz..
> > > > What are the changes that we have to do in general.properties files
> if
> > > any?
> > > > And do we need to run a smtp server on background?
> > > > Thank You.
> > > >
> > >
> >
>


Re: How to send and receive email in ofbiz

2018-10-01 Thread Pritam Kute
Hello Madhi,

You can use your Gmail account for sending emails in the OFBiz.

Here you need to add following properties to your system.











If you are going to run your custom SMTP server on the same machine where
OFBiz is running, then you need some different settings.






Hope this helps you. Please let me know if you are facing any difficulties.

Thanks and Regards
--
Pritam Kute

On Mon, Oct 1, 2018 at 12:45 PM Madhi Krishnan <
madhi.krish...@udyogmandir.in> wrote:

> hey all..
> Can you one please help me on how to send and receive email in ofbiz..
> What are the changes that we have to do in general.properties files if any?
> And do we need to run a smtp server on background?
> Thank You.
>


Re: OFBiz OutOfMemory and stucked JobPoller issue

2018-09-22 Thread Pritam Kute
We had faced the similar issue in one of the custom project. Our server
memory was getting full after some time when we restart the server and it
was causing the server to not to respond to web requests. Also, we faced
the issue with job poller not picking the new jobs for execution. We have
executed the following steps and now the server is very stable.
  -- Followed the sync-async architecture as mentioned Arun
  -- Disabled the server-hit and visits as it was not used in the system
  -- Analysed the code level issues using thread dumps and fixed the code
sections.

Thanks and Regards
--
Pritam Kute

On Fri, Sep 21, 2018 at 5:43 PM Arun Patidar  wrote:

> Managing of Visits and serverHit data in separate DB is very easy and will
> be faster to delete old records without affecting the main DB.
>
> A dedicated server only for processing jobs performs well as per my
> experience.
>
> Apart from this, root cause should be identified and fixed as Taher
> mentioned.
>
>
>
> Kind Regards,
>
> Arun Patidar
> Director of Information Systems
>
> *HotWax CommerceReal OmniChannel. Real Results.*
> m: +91 9827353082
>
>
>
> On Fri, Sep 21, 2018 at 4:07 PM Giulio Speri - MpStyle Srl <
> giulio.sp...@mpstyle.it> wrote:
>
> > Hi everyone,
> >
> > first of all, I'd like to thank you very much, for the quick response and
> > the suggestions you gave me.
> > We are absolutely convinced to investigate deeper into this issue and
> find
> > the root cause, because we strongly believe in the OFBiz framework and
> for
> > us it's becoming a core part of our business.
> >
> > To answer to @Arun:
> > regarding the large tables sizes: at the moment we're using the Visit
> table
> > (along with other tables) for Business Intelligence purposes, so what we
> > did and what we will do, in accordance with the customer, is to keep
> those
> > tables smaller, keeping record for the last XX days only and deleting
> > everything is older than that number of days (with a scheduled weekly
> > service, for example); this should keep the dimensions of those tables,
> > acceptable and at the same time give good data for BI analysis.
> >
> > Regarding the split service configuration, instead, we have our
> > installation setup in a very similar mode; we have front1 (ofbiz1
> instance)
> > where the JobPoller is enabled and a second front where it is disabled
> > (ofbiz2 instance). Web requests, are however, served by both instances.
> > Indeed the problems we're having, are limited to front1 only (but we did
> > not test if, enabling the JobPoller on the front2, we obtain the same
> > behaviour).
> >
> > @Taher We gladly accept your help proposal, so should I proceed with the
> > creation of a Jira task?
> >
> >
> > Thank you very much,
> >
> > Giulio
> >
> > Il giorno ven 21 set 2018 alle ore 11:16 Ingo Wolfmayr <
> > ingo.wolfm...@wolfix.at> ha scritto:
> >
> > > The root cause on my side was using a groovy service that was called
> > > thousends of times with the caching of groovy scripts disabled. If you
> > to a
> > > heap cache analyzis check the count of groovy instances. It was fixed
> by
> > > change the caching of groovy scripts. Maybe that saves you some time.
> > >
> > >
> > >
> > > Gesendet von meinem Windows 10-Gerät.
> > >
> > >
> > >
> > > Von: Taher Alkhateeb<mailto:slidingfilame...@gmail.com>
> > > Gesendet: Freitag, 21. September 2018 11:01
> > > An: OFBiz user mailing list<mailto:user@ofbiz.apache.org>
> > > Betreff: Re: OFBiz OutOfMemory and stucked JobPoller issue
> > >
> > >
> > >
> > > I think it would be much better if we can find a root-cause fix instead
> > of
> > > altering settings. I would be interested in helping out digging out
> > > whatever is causing the memory leak if Guilio is interested in opening
> a
> > > JIRA for this and investigating further.
> > >
> > > On Fri, Sep 21, 2018, 11:48 AM Ingo Wolfmayr 
> > > wrote:
> > >
> > > > Hallo Guilio,
> > > >
> > > > I had a similar issue some time ago. My fix was to enable caching for
> > > > groovy scripts etc.
> > > >
> > > > framework/base/config/cache.properties.
> > > >
> > > > There is a part that starts says:  # Development Mode - comment these
> > out
> > > > to better cache groovy scripts, etc
> > > >
> > > > After checking the heat cache analy

Re: Implement JOB

2018-04-20 Thread Pritam Kute
Hello Jonathan,

The steps mentioned by Nicolas will solve your problem. To read more about
job scheduling in OFBiz, you can refer to following links:

https://www.hotwaxsystems.com/ofbiz/ofbiz-tutorials/ofbiz-scheduling-planned-demand-services/
https://cwiki.apache.org/confluence/display/OFBENDUSER/Temporal+Expressions+Tutorial

Thanks and Regards
--
Pritam Kute

On Thu, Apr 19, 2018 at 1:34 AM, Nicolas Malin <nicolas.ma...@nereide.fr>
wrote:

> Hello Jonathan,
>
> If your problematic was run a service define on the service engine each 3
> hours, follow this process:
>
> Go to https://yourserver/webtools/control/scheduleJob
>
> set field as :
>
> Service: your service name to run
> Frequency: 3
> Interval: Hourly
> Count: -1
> Max Retry: 0
>
> leave all other field empty and submit. Set your parameters for the run
> and submit.
>
> Now on https://yourserver/webtools/control/FindJob your job will appear
> as Pending service
>
> Nicolas
>
>
>
> On 18/04/2018 21:11, Jonathan Javier wrote:
>
>> I currently use H2.
>>
>> The idea of being able to execute an automatic backup of the data was by
>> way
>> of example.
>> I would really like to use scheduled tasks to run a special service every
>> 3
>> hours during the day.
>>
>> Regards
>>
>>
>>
>> --
>> Sent from: http://ofbiz.135035.n4.nabble.com/OFBiz-User-f135036.html
>>
>>
>


Re: UserLogin Entity

2018-02-12 Thread Pritam Kute
Hello Ahmed,

The definition of entity "UserLogin" has been extended in file
"applications/datamodel/entitydef/party-entitymodel.xml".

Regards,
--
Pritam

On Mon, Feb 12, 2018 at 2:08 PM, Ahmad Rabab’ah  wrote:

> Dears ,
>
> I want to ask about entity , in definition for userLogin entity I can’t
> find field “PartyId” !
> but in my database (oracle) I found partyId filed with relation ,
> path for entity I found userLogin entity (\framework\security\
> entitydef\entitymodel.xml)
> kindly anyone can explain me how I found partyId in database but in
> definition I did not find it
>
> Regards
> ahmad
>
>


Re: [Updates] - OFBiz tutorial restructuring & release specific tutorial

2017-08-29 Thread Pritam Kute
Yes, I am facing the same issue with *OFBiz 13.07, 14.12 and 15.12, *here
is the updated link:
https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+13.07%2C+14.12+and+15.12

Other two are working fine.

Thanks and Regards
--
Pritam Kute

On Tue, Aug 29, 2017 at 7:32 PM, Anil Patel <anil.pa...@hotwaxsystems.com>
wrote:

> Hi,
> The tutorial URLs are not reachable (Page not found) for me, I am using
> Safari on Mac.
>
> Is anybody else experiencing similar issue?
>
>
> Thanks and Regards
> Anil Patel
> COO
> HotWax Systems
> http://www.hotwaxsystems.com
> Cell: + 1 509 398 3120
>
> On Tue, Aug 29, 2017 at 9:57 AM, Swapnil Mane <
> swapnil.m...@hotwaxsystems.com> wrote:
>
> > Dear Users,
> >
> > We are glad to present you the release specific tutorials for Apache
> OFBiz.
> >
> > *OFBiz trunk* - https://cwiki.apache.org/confluence/display/OFBIZ/
> > OFBiz+Tuto
> > rial+-+A+Beginners+Development+Guide
> >
> > *OFBiz 16.11* - https://cwiki.apache.org/confluence/display/OFBIZ/
> > OFBiz+Tuto
> > rial+-+A+Beginners+Development+Guide+for+16.11
> >
> > *OFBiz 13.07, 14.12 and 15.12* - https://cwiki.apache.org/confl
> > uence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development
> > +Guide+for+13.07%2C+14.12+and+15.12
> >
> > Thank you everyone who helped in this with your kind inputs and work.
> > Special thanks @Pranay Pandey for your continuous guidance and help. And
> > @Rohit Rai for verifying the latest tutorial for trunk.
> >
> > We highly appreciate your kind inputs :)
> >
> >
> > - Best Regards,
> > Swapnil M Mane,
> > OFBiz Community
> >
> >
> > On Tue, Apr 25, 2017 at 10:17 AM, Swapnil Mane <
> > swapnil.m...@hotwaxsystems.com> wrote:
> >
> > > Hello all,
> > >
> > > We are working on release specific tutorial since we have done lots
> from
> > > changes in OFBiz from release 15.12 to current trunk (like gradle and
> > > plugin directory structure)
> > >
> > > Under this restructuring, https://cwiki.apache.org/confl
> > > uence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide
> will
> > > be always synced up with the latest trunk (so this will be always *in
> > > progress* document for us)
> > >
> > > And the *child pages* of this document will be release specific
> tutorials
> > > like
> > > 1.) OFBiz Tutorial - A Beginners Development Guide for 13.07, 14.12 and
> > > 15.12
> > > <https://cwiki.apache.org/confluence/display/OFBIZ/
> > OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+13.07%
> > 2C+14.12+and+15.12>
> > > 2.) [WIP] OFBiz Tutorial - A Beginners Development Guide for 16.11
> > > <https://cwiki.apache.org/confluence/display/OFBIZ/%
> > 5BWIP%5D+OFBiz+Tutorial+-+A+Beginners+Development+Guide+for+16.11>
> > >
> > > Hopefully, this will provide an easy entry route for the new people
> > > joining the community.
> > >
> > > Thanks: @Pranay for inputs and continuous support on this.
> > >
> > > P.S. We would like to welcome any thoughts or input from the community
> on
> > > this.
> > >
> > >
> > >
> > > - Best Regards,
> > > Swapnil M Mane
> > > Sr. Enterprise Software Engineer
> > > www.hotwaxsystems.com
> > >
> > >
> > >
> > >
> > >
> >
>


Re: creating new facility in Ofbiz

2017-08-23 Thread Pritam Kute
Hi Rajesh,

There is an option available to add the new facility. Go to "Application" >
"Facility" and select any available facility. Click on Submit button. It
will open the detail screen of the facility. On this screen, you will get
the button to "Create New Facility".

Improvement can be done over here by adding the "Create New Facility"
button on Facility Selection screen itself instead of overview screen.

Regards
--
Pritam Kute

On Wed, Aug 23, 2017 at 6:21 PM, Rajesh Mallah <mallah.raj...@gmail.com>
wrote:

> Hi ,
>
> I do not see any "Add Facility" in  "Application" > "Facility"
> is it not possible  or required ?
>
> The original requirement is to Create an Employee  which has following
> dependencies .
>
> Employee  requires a "Store"
> Store requires "Inventory Facility Id"
>
> regds
> mallah.
>


To become contributor

2016-05-30 Thread Pritam Kute
Hello,
I have filed ICLA and here I am sending my confluence details -

Full Name : Pritam Kute
User Name : pritam.kute
Email : coolpritam...@gmail.com <lodhira...@gmail.com>

Thanks & Regards,
--
*Pritam Kute*
*HotWax Systems* | www.hotwaxsystems.com


Re: Live Demos links

2016-01-05 Thread Pritam Kute
Yes. They are the part of same demo.

Thanks & Regards,
--
*Pritam Kute*
*HotWax Systems* | www.hotwaxsystems.com

On Tue, Jan 5, 2016 at 9:20 PM, Pedro Lopes <ge...@pedropalacios.net> wrote:

> Thank you Pritam!
>
> Just one question, are the front end store and the management apps
> connected? Are they part of the same demo?
>
> Thanks in advance,
>
> Pedro
>
> On Tue, Jan 5, 2016 at 4:46 PM, Pritam Kute <pritam.k...@hotwaxsystems.com
> >
> wrote:
>
> > For demo purpose, you can use demo site of Apache OFbiz.
> >
> > Here are some URL for OFBiz 13.07 release:
> > Front-End Store <
> > http://demo-stable-ofbiz.apache.org/ecommerce/control/main>
> > Management Apps
> > <
> >
> http://demo-stable-ofbiz.apache.org/catalog/control/main?USERNAME=admin=ofbiz=Y
> > >
> >
> > Hope this will help you.
> >
> > Thanks & Regards,
> > --
> > *Pritam Kute*
> >
> > On Tue, Jan 5, 2016 at 8:53 PM, Pedro Lopes <ge...@pedropalacios.net>
> > wrote:
> >
> > > Hello all,
> > >
> > > In the course of evaluation, i need to show OFBiz to other people, can
> > you
> > > please provide me [official] links to the different parts of the ERP?
> > >
> > > Thanks in advance,
> > >
> > > Pedro
> > >
> >
>


Re: Live Demos links

2016-01-05 Thread Pritam Kute
For demo purpose, you can use demo site of Apache OFbiz.

Here are some URL for OFBiz 13.07 release:
Front-End Store <http://demo-stable-ofbiz.apache.org/ecommerce/control/main>
Management Apps
<http://demo-stable-ofbiz.apache.org/catalog/control/main?USERNAME=admin=ofbiz=Y>

Hope this will help you.

Thanks & Regards,
--
*Pritam Kute*

On Tue, Jan 5, 2016 at 8:53 PM, Pedro Lopes <ge...@pedropalacios.net> wrote:

> Hello all,
>
> In the course of evaluation, i need to show OFBiz to other people, can you
> please provide me [official] links to the different parts of the ERP?
>
> Thanks in advance,
>
> Pedro
>


Re: js issue in latest release

2015-09-24 Thread Pritam Kute
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 <ashishre...@gmail.com>
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"/>*
>