All lines have not been distributed - Invoice Import using Interop DLLs

Hi All,

I got the issue while trying to import the Invoice into Sage. I am using BOI Interface with the C# code. I am getting this "All lines have not been distributed." error while importing,

Can anyone suggest me to solve this problem? 

Thanks,

SF