public class CRMBOInventoryDefinitionBean extends CRMBODefinition
| Constructor and Description |
|---|
CRMBOInventoryDefinitionBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWarehouseType type)
Checks if a warehouse type exist in definition.
|
boolean |
existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWarehouseType type,
java.lang.Boolean isDirectSale)
Checks if a warehouse type exist in definition.
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of an inventory definition.
|
com.crm.dataobject.inventory.CRMDOInventoryDefinition |
validateWarehouseTypeUniqueness(com.crm.dataobject.inventory.CRMDOInventoryDefinition inventoryDefinition,
java.lang.String typeName)
Validates the uniqueness of an inventory definition allowed warehouse types.
|
activeDefinitionExists, loadActiveDefinition, loadActiveDefinition, loadInactiveDefinitions, save, setActiveDefinition, validateOnDeleteisDefault, loadDefault, setDefaultconstruct, construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, isAssignable, load, load, load, load, load, load, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, loadAllEntityStatusDO, loadAllEntityStatusDO, loadDataObject, loadDataObject, loadDataObject, loadDataObjects, loadDataObjects, loadEntityCategoryDO, loadEntityCategoryDO, loadEntityDO, loadEntityDO, loadEntityStatusDO, loadEntityStatusDO, parseAssociations, parseAssociations, parseAssociations, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateApprovalRequestEntity, validateFormatSettings, validateFormatSettings, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSavedeepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContextpublic CRMBOInventoryDefinitionBean()
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations in class CRMBOConfigurationEntitypublic com.crm.dataobject.inventory.CRMDOInventoryDefinition validateWarehouseTypeUniqueness(com.crm.dataobject.inventory.CRMDOInventoryDefinition inventoryDefinition,
java.lang.String typeName)
throws java.lang.Exception
inventoryDefinition - - the inventory definition to validatetypeName - - an inventory definition allowed warehouse namejava.lang.Exceptionpublic boolean existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWarehouseType type)
throws java.lang.Exception
warehouse - - the warehouse to check the type ofclassification - - the warehouse type classificationtype - - the warehouse type inventory definition typejava.lang.Exceptionpublic boolean existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWarehouseType type,
java.lang.Boolean isDirectSale)
throws java.lang.Exception
warehouse - - the warehouse to check the type ofclassification - - the warehouse type classificationtype - - the warehouse type inventory definition typeisDirectSale - - indicates if the warehouse is used for direct or indirect salesjava.lang.Exception