group_moq {mknapsack} | R Documentation |
Combines items with MOQ greater than one to a single line that represents min amount that can be ordered
group_moq(units)
units |
data.table with following fields: sku, utility, volume, moq |
data.table with sku, utility, volume and units fields. first lines for each sku are grouped according to moq