Class WarehouseTransactionGenerateInput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.transaction.event.WarehouseTransactionGenerateInput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Input object for
WarehouseTransactionGenerateEvent- Since:
- 13.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new warehouse transaction generate input. -
Method Summary
Modifier and TypeMethodDescriptionbooleanVerifies whether the check on active materials must be executed during the transaction generation process.Returns the log helper.Returns material id.Returns the measure unit id.Returns the warehouse operation item id.Returns the quantity.Returns the reference date.Returns the serialized materials.Returns the stock type id.getType()Returns the transaction type id.Returns the warehouse id.booleanVerifies if the checks on stock quantity are enabled.Verifies whether the check for visible warehouses must be executed during the transaction generation process.voidsetCheckActiveMaterial(boolean checkActiveMaterial) Sets the execution of the check on active materials during the transaction generation process.voidsetCheckStockQuantity(boolean checkStockQuantity) Sets the execution of the check on stock quantities.voidsetCheckVisibleWarehouse(Boolean checkVisibleWarehouse) Sets the execution of the check for visible warehouses during the transaction generation process.voidsetLogHelper(LogHelper logHelper) Sets the log helper.voidsetMaterial(Long material) Sets the material id.voidsetMeasureUnit(Long measureUnit) Sets the measure unit id.voidsetOperationItem(Long operationItem) Sets the warehouse operation item id.voidsetQuantity(Double quantity) Sets the quantity.voidsetReferenceDate(Date referenceDate) Sets the reference date.voidsetSerializedMaterials(Collection<Long> serializedMaterials) Sets the serialized materials.voidsetStockType(Long stockType) Sets the stock type id.voidSets the transaction type id.voidsetWarehouse(Long warehouse) Sets the warehouse id.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
WarehouseTransactionGenerateInput
public WarehouseTransactionGenerateInput()Instantiates a new warehouse transaction generate input.
-
-
Method Details
-
getType
Returns the transaction type id.- Returns:
- the transaction type id.
- See Also:
-
setType
Sets the transaction type id.- Parameters:
type- the transaction type id.- See Also:
-
getWarehouse
Returns the warehouse id.- Returns:
- the warehouse id.
- See Also:
-
setWarehouse
Sets the warehouse id.- Parameters:
warehouse- the warehouse id- See Also:
-
getMaterial
Returns material id.- Returns:
- the material id.
- See Also:
-
setMaterial
Sets the material id.- Parameters:
material- the material id- See Also:
-
getStockType
Returns the stock type id.- Returns:
- the stock type id.
- See Also:
-
setStockType
Sets the stock type id.- Parameters:
stockType- the stock type id- See Also:
-
getQuantity
Returns the quantity.- Returns:
- the quantity
-
setQuantity
Sets the quantity.- Parameters:
quantity- the quantity
-
getMeasureUnit
Returns the measure unit id.- Returns:
- the measure unit id.
- See Also:
-
setMeasureUnit
Sets the measure unit id.- Parameters:
measureUnit- the measure unit id- See Also:
-
getReferenceDate
Returns the reference date.- Returns:
- the reference date
-
setReferenceDate
Sets the reference date.- Parameters:
referenceDate- the reference date
-
getOperationItem
Returns the warehouse operation item id.- Returns:
- the warehouse operation item id
-
setOperationItem
Sets the warehouse operation item id.- Parameters:
operationItem- the warehouse operation item id
-
getSerializedMaterials
Returns the serialized materials.- Returns:
- the serialized materials
-
setSerializedMaterials
Sets the serialized materials.- Parameters:
serializedMaterials- the serialized materials
-
getLogHelper
Returns the log helper.- Returns:
- the log helper
-
setLogHelper
Sets the log helper.- Parameters:
logHelper- the log helper
-
getCheckActiveMaterial
public boolean getCheckActiveMaterial()Verifies whether the check on active materials must be executed during the transaction generation process.- Returns:
- true the check must be executed, false otherwise
-
setCheckActiveMaterial
public void setCheckActiveMaterial(boolean checkActiveMaterial) Sets the execution of the check on active materials during the transaction generation process.- Parameters:
checkActiveMaterial- true the check is going to be executed, false otherwise
-
isCheckVisibleWarehouse
Verifies whether the check for visible warehouses must be executed during the transaction generation process.- Returns:
- true the check must be executed, false otherwise
-
setCheckVisibleWarehouse
Sets the execution of the check for visible warehouses during the transaction generation process.- Parameters:
checkVisibleWarehouse- true the check is going to be executed, false otherwise
-
isCheckStockQuantity
public boolean isCheckStockQuantity()Verifies if the checks on stock quantity are enabled.- Returns:
- true if the checks on stock quantity are enabled, false otherwise
-
setCheckStockQuantity
public void setCheckStockQuantity(boolean checkStockQuantity) Sets the execution of the check on stock quantities. Default value is true.- Parameters:
checkStockQuantity- the check enabling value
-