Skip to Content
0
Former Member
Sep 15, 2006 at 02:02 PM

Find Document line

34 Views

Is there a way to find a specific Document line let say in a Purchase Order else then going through a loop like

for(int iItem=0;iItem<oPO.Lines.Count;iItem++)

{

oPO.Lines.SetCurrentLine(iItem);

if(oPO.Lines.ItemCode == ItemCodeSought)

{

FOUND IT

BREAK;

}

}