public static void GetTradeStatusStep( IFxTranExs fxtranexs, out System.String result) { Sage.Entity.Interfaces.IFxTranExs transaction = fxtranexs; string test = ""; switch(transaction.VStatus) { case "N": test = "New"; break; case "A": test = "Accepted"; break; case "V": test = "Voided"; break; case "P": test = "Pending"; break; case "Q": test = "Pending Accepted"; break; case "D": test = "Declined"; break; case "L": test = "Incomplete (Rate Locked)"; break; default: test = "- BLANK -"; break; } result = test; }
public static void GetSuspiciousSlxBoolStep( IFxTranExs fxtranexs, out System.String result) { // TODO: Complete business rule implementation Sage.Entity.Interfaces.IFxTranExs trans = fxtranexs; string test = "F"; if (trans.Suspicious != 0) { test = "T"; } result = test; }