<actions> tag - bsh script

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

<actions> tag - bsh script

Rick F.
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
Reply | Threaded
Open this post in threaded view
|

Re: <actions> tag - bsh script

Vamsi
look into context  and find  "idProduct"


On 4/10/07, Richard Fleming <[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: <actions> tag - bsh script

Anil Patel
Add the field to parameters map. You can dothis by as parameters.fieldName

Anil



On 4/10/07, Vamsi Gmail! <[hidden email]> wrote:

> look into context  and find  "idProduct"
>
>
> On 4/10/07, Richard Fleming <[hidden email]> 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
> >
>
Reply | Threaded
Open this post in threaded view
|

TAX on Shipping (Order > NewOrder > GrandTotal)

peter-230
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


Reply | Threaded
Open this post in threaded view
|

Re: TAX on Shipping (Order > NewOrder > GrandTotal)

David E Jones

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, <[hidden email]> 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
>
>


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

RE: TAX on Shipping (Order > NewOrder > GrandTotal)

peter-230
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:[hidden email]]
Sent: 12 April 2007 01:27
To: [hidden email]
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, <[hidden email]> 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
>
>