public class COrder extends SaleDocument implements ICOrder
A customer order is a sale document with the following additions:
Constructor and Description |
---|
COrder() |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getDeliveryDate()
Retrieves the agreed delivery date for the goods.
|
java.util.Collection<IItem> |
getUninvoiced()
Retrieves the uninvoiced items.
|
protected java.util.Collection<IItem> |
getUninvoicedRD(java.util.Collection<IDocItem> rd)
Reads un-invoiced items
from a collection of related documents.
|
protected java.util.Collection<IItem> |
getUninvoicedRI(java.util.Collection<IItemRelation> ri)
Reads un-invoiced items from items related to a cOrder item.
|
void |
setDeliveryDate(java.util.Date d)
Sets the agreed delivery date for the goods.
|
getAgent, getPercentageAmount, getPercentageAmount, getPercentageAmount, getSaleTerm, getSubtotal, getTotal, setAgent, setSaleTerm
add, add, clearItems, getAmount, getDocItems, setDocItems, toString
add, addSource, addTarget, getCurrency, getDate, getEntry, getId, getNumber, getRelatedDocs, getStatus, getTime, getType, isStatus, setCurrency, setDate, setEntry, setId, setNumber, setStatus, setTime, setType
addAttribute, addAttribute, equals, getAttribute, getAttributeMaximumLength, getAttributeMinimumLength, getAttributeValue, getField, getFieldFlagValue, getFieldNames, getFields, getFieldsUnsavedElements, getFieldValue, getPrimaryKey, getValue, hasUnsavedElements, isAttributeEditable, isAttributeRequired, isAttributeVisible, isAttributeVisible, isDeletable, isDeleted, isEditable, isFieldModified, isFieldState, isModified, isModifiedBase, isNew, setAttributeValue, setDeletable, setDeleted, setFieldFlag, setFieldState, setFieldValue, setNew
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAgent, getSaleTerm, setAgent, setSaleTerm
add, add, clearItems, getDocItems, setDocItems
getAmount, getCurrency, getPercentageAmount, getPercentageAmount, getPercentageAmount, getSubtotal, getTotal, setCurrency
public java.util.Date getDeliveryDate()
ICOrder
getDeliveryDate
in interface ICOrder
public void setDeliveryDate(java.util.Date d)
ICOrder
setDeliveryDate
in interface ICOrder
public java.util.Collection<IItem> getUninvoiced()
ICOrder
getUninvoiced
in interface ICOrder
protected java.util.Collection<IItem> getUninvoicedRD(java.util.Collection<IDocItem> rd)
rd
- documents related to a cOrder itemprotected java.util.Collection<IItem> getUninvoicedRI(java.util.Collection<IItemRelation> ri)
ri
-