Gift Certificates: Finaccount creationa and the balance updates

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

Gift Certificates: Finaccount creationa and the balance updates

Sanjeev Ghimire
Hi Ofbiz users!

I am using ofbiz release 4.0_550295


I have set up gift certificates as a digital product. I have also configured the product store fin account settings as well. When I buy a GC it seems to create the financial account and financial account transaction as well but the availableBalance and actualBalance in finaccount table is not updated.
It seems the service is trying to get amount from FinAccountTrans which has null value. I looked at the createFinAccountTrans service I dont see amount being passed  in the context. I am really confused how the amount is being updated in fin_account table.

Do anybody came across this issue? please help.

Sanjeev Ghimire
Reply | Threaded
Open this post in threaded view
|

Re: Gift Certificates: Finaccount creationa and the balance updates

Jacques Le Roux
Administrator
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-UsinggiftcardinOFBIz

Jacques

From: "Sanjeev Ghimire" <[hidden email]>

>
> Hi Ofbiz users!
>
> I am using ofbiz release 4.0_550295
>
>
> I have set up gift certificates as a digital product. I have also configured
> the product store fin account settings as well. When I buy a GC it seems to
> create the financial account and financial account transaction as well but
> the availableBalance and actualBalance in finaccount table is not updated.
> It seems the service is trying to get amount from FinAccountTrans which has
> null value. I looked at the createFinAccountTrans service I dont see amount
> being passed  in the context. I am really confused how the amount is being
> updated in fin_account table.
>
> Do anybody came across this issue? please help.
>
> Sanjeev Ghimire
> --
> View this message in context:
> http://www.nabble.com/Gift-Certificates%3A-Finaccount-creationa-and-the-balance-updates-tp20993038p20993038.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Gift Certificates: Finaccount creationa and the balance updates

Prateek
Hi Jacques,

Your provided link not working http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-UsinggiftcardinOFBIz

Could you please provide correct link or steps ?

Thanks,
Prateek