1) that method is very old and I suspect it is not really used; it will probably need some work before being used 2) the method probably returns 9ar was designed to return) the available capacity expressed in milliseconds.
Jacopo On Aug 5, 2008, at 10:29 AM, rnatavio wrote:
Hi. Questions:1)Is there a way I can check the remaining capacity that a facility (ormachine/fixed asset) can accommodate for a given time? 2)What does TechDataServices.capacityRemaining() do exactly? Scenario:I tried to set the production CAPACITY for the DemoMachine, then I created aproduction run (PRun1) with QUANTITY = production capacity of the DemoMachine. Then I created another production run (PRun2), where theestimated start time of PRun2 should be LATER than the estimated end time ofPRun1, since PRun1 already used up all the number of productions that DemoMachine can accommodate. Unfortunately, things didn't turn out as expected. While looking for a workaround, I found this service in TechDataServices.capacityRemaining(), which I thought would return a quantity that the DemoMachine can stillaccommodate on a given time period. But the value it returned was severalthousand times more than what I've set as the DemoMachine's capacity. Please enlighten me. Roy -- View this message in context: http://www.nabble.com/TechDataServices-capacityRemaining--tp18826711p18826711.html Sent from the OFBiz - User mailing list archive at Nabble.com.
smime.p7s
Description: S/MIME cryptographic signature
