Receipt Entry Change Log

Hi all,

Is anyone familiar with adding a change log to a form where the standard button isn't available in E10? I have this bit of code, but when I run it, the change log appears to show every change log related to the vendor, rather then just for the current packing slip.

        EpiDataView edv = (EpiDataView)oTrans.EpiDataViews["RcvHead"];
        Guid rowIdent = new Guid(edv.dataView[edv.Row]["SysRowID"].ToString());
        Ice.UI.App.ChgLogEntry.ChgLogArgs.Start(oTrans, "Erp", "RcvHead", rowIdent, true);