public class Oportunity extends DBPersist
Sales Oportunity
Modifier and Type | Field and Description |
---|---|
static short |
ClassId |
Constructor and Description |
---|
Oportunity() |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(JDCConnection oConn)
Delete a register from database
The deleted register will be the one matching this DBPersist primary key,
as set at constructor or load() method.
|
static boolean |
delete(JDCConnection oConn,
java.lang.String sOportunityGUID)
Delete Oportunity
Call k_sp_del_oportunity stored procedure
|
boolean |
store(JDCConnection oConn)
Store Oportunity
Fields gu_oportunity, dt_modified, tx_contact and tx_company are automatically filled if not given
|
allcaps, allcaps, clear, clone, columns, containsKey, containsValue, 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 static final short ClassId
public boolean store(JDCConnection oConn) throws java.sql.SQLException
Store Oportunity
Fields gu_oportunity, dt_modified, tx_contact and tx_company are automatically filled if not givenpublic boolean delete(JDCConnection oConn) throws java.sql.SQLException
DBPersist
Delete a register from database
The deleted register will be the one matching this DBPersist primary key, as set at constructor or load() method.
public static boolean delete(JDCConnection oConn, java.lang.String sOportunityGUID) throws java.sql.SQLException
oConn
- Database ConnectionsOportunityGUID
- GUID of Oportunity to be deleted.java.sql.SQLException