[ic] User tag on CommonAdjust producing an error message

Barry Treahy, Jr. interchange-users@icdevgroup.org
Fri Aug 30 01:08:08 2002


Dan Browning wrote:

> At 06:25 PM 8/29/2002 -0700, you wrote:
>
>> Below is the current CommonAdjust and yet the error I'm receiving 
>> that immediately follows makes no sense to me when considering that 
>> the tag is working fine on the CommonAdjust.
>>
>> CommonAdjust "&$Tag->tier_pricing( $item->{code}, $item->{quantity} 
>> )" ;:price
>>
>> w2k.mmaz.com IQf3PB7m:192.168.10.10 - [29/August/2002:20:25:26 -0400] 
>> mmb2c /cgi-bin/mmb2c/ATT-0290-03-SMA-02.html Safe: Can't locate 
>> object method "query" via package "Vend::Table::GDBM" (perhaps you 
>> forgot to load "Vend::Table::GDBM"?) at
>> /ibin/interchange/lib/Vend/Interpolate.pm line 5235.
>> >
>> > $Tag->tier_pricing( $item->{code}, $item->{quantity} )
>> >
>>
>> Though the page is working, it will pollute my error log with tons of 
>> messages and I'd like to fix or stop that...  Any ideas?
>>
>> Barry
>
>
> This may not be your problem, but any functions that you call that use 
> the database (perhaps 'products' and 'options' in your case) require 
> that you first specify the database ala:
>
> [perl tables="products options"] 

Good evening Dan.  

Thanks for writing.  In this case, the CommonAdjust is using a usertag 
for the determination of the proper pricing, of which in that usertag a 
call to query does occur.  Perhaps I'm dense, or that it is just late, 
but I do not see how I can meld your recommendation into that setup...

Cheers, I'm calling it a night...

Barry

-- 

Barry Treahy, Jr  *  Midwest Microwave  *  Vice President & CIO 

E-mail: Treahy@mmaz.com * Phone: 480/314-1320 * FAX: 480/661-7028