SC#QCADOOMESCLS-790 Added sql for partial deliveries.
Merge branch 'master' of github.com:qcadoo/mes