Article Compound KIT

Hi Sage Community!

Recently we found in our Software an unexpected behaviour related with some articles that are set at Compound Kit.

Through our development we manage to do deliveries and invoices that are related to those deliveries, both things we do via import template and they are working correctly so far.

The problem comes when one of the articles is a Compound Kit, the delivery is done properly (import) but when we create the invoice of this delivery using the import template for invoices it duplicates the components in the invoice.

Import

Result:

Does someone had the same situation?

We are sure that we could be checking when we create the invoice file the articles and if some article appears to be a kit not to add the components checking the structure but is risky if the delivery has the component outside of the kit.

Thanks for the assistance.

Kind regards.