use of de.metas.order.OrderAndLineId in project metasfresh-webui-api by metasfresh.
the class ShipmentCandidateRowsLoader method extractSalesOrderLineNo.
private int extractSalesOrderLineNo(final I_M_ShipmentSchedule record) {
final OrderAndLineId salesOrderAndLineId = extractSalesOrderAndLineId(record);
if (salesOrderAndLineId == null) {
return 0;
}
final I_C_OrderLine salesOrderLine = salesOrderLines.get(salesOrderAndLineId);
if (salesOrderLine == null) {
return 0;
}
return salesOrderLine.getLine();
}
Aggregations