Class SerialTrackingGuard.Line
java.lang.Object
org.bgerp.plugin.inventoru.service.SerialTrackingGuard.Line
- Enclosing class:
SerialTrackingGuard
One store and position: the balance against the units standing there.
-
Method Summary
Modifier and TypeMethodDescriptiondescribe()intUnits beyond the balance.intUnits reserved without a serial number — quantity, not movements: one reserve may hold several.intBalance no unit backs yet: serial numbers still to be filled in.boolean
-
Method Details
-
getStoreId
public int getStoreId() -
getStoreTitle
-
getItemId
public int getItemId() -
getItemTitle
-
getQuantity
-
getDevices
public int getDevices() -
getReservesWithoutSerial
Units reserved without a serial number — quantity, not movements: one reserve may hold several. -
getUncovered
Balance no unit backs yet: serial numbers still to be filled in. -
getExcess
Units beyond the balance. Counted as a number, not as whole units: two units against a balance of 1.5 used to truncate to none, the guard let the position be tracked per unit, and every movement of it was then refused by MovementDAO — which compares the same two without truncating. -
isProblem
public boolean isProblem() -
describe
- Returns:
- the line in words, for a refusal message
-