Bug 165897 [Salesforce Project]Table column lost its data when insert a new column to the right
Reproduce steps: 1. Get and install BIRT Salesforce ODA driver. 2. Download the attached BIRT report design. 3. Insert a new column to the right of Negotiation/Review. 4. Input name as "Month Grand Total" and expression as following: row["Prospecting"]+row["Qualification"]+row["NeedsAnalysis"]+row["ValueProposition"]+row["IdDecisionMakers"]+row["PerceptionAnalysis"]+row["ProposalPriceQuote"]+row["NegotiationReview"] 5. Run the report and Negotiation/Review column lost its data.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/expression/MultiPassExpressionCompiler.java
*/
	public boolean getAggregateStatus( )
	{
		return this.hasAggregate;
	}
	
	/**
	 * replace the aggregate node with AGGR_VALUE <id>
	 * 
	 * @param registry
	 * @param aggregateExpression
	 * @param parent
	 * @param aggregateCallNode
	 * @throws DataException
	 */
	private void replaceAggregateNode( int registry, Node parent,
			Node aggregateCallNode ) throws DataException
	{
		if ( registry < 0 )
			throw new DataException( ResourceConstants.INVALID_CALL_AGGR );
		int aggregateId = registry;
		Node newFirstChild = Node.newString( Token.NAME, AGGR_VALUE );
		Node newSecondChild = Node.newNumber( aggregateId );
		Node aggregateNode = new Node( Token.GETELEM,
				newFirstChild,
				newSecondChild );
		parent.replaceChild( aggregateCallNode, aggregateNode );
	}
	
}