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 TypeClassDescriptionclassclassclassclassclassclassclassclassclassclassclassclassclassclassclassMethods 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 QuantityQuantity.create(double quantity, MeasurementUnit unit) static QuantityQuantity.create(MeasurementUnit unit) static QuantityConstruct a quantity from a string representation.static QuantityQuantity.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 QuantityHasInventoryItem.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()StockHistory.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 thequantityrecord component.Quantity.round(int decimals) Round the quantity to the specified number of decimals.Subtract quantitySubtract quantityQuantity.subtract(BigDecimal quantity) Subtract quantitystatic QuantitySum 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 theQuantityclass 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 quantityvoidInventoryTransaction.bookShortage(InventoryItem item, Quantity quantity, String reference) Book shortage.booleanQuantity.canConvert(Quantity another) booleanQuantity.canConvert(Quantity another, String message) voidInventoryItemType.changeUnitOfMeasurement(TransactionManager tm, Quantity uom, Quantity uoi) booleanInventoryItemType.checkStock(InventoryLocation location, Quantity quantity) Check the availability of stock for this part number at a given location.booleanInventoryItemType.checkStock(InventoryLocation location, Quantity quantity, String serialNumber) Check the availability of stock for this part number at a given location.booleanInventoryItemType.checkStock(InventoryStore store, Quantity quantity) Check the availability of stock for this part number in a given store.booleanInventoryItemType.checkStock(InventoryStore store, Quantity quantity, String serialNumber) Check the availability of stock for this part number in a given store.voidCheck whether the measurement unit of the given quantity compatible for this item or not.voidCheck whether the measurement unit of the given quantity compatible for this item or not.voidCheck whether the measurement unit of the given quantity compatible for this item or not.voidCheck whether the measurement unit of the given quantity compatible for this item or not.intTaxRegion.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) voidInventoryTransaction.consume(InventoryItem item, Quantity quantity, String reference) Consume an item.voidInventoryTransaction.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 booleanQuantity.equalsWhenZero(Quantity another) Check if this quantity is equal to another quantity when both are zero, but their units are different.protected booleanTemperature.equalsWhenZero(Quantity another) TaxMethod.getTax(InventoryItemType itemType, Quantity quantity, Money unitCost, Percentage taxRate, Currency localCurrency) booleanQuantity.isCompatible(Quantity another) booleanQuantity.isConvertible(Quantity another) booleanQuantity.isGreaterThan(Quantity another) Check if this is greater than 'another'.booleanQuantity.isGreaterThanOrEqual(Quantity another) Check if this is greater than or equal to 'another'.booleanQuantity.isLessThan(Quantity another) Check if this is less than 'another'.booleanQuantity.isLessThanOrEqual(Quantity another) Check if this is less than or equal to 'another'.voidInventoryTransaction.loanTo(InventoryItem item, Quantity quantity, String reference, Entity entity) Loan an item to another entity.voidInventoryTransaction.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).voidInventoryTransaction.purchase(InventoryItem item, Quantity quantity, String reference, InventoryLocation to, Entity fromEntity) Purchase an item.voidMaterialRequest.reduceRequestedQuantity(Transaction transaction, InventoryItemType partNumber, Quantity reduceBy) voidMaterialRequestItem.reduceRequestedQuantity(Transaction transaction, Quantity reduceBy) voidInventoryTransaction.sale(InventoryItem item, Quantity quantity, String reference, Entity toEntity) Sell items.voidInventoryTransaction.scrap(InventoryItem item, Quantity quantity, String reference) Scrap an item.voidInventoryTransaction.sendForRepair(InventoryItem item, Quantity quantity, String reference, Entity repairEntity) Sent an item for repair.voidInventoryPOItem.setAPN(Transaction transaction, InventoryItemType apn, Quantity quantity) voidInventoryUnitCorrection.setCorrectedUnit(Quantity correctedUnit) voidInventoryItemType.setEconomicOrderQuantity(Quantity economicOrderQuantity) voidvoidInventoryItemType.setMinimumStockLevel(Quantity minimumStockLevel) voidInventoryUnitCorrection.setPreviousUnit(Quantity previousUnit) voidConsignmentItem.setQuantity(Quantity quantity) voidInventoryAssembly.setQuantity(Quantity quantity) voidInventoryGRNItem.setQuantity(Quantity quantity) voidInventoryItem.setQuantity(Quantity quantity) voidInventoryLedger.setQuantity(Quantity quantity) voidInventoryPOItem.setQuantity(Quantity quantity) voidInventoryTransferItem.setQuantity(Quantity quantity) voidMaterialIssuedItem.setQuantity(Quantity quantity) voidPackingUnit.setQuantity(Quantity quantity) voidStockHistory.setQuantity(Quantity quantity) voidInventoryPOItem.setReceived(Quantity quantity) voidInventoryItemType.setReorderPoint(Quantity reorderPoint) voidMaterialRequestItem.setRequested(Quantity requested) voidInventoryItemType.setUnitOfIssue(Quantity unitOfIssue) voidInventoryItemType.setUnitOfMeasurement(Quantity unitOfMeasurement) voidInventoryGRNItem.splitQuantity(Transaction transaction, Quantity quantityToSplit) voidInventoryTransaction.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 QuantitySum quantities.voidInventoryTransaction.thrash(InventoryItem item, Quantity quantity, String reference) Move items to thrash.booleanInventoryGRNItem.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, Rate exchangeRate) Create a GRN for this PO.static MeasurementUnitstatic intstatic MeasurementUnitConstructors 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 TypeMethodDescriptionvoidValueLimit.setUnitOfMeasurement(Quantity unitOfMeasurement) -
Uses of Quantity in com.storedobject.report
Methods in com.storedobject.report with parameters of type QuantityModifier and TypeMethodDescriptionvoidStockAvailability.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 TypeClassDescriptionclassMeasurementField<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 QuantityAbstractAssembly.getQuantity(InventoryFitmentPosition fitmentPosition) Methods in com.storedobject.ui.inventory with parameters of type QuantityModifier and TypeMethodDescriptionprotected booleanUOMField.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