Skip to Content
0
Former Member
Oct 11, 2005 at 03:40 PM

DI API - Does line exist in document?

145 Views

Hello,

I am wondering how you guys would test if a line exists in a given marketing document.

I am currently using the GetByKey method to retrieve the document and then calling the SetCurrentLine() in a try catch block. If an exception is triggered then I consider that the line does not exist otherwise that it does.

Is there a more elegant way to do that?

Cheers,

Cyril