[ic] log_transaction question

Stefan Hornburg (Racke) racke at linuxia.de
Fri Oct 8 06:54:29 UTC 2010


On 10/07/2010 06:52 PM, DB wrote:
>> Sorry, I really haven't been following this close, but I see the following
>> in my log_transaction:
>>
>>
>> [if value mv_payment_mode eq purchase_order]
>> set credit_limit: [seti credit_limit][data
>>                  table=userdb
>>                  col=credit_limit
>>                  key="[data session username]"
>>                  value="-[scratch total_cost]"
>>                  increment=1
>>          ][/seti]
>> [/if]
>>
>> We implement the purchase order option in IC along with credit limits - what
>> are you trying to do?
>>
>> Steve
>
> I'm still fighting with this seemingly simple issue. My goal is to set
> the database field transactions.paid to a value of 1 anytime an order is
> placed by purchase order.
>
> Ive tried both
>
> paid: [if value mv_payment eq 'purchase_order']1[/if]
>
> and
>
> paid: [if value mv_payment_mode eq purchase_order]1[/if]
>
> as suggested by others but still no luck.

As this point I would enable database query logging and see what really happens
at the database side of things.

Regards
	Racke


-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team




More information about the interchange-users mailing list