Uses of Class
com.storedobject.core.Quantity
Packages that use Quantity
Package
Description
-
Uses of Quantity in com.storedobject.accounts
Methods in com.storedobject.accounts with parameters of type QuantityModifier and TypeMethodDescriptionFixedTax.getTax
(InventoryItemType itemType, Quantity quantity, Money unitCost, Percentage taxRate, Currency localCurrency) NoTax.getTax
(InventoryItemType itemType, Quantity quantity, Money unitCost, Percentage taxRate, Currency localCurrency) -
Uses of Quantity in com.storedobject.core
Subclasses of Quantity in com.storedobject.coreModifier and TypeClassDescriptionclass
class
class
class
class
class
class
class
class
class
class
class
class
class
class
Methods in com.storedobject.core with type parameters of type QuantityModifier and TypeMethodDescription<Q extends Quantity>
QQuantity.convert
(Q quantity) Convert the quantity to another unit.<Q extends Quantity>
QQuantity.convert
(Q quantity, int decimals) Convert the quantity to another unit.static <Q extends Quantity>
Qstatic <Q extends Quantity>
Qstatic <Q extends Quantity>
Qstatic <Q extends Quantity>
Qstatic <Q extends Quantity>
Qstatic <Q extends Quantity>
Qstatic <Q extends Quantity>
QQuantity.create
(BigDecimal quantity, Class<Q> qClass) static <Q extends Quantity>
QQuantity.create
(BigDecimal quantity, Class<Q> qClass, String unit) static <Q extends Quantity>
List<MeasurementUnit> Quantity.quantityTypes()
Quantity.types()
Methods in com.storedobject.core that return QuantityModifier and TypeMethodDescriptionQuantity.absolute()
Absolute value of this quantity.Add quantityAdd quantity valueQuantity.add
(BigDecimal quantity) Add quantityCount.convert
(MeasurementUnit toUnit) FractionalCount.convert
(MeasurementUnit toUnit) Quantity.convert
(MeasurementUnit u) Convert the quantity to another unit.Quantity.convert
(MeasurementUnit u, int decimals) Convert the quantity to another unit rounded to the given number of decimals.Temperature.convert
(MeasurementUnit u) static Quantity
Quantity.create
(double quantity, MeasurementUnit unit) static Quantity
Quantity.create
(MeasurementUnit unit) static Quantity
Construct a quantity from a string representation.static Quantity
Quantity.create
(BigDecimal quantity, MeasurementUnit unit) Quantity.divide
(double divisor) Divide the quantity with a valueQuantity.divide
(BigDecimal divisor) Divide the quantity with a valueInventoryPOItem.getBalance()
MaterialRequestItem.getBalance()
InventoryUnitCorrection.getCorrectedUnit()
InventoryItemType.getEconomicOrderQuantity()
MaterialRequestItem.getIssued()
InventoryItemType.getMinimumStockLevel()
InventoryUnitCorrection.getPreviousUnit()
ConsignmentItem.getQuantity()
default Quantity
HasInventoryItem.getQuantity()
Retrieves the quantity of the inventory item associated with this entity.InventoryAssembly.getQuantity()
InventoryGRNItem.getQuantity()
InventoryItem.getQuantity()
InventoryLedger.getQuantity()
InventoryPOItem.getQuantity()
InventoryTransferItem.getQuantity()
JSON.getQuantity
(String attribute) Helper method to retrieve a quantity value from the JSON request.MaterialIssuedItem.getQuantity()
PackingUnit.getQuantity()
InventoryPOItem.getReceived()
InventoryItemType.getReorderPoint()
MaterialRequestItem.getRequested()
InventoryItemType.getUnitOfIssue()
InventoryItemType.getUnitOfMeasurement()
Quantity.multiply
(double multiplicand) MultiplyQuantity.multiply
(BigDecimal multiplicand) MultiplyQuantity.negate()
Reverses the sign of this quantityQuantityWithCost.quantity()
Returns the value of thequantity
record component.Quantity.round
(int decimals) Round the quantity to the specified number of decimals.Subtract quantitySubtract quantityQuantity.subtract
(BigDecimal quantity) Subtract quantitystatic Quantity
Sum quantities.Quantity.zero()
Create a quantity of this type with zero value.Methods in com.storedobject.core that return types with arguments of type QuantityModifier and TypeMethodDescriptionQuantity.getClass
(MeasurementUnit unit) MeasurementUnit.getQuantityClass()
Get theQuantity
class for this measurement unit.Methods in com.storedobject.core with parameters of type QuantityModifier and TypeMethodDescriptionAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityAdd quantityvoid
InventoryTransaction.bookShortage
(InventoryItem item, Quantity quantity, String reference) Book shortage.boolean
Quantity.canConvert
(Quantity another) boolean
Quantity.canConvert
(Quantity another, String message) void
InventoryItemType.changeUnitOfMeasurement
(TransactionManager tm, Quantity uom, Quantity uoi) boolean
InventoryItemType.checkStock
(InventoryLocation location, Quantity quantity) Check the availability of stock for this part number at a given location.boolean
InventoryItemType.checkStock
(InventoryLocation location, Quantity quantity, String serialNumber) Check the availability of stock for this part number at a given location.boolean
InventoryItemType.checkStock
(InventoryStore store, Quantity quantity) Check the availability of stock for this part number in a given store.boolean
InventoryItemType.checkStock
(InventoryStore store, Quantity quantity, String serialNumber) Check the availability of stock for this part number in a given store.void
Check whether the measurement unit of the given quantity compatible for this item or not.void
Check whether the measurement unit of the given quantity compatible for this item or not.void
Check whether the measurement unit of the given quantity compatible for this item or not.void
Check whether the measurement unit of the given quantity compatible for this item or not.int
TaxRegion.computeTax
(Date date, StoredObject parent, InventoryItem item, Quantity quantity, Money unitCost, Currency localCurrency) TaxRegion.computeTax
(Date date, StoredObject parent, InventoryItemType itemType, Quantity quantity, Money unitCost, Currency localCurrency) void
InventoryTransaction.consume
(InventoryItem item, Quantity quantity, String reference) Consume an item.void
InventoryTransaction.dataPickup
(InventoryItem item, Quantity quantity, InventoryLocation to) Create a "data pick-up" entry.Divide the amount with a quantity (To find the unit price)protected boolean
Quantity.equalsWhenZero
(Quantity another) Check if this quantity is equal to another quantity when both are zero, but their units are different.protected boolean
Temperature.equalsWhenZero
(Quantity another) TaxMethod.getTax
(InventoryItemType itemType, Quantity quantity, Money unitCost, Percentage taxRate, Currency localCurrency) boolean
Quantity.isCompatible
(Quantity another) boolean
Quantity.isConvertible
(Quantity another) boolean
Quantity.isGreaterThan
(Quantity another) Check if this is greater than 'another'.boolean
Quantity.isGreaterThanOrEqual
(Quantity another) Check if this is greater than or equal to 'another'.boolean
Quantity.isLessThan
(Quantity another) Check if this is less than 'another'.boolean
Quantity.isLessThanOrEqual
(Quantity another) Check if this is less than or equal to 'another'.void
InventoryTransaction.moveTo
(InventoryItem item, Quantity quantity, String reference, InventoryLocation to) Move items to another location.Multiply the amount with a quantity (Given the unit price, find out the total amount).void
InventoryTransaction.purchase
(InventoryItem item, Quantity quantity, String reference, InventoryLocation to, Entity fromEntity) Purchase an item.void
MaterialRequest.reduceRequestedQuantity
(Transaction transaction, InventoryItemType partNumber, Quantity reduceBy) void
MaterialRequestItem.reduceRequestedQuantity
(Transaction transaction, Quantity reduceBy) void
InventoryTransaction.sale
(InventoryItem item, Quantity quantity, String reference, Entity toEntity) Sell items.void
InventoryTransaction.scrap
(InventoryItem item, Quantity quantity, String reference) Scrap an item.void
InventoryTransaction.sendForRepair
(InventoryItem item, Quantity quantity, String reference, Entity repairEntity) Sent an item for repair.void
InventoryPOItem.setAPN
(Transaction transaction, InventoryItemType apn, Quantity quantity) void
InventoryUnitCorrection.setCorrectedUnit
(Quantity correctedUnit) void
InventoryItemType.setEconomicOrderQuantity
(Quantity economicOrderQuantity) void
void
InventoryItemType.setMinimumStockLevel
(Quantity minimumStockLevel) void
InventoryUnitCorrection.setPreviousUnit
(Quantity previousUnit) void
ConsignmentItem.setQuantity
(Quantity quantity) void
InventoryAssembly.setQuantity
(Quantity quantity) void
InventoryGRNItem.setQuantity
(Quantity quantity) void
InventoryItem.setQuantity
(Quantity quantity) void
InventoryLedger.setQuantity
(Quantity quantity) void
InventoryPOItem.setQuantity
(Quantity quantity) void
InventoryTransferItem.setQuantity
(Quantity quantity) void
MaterialIssuedItem.setQuantity
(Quantity quantity) void
PackingUnit.setQuantity
(Quantity quantity) void
InventoryPOItem.setReceived
(Quantity quantity) void
InventoryItemType.setReorderPoint
(Quantity reorderPoint) void
MaterialRequestItem.setRequested
(Quantity requested) void
InventoryItemType.setUnitOfIssue
(Quantity unitOfIssue) void
InventoryItemType.setUnitOfMeasurement
(Quantity unitOfMeasurement) void
InventoryGRNItem.splitQuantity
(Transaction transaction, Quantity quantityToSplit) void
InventoryTransaction.splitQuantity
(InventoryItem item, Quantity quantity, String reference) Split the quantity within the same location.Subtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitySubtract quantitystatic Quantity
Sum quantities.void
InventoryTransaction.thrash
(InventoryItem item, Quantity quantity, String reference) Move items to thrash.boolean
InventoryGRNItem.updateValues
(TransactionManager tm, Quantity newQuantity, Money newUnitCost, String newSerialNumber) Update various attribute values.Method parameters in com.storedobject.core with type arguments of type QuantityModifier and TypeMethodDescriptionInventoryPO.createGRN
(Transaction transaction, Map<Id, Quantity> quantities, InventoryGRN grn, String invoiceNumber, Date invoiceDate) Create a GRN for this PO.static MeasurementUnit
static int
static MeasurementUnit
Constructors in com.storedobject.core with parameters of type Quantity -
Uses of Quantity in com.storedobject.core.converter
Methods in com.storedobject.core.converter that return QuantityMethods in com.storedobject.core.converter that return types with arguments of type Quantity -
Uses of Quantity in com.storedobject.iot
Methods in com.storedobject.iot that return QuantityMethods in com.storedobject.iot with parameters of type QuantityModifier and TypeMethodDescriptionvoid
ValueLimit.setUnitOfMeasurement
(Quantity unitOfMeasurement) -
Uses of Quantity in com.storedobject.report
Methods in com.storedobject.report with parameters of type QuantityModifier and TypeMethodDescriptionvoid
StockAvailability.add
(InventoryItemType partNumber, Quantity quantity) Constructors in com.storedobject.report with parameters of type QuantityModifierConstructorDescriptionStockAvailability
(Device device, InventoryItemType partNumber, Quantity quantity) StockAvailability
(Device device, InventoryItemType partNumber, Quantity quantity, InventoryStore store) -
Uses of Quantity in com.storedobject.ui
Classes in com.storedobject.ui with type parameters of type QuantityModifier and TypeClassDescriptionclass
MeasurementField<T extends Quantity>
Create a field to accept a specific measurementQuantity
. -
Uses of Quantity in com.storedobject.ui.inventory
Methods in com.storedobject.ui.inventory that return QuantityModifier and TypeMethodDescriptionfinal Quantity
AbstractAssembly.getQuantity
(InventoryFitmentPosition fitmentPosition) Methods in com.storedobject.ui.inventory with parameters of type QuantityModifier and TypeMethodDescriptionprotected boolean
UOMField.valueEquals
(Quantity value1, Quantity value2) -
Uses of Quantity in com.storedobject.ui.util
Classes in com.storedobject.ui.util with type parameters of type Quantity