loyalty framework on ofbiz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

loyalty framework on ofbiz

jillas
Hi

   Do we have any loyalty program in ofbiz for points convertion and reward points.

Thanks & Regards
Prashanth Jilla
Reply | Threaded
Open this post in threaded view
|

Re: loyalty framework on ofbiz

Anil Patel-3
Prashanth,
Yes, Ofbiz has support for it. Study the FinancialAccount datamodel  
and services for details.

Regards
Anil Patel

On Jun 4, 2009, at 9:43 AM, jillas wrote:

>
> Hi
>
>   Do we have any loyalty program in ofbiz for points convertion and  
> reward
> points.
>
> Thanks & Regards
> Prashanth Jilla
> --
> View this message in context: http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870192.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: loyalty framework on ofbiz

jillas
Hi Anil

     I have gone thru FinancialAccount Data Model but I din't find any reward programs in it. If possible could you send me the available links. And please let me know where I can see the same in ofbiz and in which version.

Thanks & Regards
Prashanth Jilla

Anil Patel-3 wrote
Prashanth,
Yes, Ofbiz has support for it. Study the FinancialAccount datamodel  
and services for details.

Regards
Anil Patel

On Jun 4, 2009, at 9:43 AM, jillas wrote:

>
> Hi
>
>   Do we have any loyalty program in ofbiz for points convertion and  
> reward
> points.
>
> Thanks & Regards
> Prashanth Jilla
> --
> View this message in context: http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870192.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: loyalty framework on ofbiz

Anil Patel-3
Look at the financial account type and currencyUom data. You can add  
(I would imagine it already exists) FinAccountType for  
"LOYALTY_PROGRAM" and define currencyUom type of "POINTS". Also setup  
currency conversion data so you can calculate Money value of each  
points.

Once this data is setup, you can use existing services to give/use  
credits to a party.

I know this is not a detailed specification of what you need to do,  
but these ideas should help you in your research.

Regards
Anil Patel



On Jun 4, 2009, at 10:14 AM, jillas wrote:

>
> Hi Anil
>
>     I have gone thru FinancialAccount Data Model but I din't find any
> reward programs in it. If possible could you send me the available  
> links.
> And please let me know where I can see the same in ofbiz and in which
> version.
>
> Thanks & Regards
> Prashanth Jilla
>
>
> Anil Patel-3 wrote:
>>
>> Prashanth,
>> Yes, Ofbiz has support for it. Study the FinancialAccount datamodel
>> and services for details.
>>
>> Regards
>> Anil Patel
>>
>> On Jun 4, 2009, at 9:43 AM, jillas wrote:
>>
>>>
>>> Hi
>>>
>>>  Do we have any loyalty program in ofbiz for points convertion and
>>> reward
>>> points.
>>>
>>> Thanks & Regards
>>> Prashanth Jilla
>>> --
>>> View this message in context:
>>> http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870192.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870822.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

How do I return an error from groovy

Rees Watkins
In reply to this post by jillas
Hi


I would like to return an error from a groovy script so that the controller.xml error responce view is displayed. Is this possible?

Thank you
Rees



Reply | Threaded
Open this post in threaded view
|

Re: How do I return an error from groovy

BJ Freeman
In reply to this post by jillas
the normal model for groovy is to marshal data for either a widget or
FTL. to return to controller the groovy would need to be called by the
controller, so the Groovy would need to have a service interface. I am
not sure a groovy can be called as service.
your groovy can call the controller thru and URI though.
Look at ServiceUtil.returnError() and ServiceUtil.returnSucess()

Rees Watkins sent the following on 6/4/2009 7:44 AM:

> Hi
>
>
> I would like to return an error from a groovy script so that the controller.xml error responce view is displayed. Is this possible?
>
> Thank you
> Rees
>
>
>
>      

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: loyalty framework on ofbiz

BJ Freeman
In reply to this post by jillas
Anil this would be good to include in the Doc files. I can not edit them
 to put this in.

Anil Patel sent the following on 6/4/2009 7:39 AM:

> Look at the financial account type and currencyUom data. You can add (I
> would imagine it already exists) FinAccountType for "LOYALTY_PROGRAM"
> and define currencyUom type of "POINTS". Also setup currency conversion
> data so you can calculate Money value of each points.
>
> Once this data is setup, you can use existing services to give/use
> credits to a party.
>
> I know this is not a detailed specification of what you need to do, but
> these ideas should help you in your research.
>
> Regards
> Anil Patel
>
>
>
> On Jun 4, 2009, at 10:14 AM, jillas wrote:
>
>>
>> Hi Anil
>>
>>     I have gone thru FinancialAccount Data Model but I din't find any
>> reward programs in it. If possible could you send me the available links.
>> And please let me know where I can see the same in ofbiz and in which
>> version.
>>
>> Thanks & Regards
>> Prashanth Jilla
>>
>>
>> Anil Patel-3 wrote:
>>>
>>> Prashanth,
>>> Yes, Ofbiz has support for it. Study the FinancialAccount datamodel
>>> and services for details.
>>>
>>> Regards
>>> Anil Patel
>>>
>>> On Jun 4, 2009, at 9:43 AM, jillas wrote:
>>>
>>>>
>>>> Hi
>>>>
>>>>  Do we have any loyalty program in ofbiz for points convertion and
>>>> reward
>>>> points.
>>>>
>>>> Thanks & Regards
>>>> Prashanth Jilla
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870192.html
>>>>
>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870822.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: How do I return an error from groovy

Scott Gray-2
In reply to this post by Rees Watkins
Hi Rees

return "error";
should work.

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/06/2009, at 2:44 AM, Rees Watkins wrote:

> Hi
>
>
> I would like to return an error from a groovy script so that the  
> controller.xml error responce view is displayed. Is this possible?
>
> Thank you
> Rees
>
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: loyalty framework on ofbiz

Jacques Le Roux
Administrator
In reply to this post by BJ Freeman
+1

Jacques

From: "BJ Freeman" <[hidden email]>

> Anil this would be good to include in the Doc files. I can not edit them
> to put this in.
>
> Anil Patel sent the following on 6/4/2009 7:39 AM:
>> Look at the financial account type and currencyUom data. You can add (I
>> would imagine it already exists) FinAccountType for "LOYALTY_PROGRAM"
>> and define currencyUom type of "POINTS". Also setup currency conversion
>> data so you can calculate Money value of each points.
>>
>> Once this data is setup, you can use existing services to give/use
>> credits to a party.
>>
>> I know this is not a detailed specification of what you need to do, but
>> these ideas should help you in your research.
>>
>> Regards
>> Anil Patel
>>
>>
>>
>> On Jun 4, 2009, at 10:14 AM, jillas wrote:
>>
>>>
>>> Hi Anil
>>>
>>>     I have gone thru FinancialAccount Data Model but I din't find any
>>> reward programs in it. If possible could you send me the available links.
>>> And please let me know where I can see the same in ofbiz and in which
>>> version.
>>>
>>> Thanks & Regards
>>> Prashanth Jilla
>>>
>>>
>>> Anil Patel-3 wrote:
>>>>
>>>> Prashanth,
>>>> Yes, Ofbiz has support for it. Study the FinancialAccount datamodel
>>>> and services for details.
>>>>
>>>> Regards
>>>> Anil Patel
>>>>
>>>> On Jun 4, 2009, at 9:43 AM, jillas wrote:
>>>>
>>>>>
>>>>> Hi
>>>>>
>>>>>  Do we have any loyalty program in ofbiz for points convertion and
>>>>> reward
>>>>> points.
>>>>>
>>>>> Thanks & Regards
>>>>> Prashanth Jilla
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870192.html
>>>>>
>>>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/loyalty-framework-on-ofbiz-tp23870192p23870822.html
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>
>>
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>