public interface InventoryModel
extends org.jbundle.model.db.Rec
| Modifier and Type | Field and Description |
|---|---|
static String |
AVAILABLE |
static String |
BLOCKED |
static String |
CLASS_ID |
static String |
CLOSED |
static String |
INV_DATE |
static String |
INV_DATE_KEY |
static String |
INVENTORY_FILE |
static String |
NO_CLASS |
static int |
NO_INVENTORY |
static String |
NO_OTHER |
static String |
NO_RATE |
static String |
OTHER_ID |
static String |
OVERSELL |
static String |
PRODUCT_ID |
static String |
PRODUCT_TYPE_ID |
static String |
RATE_ID |
static String |
THICK_CLASS |
static String |
THIN_CLASS |
static String |
USED |
| Modifier and Type | Method and Description |
|---|---|
InventoryModel |
getAvailability(ProductModel recProduct,
Date dateTarget,
int iRateID,
int iClassID,
int iOtherID)
GetAvailability Method.
|
int |
removeInventory(org.jbundle.model.db.Field fldTrxID)
Remove the inventory for this BookingDetail trxID.
|
int |
removeTrxs(org.jbundle.model.db.Field fldTrxID,
Set<Integer> setSurvey)
Remove the transactions contained in this map.
|
Set<Integer> |
surveyInventory(org.jbundle.model.db.Field fldTrxID)
Get all the transaction IDs for this BookingDetail trx ID.
|
int |
updateAvailability(int iTargetAmount,
org.jbundle.model.db.Field fldTrxID,
int iType,
boolean bDelete,
Set<Integer> setSurvey)
For the current record, update the availability using this amount
|
addField, addKeyArea, addPropertyChangeListener, clone, doRecordChange, firePropertyChange, getCounterField, getDatabaseName, getDatabaseType, getDefaultOrder, getEditMode, getField, getField, getFieldCount, getKeyArea, getKeyAreaCount, getKeyName, getOpenMode, getOwner, getRemoteClassName, getString, getTable, getTableNames, getTask, init, initRecord, isAutoSequence, isModified, isQueryRecord, makeScreen, refreshToCurrent, removeField, removeKeyArea, removePropertyChangeListener, setAutoSequence, setEditMode, setKeyArea, setKeyName, setOpenMode, setOwner, setTable, setTableNames, size, toStringstatic final String PRODUCT_TYPE_ID
static final String PRODUCT_ID
static final String RATE_ID
static final String CLASS_ID
static final String OTHER_ID
static final String INV_DATE
static final String BLOCKED
static final String USED
static final String AVAILABLE
static final String OVERSELL
static final String CLOSED
static final String INV_DATE_KEY
static final int NO_INVENTORY
static final String NO_OTHER
static final String NO_CLASS
static final String NO_RATE
static final String INVENTORY_FILE
static final String THIN_CLASS
static final String THICK_CLASS
InventoryModel getAvailability(ProductModel recProduct, Date dateTarget, int iRateID, int iClassID, int iOtherID)
Set<Integer> surveyInventory(org.jbundle.model.db.Field fldTrxID)
int updateAvailability(int iTargetAmount,
org.jbundle.model.db.Field fldTrxID,
int iType,
boolean bDelete,
Set<Integer> setSurvey)
iTargetAmount - Amount to reduce the inventory by.fldTrxID - The (BookingDetail) trx to tie this inventory toiType - Option type (ie., room type)bDelete - If true, delete this inventorymapSurvey - If a changed transaction is contained in this map, remove itint removeTrxs(org.jbundle.model.db.Field fldTrxID,
Set<Integer> setSurvey)
int removeInventory(org.jbundle.model.db.Field fldTrxID)
Copyright © 2013 tourapp.com. All Rights Reserved.