Package org.openwms.wms.receiving.impl
Class ReceivingOrderPosition
- java.lang.Object
-
- org.ameba.integration.jpa.BaseEntity
-
- org.openwms.wms.receiving.impl.ReceivingOrderPosition
-
- All Implemented Interfaces:
Serializable
,org.ameba.integration.TypedEntity<Long>
@Entity public class ReceivingOrderPosition extends org.ameba.integration.jpa.BaseEntity implements Serializable
A ReceivingOrderPosition.- Author:
- Heiko Scherrer
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private ReceivingOrderPositionDetails
details
Some more detail information on this position, could by populated with ERP information.private ZonedDateTime
latestDueDate
Latest date this position can be processed.private ReceivingOrder
order
private @NotNull Integer
posNo
The position number is a unique index within a singleReceivingOrder
instance.private @NotNull Product
product
The orderedProduct
identified by it's SKU.private @NotNull org.openwms.core.units.api.Measurable
quantityExpected
private @NotNull org.openwms.core.units.api.Measurable
quantityReceived
private @NotNull OrderState
state
Current position state.private String
transportUnitBK
The business key of the expectedTransportUnit
that will be received.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReceivingOrderPosition()
Used by the JPA provider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openwms.core.units.api.Measurable
addQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
ReceivingOrderPositionDetails
getDetails()
ZonedDateTime
getLatestDueDate()
ReceivingOrder
getOrder()
int
getPosNo()
Product
getProduct()
org.openwms.core.units.api.Measurable
getQuantityExpected()
org.openwms.core.units.api.Measurable
getQuantityReceived()
OrderState
getState()
String
getTransportUnitBK()
void
setQuantityExpected(org.openwms.core.units.api.Measurable quantityExpected)
void
setQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
String
toString()
-
-
-
Field Detail
-
order
private ReceivingOrder order
-
posNo
@NotNull private @NotNull Integer posNo
The position number is a unique index within a singleReceivingOrder
instance.
-
state
@NotNull private @NotNull OrderState state
Current position state. Default is
-
quantityExpected
@NotNull private @NotNull org.openwms.core.units.api.Measurable quantityExpected
-
quantityReceived
@NotNull private @NotNull org.openwms.core.units.api.Measurable quantityReceived
-
transportUnitBK
private String transportUnitBK
The business key of the expectedTransportUnit
that will be received.
-
details
private ReceivingOrderPositionDetails details
Some more detail information on this position, could by populated with ERP information.
-
latestDueDate
private ZonedDateTime latestDueDate
Latest date this position can be processed.
-
-
Method Detail
-
getTransportUnitBK
public String getTransportUnitBK()
-
getDetails
public ReceivingOrderPositionDetails getDetails()
-
getOrder
public ReceivingOrder getOrder()
-
getPosNo
public int getPosNo()
-
getState
public OrderState getState()
-
getQuantityExpected
public org.openwms.core.units.api.Measurable getQuantityExpected()
-
setQuantityExpected
public void setQuantityExpected(org.openwms.core.units.api.Measurable quantityExpected)
-
getQuantityReceived
public org.openwms.core.units.api.Measurable getQuantityReceived()
-
addQuantityReceived
public org.openwms.core.units.api.Measurable addQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
-
setQuantityReceived
public void setQuantityReceived(org.openwms.core.units.api.Measurable quantityReceived)
-
getProduct
public Product getProduct()
-
getLatestDueDate
public ZonedDateTime getLatestDueDate()
-
-