Tuesday 3 January 2012

Sample Code Snippet Property

public static void GetBuy_SellStep( IFxTranExs fxtranexs, out System.String result)

{
    Sage.Entity.Interfaces.IFxTranExs transaction = fxtranexs;
    string test = "";
    if (transaction.BuySell == "B") { test = "Buy"; }
    if (transaction.BuySell == "S") { test = "Sell"; }

    result = test;
}

No comments:

Post a Comment