|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ofbiz.manufacturing.mrp.ProposedOrder
public class ProposedOrder
Proposed Order Object generated by the MRP process or other re-Order process
| Field Summary | |
|---|---|
protected java.lang.String |
facilityId
|
protected boolean |
isBuilt
|
protected java.lang.String |
manufacturingFacilityId
|
static java.lang.String |
module
|
protected java.lang.String |
mrpName
|
protected GenericValue |
product
|
protected java.lang.String |
productId
|
protected java.math.BigDecimal |
quantity
|
protected java.sql.Timestamp |
requiredByDate
|
protected java.sql.Timestamp |
requirementStartDate
|
static java.lang.String |
resource
|
| Constructor Summary | |
|---|---|
ProposedOrder(GenericValue product,
java.lang.String facilityId,
java.lang.String manufacturingFacilityId,
boolean isBuilt,
java.sql.Timestamp requiredByDate,
java.math.BigDecimal quantity)
|
|
| Method Summary | |
|---|---|
void |
calculateQuantityToSupply(java.math.BigDecimal reorderQuantity,
java.math.BigDecimal minimumStock,
java.util.ListIterator<GenericValue> listIterIEP)
calculate the ProposedOrder quantity and update the quantity property. |
java.util.Map<java.lang.String,java.lang.Object> |
calculateStartDate(int daysToShip,
GenericValue routing,
Delegator delegator,
LocalDispatcher dispatcher,
GenericValue userLogin)
calculate the ProposedOrder requirementStartDate and update the requirementStartDate property. |
java.lang.String |
create(DispatchContext ctx,
GenericValue userLogin)
create a ProposedOrder in the Requirement Entity calling the createRequirement service. |
java.math.BigDecimal |
getQuantity()
get the quantity property. |
java.sql.Timestamp |
getRequirementStartDate()
get the requirementStartDate property. |
void |
setMrpName(java.lang.String mrpName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
public static final java.lang.String resource
protected GenericValue product
protected boolean isBuilt
protected java.lang.String productId
protected java.lang.String facilityId
protected java.lang.String manufacturingFacilityId
protected java.lang.String mrpName
protected java.sql.Timestamp requiredByDate
protected java.sql.Timestamp requirementStartDate
protected java.math.BigDecimal quantity
| Constructor Detail |
|---|
public ProposedOrder(GenericValue product,
java.lang.String facilityId,
java.lang.String manufacturingFacilityId,
boolean isBuilt,
java.sql.Timestamp requiredByDate,
java.math.BigDecimal quantity)
| Method Detail |
|---|
public java.math.BigDecimal getQuantity()
public java.sql.Timestamp getRequirementStartDate()
public java.util.Map<java.lang.String,java.lang.Object> calculateStartDate(int daysToShip,
GenericValue routing,
Delegator delegator,
LocalDispatcher dispatcher,
GenericValue userLogin)
public void calculateQuantityToSupply(java.math.BigDecimal reorderQuantity,
java.math.BigDecimal minimumStock,
java.util.ListIterator<GenericValue> listIterIEP)
public java.lang.String create(DispatchContext ctx,
GenericValue userLogin)
ctx - The DispatchContext used to call service to create the Requirement Entity record.
public void setMrpName(java.lang.String mrpName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||