[ic] log_transaction question

DB DB at M-and-D.com
Thu Sep 30 19:14:56 UTC 2010

>> Hi - am I able to stuff an "if" condition within the [import] tag such as:
>> [import table=transactions type=LINE continue=NOTES]
>> ...
>> [if value mv_payment_mode eq purchase_order]
>> paid: 1
>> [/if]
>> [/import]
> It's better to put it in the data portion only:
> paid: [if value mv_payment_mode eq purchase_order]1[/if]
> -- 
> Mike Heins
> Perusion -- Expert Interchange Consulting    http://www.perusion.com/
> phone +1.765.328.4479  <mike at perusion.com>

Thanks - this does not seem to be working and I've double checked for
typos and restarted IC. I don't know if it matters but my "paid" field
is type char(1). Do I need to perhaps use

paid: [if value mv_payment_mode eq purchase_order]'1'[/if]

or something like that?


More information about the interchange-users mailing list