group_moq {mknapsack}R Documentation

Collapse function for the MOQ items

Description

Combines items with MOQ greater than one to a single line that represents min amount that can be ordered

Usage

group_moq(units)

Arguments

units

data.table with following fields: sku, utility, volume, moq

Value

data.table with sku, utility, volume and units fields. first lines for each sku are grouped according to moq


[Package mknapsack version 0.1.0 Index]