Page 1 of 1

R10 how to sort invoice line items by sku except for kits

Posted: Wed Dec 09, 2015 11:29 am
by AbleMods
I have a client who wants the invoice line items to be sorted by SKU. Normally, not a big deal.

But the client uses kits, and he still wants the kits and kit items grouped together i.e. not sorted by the main sort on sku.

Is there a way to do an OrderItemComparer() that ignores kit-childitems? I'm thinking that's going to be what we want - something that sorts by sku, including the kit master line item but ignores kit child items so they stay properly grouped with the kit parent.

Any suggestions? There could be a coveted Pepsi reward involved in this one....