Page 1 of 1
Posted: Mon Mar 19, 2012 2:59 pm
by ray.wurlod
First, it's buildOP not buildup.
Second, there's nothing in your code that looks after transferring the result to the output. You seem to be thinking like a server routine's logic.
Posted: Mon Mar 19, 2012 8:52 pm
by qt_ky
Buildup can be an entirely different kind of problem.
Posted: Mon Mar 19, 2012 11:17 pm
by prasson_ibm
Hi Ray,
Sorry for the typo,yes it is buildop....
Do you want me to add input and output port names with the code.
like
Code: Select all
BeforeTaxAmount = InRec.Qty * InRec.Price;
Tax = InRec.TaxRate * BeforeTaxAmount;
Amt = BeforeTaxAmount + Tax;
OutRec.Amt = Amt * Exchange;
Posted: Wed Mar 28, 2012 11:22 pm
by jhmckeever
The actual complaint seems to be that the compiler doesn't know how to apply the '*' operator to your operands.
What types are they?