[ic] log_transaction question

Mike Heins mike at perusion.com
Thu Sep 30 19:23:54 UTC 2010


Quoting DB (DB at M-and-D.com):
> >> 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?

No. Something else is going on, what that is I can't say.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.328.4479  <mike at perusion.com>

Fast, reliable, cheap.  Pick two and we'll talk.
-- unknown



More information about the interchange-users mailing list