Duplication of Line while adding supplementary item

Hi,

how to avoid duplication of supplementary item line creation in sales order in ax 2012.

Ex: sales line is created for “A” item,which having supplementary item.again adding new line called “B” this is also having a supplementary item.when click “Calculate supplementary item”,supplementary for item A and B is added in sales order form.if create new line called “C”,again supplementary item is created for Item “A”,“B” also.how to avoid duplication of adding supplementary item.

Regards,

Is this in standard or the one you customized? (since you have another thread related to this post asking to create supp item with help of custom code)

Hi,
Standard code…duplication of item line is present in Sales Order form.

Do you mean that the form that opens after clicking calculate supplementary items shows supp items related to all sales order lines? Can you post a screen shot?

Hi,
SalesOrder line items are A0003,A0001.
Suppelmentarty item are M0004,A0002.
This is the sales line present in SalesOrder form.
A0003
M0004
A0002
M0004
A0002
A0001
A0002

Regards,