[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Germans plse. read, was Re: Newbie: how to implement a german sales tax ?
****** message to minivend-users from Holm Tiffe <holm@freibergnet.de> ******
Frank Miedreich wrote:
> ****** message to minivend-users from Frank Miedreich <miedreich@acm.org> ******
[..]
> >
> >CommonAdjust '[data base="products" code=[item-code] name="price"]'
> >gernerates those zeros again.
> >
>
> Take the following steps:
>
> Don't mess with commonAdjust and vat if item-price does not work. Get
> [item-price] to work first.
Frank, you have misinterpreted what I've wrote.
[item-price] doesn't work in conjunction with CommonAdjust.
I would calculate the price on the fly with CommonAdjust,
[item-price] is working on the pages.
The problem seems to be a "chicken and egg" problem, [item-price]
doesn't work here because it references the PriceField or CommonAdjust itself.(?)
It seems, that other item-* things aren't properly evaluated too in this context,
it was impossible to access the price field in the products.asc trough an
[field code=[item-code] name="price"] but [field code="00-001" name="price"]
is working (the same price for all articles)
Holm
--
FreibergNet Systemhaus GbR Holm Tiffe * Administration, Development
Systemhaus für Daten- und Netzwerktechnik phone +49 3731 781279
Unternehmensgruppe Liebscher & Partner fax +49 3731 781377
D-09599 Freiberg * Am St. Niclas Schacht 13 http://www.freibergnet.de/
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list