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.
Buildup error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 536
- Joined: Thu Oct 11, 2007 1:48 am
- Location: Bangalore
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
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;
Last edited by prasson_ibm on Mon Mar 19, 2012 11:19 pm, edited 1 time in total.
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
The actual complaint seems to be that the compiler doesn't know how to apply the '*' operator to your operands.
What types are they?
What types are they?
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>