public class OrderLine extends DBPersist
Constructor and Description |
---|
OrderLine() |
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
computeTotal()
Compute line total from base price, number of units and taxes
If is_tax_included==1 Or is_tax_included is null Then pct_tax_rate is applied Else it is ignored
|
boolean |
store(JDCConnection oConn)
Store order line
This method updated k_orders.dt_modified to current datetime as a side effect
|
allcaps, allcaps, clear, clone, columns, containsKey, containsValue, delete, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getIntArray, getInteger, getIntegerArray, getIntervalPart, getItemMap, getItems, getMoney, getPrimaryKey, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTime, getTimeOfDay, getTimestamp, isEmpty, isNull, iterator, keySet, load, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, setPrimaryKey, size, toLowerCase, toUpperCase, toXML, toXML, toXML, values
public boolean store(JDCConnection oConn) throws java.sql.SQLException
Store order line
This method updated k_orders.dt_modified to current datetime as a side effectpublic java.math.BigDecimal computeTotal()
Compute line total from base price, number of units and taxes
If is_tax_included==1 Or is_tax_included is null Then pct_tax_rate is applied Else it is ignored