Hi, here is what i want to have happen
(If {CUST_ORDER_LINE.UNIT_PRICE} <= {PART.UNIT_PRICE} then [({CUST_ORDER_LINE.UNIT_PRICE}
* {CUST_ORDER_LINE.TRADE_DISC_PERCENT}) when {CUST_ORDER_LINE.TRADE_DISC_PERCENT} <> 0 ]
else {PART.UNIT_PRICE}
* {RECEIVABLE_LINE.QTY}
i am sure it is a syntax error, but i don't know how to figure it out. Is there software that is intuitive, like would know what i want to do by the above jarbled crap?
TIA, Bill
(If {CUST_ORDER_LINE.UNIT_PRICE} <= {PART.UNIT_PRICE} then [({CUST_ORDER_LINE.UNIT_PRICE}
* {CUST_ORDER_LINE.TRADE_DISC_PERCENT}) when {CUST_ORDER_LINE.TRADE_DISC_PERCENT} <> 0 ]
else {PART.UNIT_PRICE}
* {RECEIVABLE_LINE.QTY}
i am sure it is a syntax error, but i don't know how to figure it out. Is there software that is intuitive, like would know what i want to do by the above jarbled crap?
TIA, Bill