You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Richard Fleming <ri...@thebva.com> on 2007/04/10 15:02:00 UTC
tag - bsh script
Hi all
How do I access the value of a field, set by the actions tag, in a bsh script?
<action>
<set field="productId_a" value="${idProduct.productId}"/>
</action>
I've tried several things in terms of parameters, request, context, session... all to no avail. Help please!
lookup.bsh
....
productid = request.getParameter("productId");
....
Rick
RE: TAX on Shipping (Order > NewOrder > GrandTotal)
Posted by pe...@ec4b.com.
Hi David,
Thanks got it...
productCategoryId="" titleTransferEnumId="" minItemPrice="0.00"
minPurchase="0.00" taxShipping="N" taxPercentage="17.5"
Thanks & Regards,
Peter
-----Original Message-----
From: David E. Jones [mailto:jonesde@hotwaxmedia.com]
Sent: 12 April 2007 01:27
To: user@ofbiz.apache.org
Subject: Re: TAX on Shipping (Order > NewOrder > GrandTotal)
Importance: High
In the USA it varies by state, county, and even city. There is a
setting on the product rate record for a TaxAuthority to specify
whether or not to charge tax on shipping.
-David
On Apr 11, 2007, at 6:14 PM, <pe...@ec4b.com> wrote:
> Hi,
>
>
> In the UK we need to charge TAX (aka...VAT) on the shipping, is
> this the
> same in the USA?
>
> I ask this because I noticed that the (using the standard
> configuration)
> order totals (Order > OrderEntry > GrandTotal) does not add the TAX on
> shipping to the grand total.
>
>
> Does anyone know what file/s control this?
>
>
> Thanks & Regards,
>
> Peter
>
>
Re: TAX on Shipping (Order > NewOrder > GrandTotal)
Posted by "David E. Jones" <jo...@hotwaxmedia.com>.
In the USA it varies by state, county, and even city. There is a
setting on the product rate record for a TaxAuthority to specify
whether or not to charge tax on shipping.
-David
On Apr 11, 2007, at 6:14 PM, <pe...@ec4b.com> wrote:
> Hi,
>
>
> In the UK we need to charge TAX (aka...VAT) on the shipping, is
> this the
> same in the USA?
>
> I ask this because I noticed that the (using the standard
> configuration)
> order totals (Order > OrderEntry > GrandTotal) does not add the TAX on
> shipping to the grand total.
>
>
> Does anyone know what file/s control this?
>
>
> Thanks & Regards,
>
> Peter
>
>
TAX on Shipping (Order > NewOrder > GrandTotal)
Posted by pe...@ec4b.com.
Hi,
In the UK we need to charge TAX (aka...VAT) on the shipping, is this the
same in the USA?
I ask this because I noticed that the (using the standard configuration)
order totals (Order > OrderEntry > GrandTotal) does not add the TAX on
shipping to the grand total.
Does anyone know what file/s control this?
Thanks & Regards,
Peter
Re: tag - bsh script
Posted by Anil Patel <to...@gmail.com>.
Add the field to parameters map. You can dothis by as parameters.fieldName
Anil
On 4/10/07, Vamsi Gmail! <va...@gmail.com> wrote:
> look into context and find "idProduct"
>
>
> On 4/10/07, Richard Fleming <ri...@thebva.com> wrote:
> >
> > Hi all
> >
> > How do I access the value of a field, set by the actions tag, in a bsh
> > script?
> >
> > <action>
> > <set field="productId_a" value="${idProduct.productId}"/>
> > </action>
> >
> > I've tried several things in terms of parameters, request, context,
> > session... all to no avail. Help please!
> >
> > lookup.bsh
> > ....
> > productid = request.getParameter("productId");
> > ....
> >
> > Rick
> >
>
Re: tag - bsh script
Posted by Vamsi Gmail! <va...@gmail.com>.
look into context and find "idProduct"
On 4/10/07, Richard Fleming <ri...@thebva.com> wrote:
>
> Hi all
>
> How do I access the value of a field, set by the actions tag, in a bsh
> script?
>
> <action>
> <set field="productId_a" value="${idProduct.productId}"/>
> </action>
>
> I've tried several things in terms of parameters, request, context,
> session... all to no avail. Help please!
>
> lookup.bsh
> ....
> productid = request.getParameter("productId");
> ....
>
> Rick
>