HFM rule not working. No Syntax error but consolidation aborting
I want to put if condition check data in two accounts. I get no syntax error but consolidation aborting after puting the below code.
If HS.Value.Member = "<Entity Currency>" or HS.Value.Member = "<Entity Curr Adjs>" Then
If "A#600.cust2#[None] <> 0" Then
if "A#Inv_Purch_Ext.Chan#[None] = 0" Then
HS.EXP "A#700.cust3#[None] = A#600.cust2#[None]"
ELSE
HS.EXP "A#700.cust3#[None].cust2#[None] = 0"
END IF
END IF
END IF
I am new to HFM rules. Please suggest and recommend the way to achive this.