Created
August 31, 2016 15:29
-
-
Save hasokeric/7b5fbb537b9fbf78db9aeb41a52661a6 to your computer and use it in GitHub Desktop.
Set Invoice Selected in AR Cash Receipt Entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void selectInv(int invc) | |
{ | |
EpiDataView edv = oTrans.Factory("InvcHead"); | |
for(int i =0; i < edv.dataView.Count; i++) | |
{ | |
if((int)edv.dataView[i]["InvoiceNum"] == invc) | |
{ | |
//edv.Row =i; | |
edv.RaiseRowChanged(i,edv.Row); | |
edv.Notify(new EpiNotifyArgs(oTrans, i, EpiTransaction.NotifyType.Initialize)); | |
edv.dataView[i]["InvcSelected"]=true; | |
edv.Notify(new EpiNotifyArgs(oTrans, i, edv.Column)); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment