Search in sources :

Example 1 with PhysicalInventoryLineItemAdjustment

use of org.openlmis.stockmanagement.domain.physicalinventory.PhysicalInventoryLineItemAdjustment in project openlmis-stockmanagement by OpenLMIS.

the class StockEventAdjustmentDto method toPhysicalInventoryLineItemAdjustment.

PhysicalInventoryLineItemAdjustment toPhysicalInventoryLineItemAdjustment() {
    StockCardLineItemReason reason = new StockCardLineItemReason();
    reason.setId(reasonId);
    return new PhysicalInventoryLineItemAdjustment(reason, quantity);
}
Also used : PhysicalInventoryLineItemAdjustment(org.openlmis.stockmanagement.domain.physicalinventory.PhysicalInventoryLineItemAdjustment) StockCardLineItemReason(org.openlmis.stockmanagement.domain.reason.StockCardLineItemReason)

Aggregations

PhysicalInventoryLineItemAdjustment (org.openlmis.stockmanagement.domain.physicalinventory.PhysicalInventoryLineItemAdjustment)1 StockCardLineItemReason (org.openlmis.stockmanagement.domain.reason.StockCardLineItemReason)1