Package | Description |
---|---|
org.sistema.cs.doc.persist |
Classes and interfaces based on the Persistent framework/library
modeling generic documents.
|
org.sistema.cs.sale.persist |
Classes and interfaces based on the Persistent framework/library
modeling sales related documents.
|
Modifier and Type | Method and Description |
---|---|
IItem |
DocItem.getChild() |
IItem |
IDocItem.getChild()
Retrieves the item, child of the document.
|
IItem |
IItemPerc.getParent()
Retrieves the item to which value this percentage affects.
|
IItem |
ItemPerc.getParent() |
IItem |
IItemRelation.getSource() |
IItem |
ItemRelation.getSource() |
IItem |
IItemRelation.getTarget() |
IItem |
ItemRelation.getTarget() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Iterable<IItem> |
DocUtilities.getItems(IDocItemized document)
Builds an array with every
IItem on the invoice. |
Modifier and Type | Method and Description |
---|---|
static java.math.BigDecimal |
DocUtilities.getPercentageAmount(IItem item,
java.math.BigDecimal baseAmount,
java.math.BigDecimal runningSum,
java.lang.Integer percentageId) |
static IItemPerc |
DocUtilities.readPercentage(IItem i,
byte typeId,
int order)
Retrieves the percentage of a given type from an item.
|
void |
DocItem.setChild(IItem child) |
void |
IDocItem.setChild(IItem child)
Sets the item, child of the document.
|
void |
IItemPerc.setParent(IItem i)
Sets the item to which value this percentage affects.
|
void |
ItemPerc.setParent(IItem parent) |
void |
IItemRelation.setSource(IItem source)
Sets the source item of the relationship.
|
void |
ItemRelation.setSource(IItem source) |
void |
IItemRelation.setTarget(IItem target)
Sets the target item of the relationship.
|
void |
ItemRelation.setTarget(IItem target) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IItem> |
COrder.getUninvoiced() |
java.util.Collection<IItem> |
ICOrder.getUninvoiced()
Retrieves the uninvoiced items.
|
protected java.util.Collection<IItem> |
COrder.getUninvoicedRD(java.util.Collection<IDocItem> rd)
Reads un-invoiced items
from a collection of related documents.
|
protected java.util.Collection<IItem> |
COrder.getUninvoicedRI(java.util.Collection<IItemRelation> ri)
Reads un-invoiced items from items related to a cOrder item.
|