I used SDK to add a marketing document like this:
lRetCode = oDraft.Add
If lRetCode <> 0 Then
And I received sErrMsg="No matching records found (ODBC -2028)". I can found Item doesn't exist manually . But with document have too many lines, how can I check it? Can I use SDK to get exactly error line ?