Package y1.wms

Examples of y1.wms.Stock.receive()


   
    System.out.println(order.getItem());
    System.out.println(order.getQty());
   
    Stock s = new Stock();
    s.receive(order);    // laos on  1 leib, 5 piima ja 3 saia
   

    int quantity = s.getAvailable(i2);    // peaks tagastama 5
    System.out.println("Piima laoseis: " + quantity); // peaks tagastama 5
    System.out.println("\nLaos on hetkel: " + s.toString()); // 1 leib, 5 piima, 3 saia
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.