com.ibm.commerce.inventory.commands
Class ReceiptCreateCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.ControllerCommandImpl
                    |
                    +--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
                          |
                          +--com.ibm.commerce.inventory.commands.ReceiptCreateCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECConstants, ECTargetableCommand, ECToolsConstants, ReceiptCreateCmd, ToolsControllerCommand

public class ReceiptCreateCmdImpl
extends ToolsControllerCommandImpl
implements ReceiptCreateCmd, ECConstants, ECToolsConstants

Default implementation of the ReceiptCreateCmd interface. Creates an expected inventory receipt or ad hoc receipt. If the expected inventory record detail identifier is provided, an expected inventory receipt will be created. Otherwise, an ad hoc receipt will be created.

This controller command calls the CreateReceiptCmd task command. If a redirect URL is not provided, ReceiptCreateRedirectView will be called upon successful completion, and ReceiptCreateErrorView upon failure.

Uses the StoreEntityAccessBean and ItemFulfillmentCenterAccessBean.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
 
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.inventory.commands. ReceiptCreateCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.server. ECConstants
ACT_READ, ACT_WRITE, CFG_MERCHANT_KEY, EC_ACC_ALL_RESOURCES, EC_ACC_CONTROLLER, EC_ACC_DEFAULT_POLICYMANAGER_CLASSNAME, EC_ACC_DEFAULT_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_ACC_VIEW, EC_ADDR_PERMANENT, EC_ADDR_RN, EC_ADDR_TEMPORARY, EC_ADDRESS, EC_ADDRESSBOOK, EC_ADMIN_USER_TYPE, EC_ATTACH_AURL, EC_ATTACH_CFG_CMD_FILEEXT, EC_ATTACH_CFG_CMD_MAXSIZE, EC_ATTACH_CFG_CMD_NAME, EC_ATTACH_CFG_CMD_RETURNURL, EC_ATTACH_CFG_CMD_VIRUSCHK, EC_ATTACH_CFG_MAXSIZE, EC_ATTACH_DOT, EC_ATTACH_ErrorURL, EC_ATTACH_FILENAME, EC_ATTACH_FilePath, EC_ATTACH_ID, EC_ATTACH_MIMETYPE, EC_ATTACH_MIMETYPE_EXTENSION, EC_ATTACH_MIMETYPE_TYPE, EC_ATTACH_POUND, EC_ATTACH_QUESTION, EC_ATTACH_RefCommand, EC_ATTACH_ReName, EC_ATTACH_returnURL, EC_ATTACH_UPLOAD, EC_ATTACH_XML, EC_BAD_PARAM, EC_BC_ENDTIME, EC_BC_JOBNBR, EC_BC_STATE, EC_BILLTO, EC_BOUNDARY, EC_BUNDLE_BEAN, EC_BUSINESS_ENTITIES_NODE, EC_BYPASS_ACCESS_CHECK_FOR_OPEN_STORE, EC_CACHE_AUTOPAGEINVALIDATION, EC_CACHE_CACHE, EC_CACHE_CACHEABLEURL, EC_CACHE_CLEANUP_FILENAME, EC_CACHE_CLEANUP_SUBDIR, EC_CACHE_CLEANUPAGENTHOSTNAME, EC_CACHE_CLEANUPAGENTPORT, EC_CACHE_CLEANUPPOLLINGINTERVAL, EC_CACHE_CONNECTIONTIMEOUT, EC_CACHE_DAEMONBINDADDRESS, EC_CACHE_DAEMONMAXTHREADS, EC_CACHE_DAEMONPORT, EC_CACHE_DEL_HASHKEY, EC_CACHE_DEL_HASHVALUE, EC_CACHE_DEL_MEMBERKEY, EC_CACHE_DEL_MEMBERVALUE, EC_CACHE_DEL_URLNAME, EC_CACHE_DIRSPERMEMBER, EC_CACHE_DYNACACHE, EC_CACHE_ENABLED, EC_CACHE_FILEPATH, EC_CACHE_HASHKEY, EC_CACHE_ISMANDATORY, EC_CACHE_KEY, EC_CACHE_KEYNAME, EC_CACHE_KEYSET, EC_CACHE_MAXALLOWEDREFRESHPERIOD, EC_CACHE_MAXOBJECTSPERMEMBER, EC_CACHE_MEMBERKEY, EC_CACHE_NAME, EC_CACHE_SESSIONDEPENDENT, EC_CACHE_STORECLASSNAME, EC_CACHE_WEBAPPPATH, EC_CATALOG_ENTRY_ID, EC_CATALOG_ID, EC_CATALOG_MASSOC_TYPE_REPLACEMENT, EC_CATEGORIES, EC_CATEGORY_ID, EC_CATEGORY_IDENTIFIER, EC_CATEGORY_NAME, EC_CC_NUMBER, EC_CC_TYPE, EC_CCV_CODE, EC_CCX_MONTH, EC_CCX_YEAR, EC_CFG_AUTHENTICATIONMODE, EC_CFG_CFG_FILE_PATH, EC_CFG_CMD_CHAIN_DEF_FILE, EC_CFG_CMD_EXEC_EVENT_FILE, EC_CFG_CMD_PASSWORD_PROT_RETRIES, EC_CFG_CMD_PASSWORD_PROTECTION, EC_CFG_COOKIE, EC_CFG_COOKIE_ACCEPTANCE, EC_CFG_COOKIE_DOMAIN, EC_CFG_COOKIE_ENCRYPT, EC_CFG_COOKIE_PATH, EC_CFG_COOKIE_PERSIST, EC_CFG_COOKIE_SSL_CHECK, EC_CFG_COOKIE_SSLAUTH, EC_CFG_COOKIE_TRACE, EC_CFG_ENABLE_HTTP_PARM_ENCRYPT, EC_CFG_ENABLE_HTTPS_PARM_ENCRYPT, EC_CFG_ENABLED, EC_CFG_FALSE, EC_CFG_IN_NON_SSL_PORT, EC_CFG_IN_SSL_PORT, EC_CFG_LOGIN_TIMEOUT, EC_CFG_MEMBER_DIR, EC_CFG_MEMBER_MEMBERROLES_FILE_BASE_NAME, EC_CFG_MEMBER_MEMBERROLES_FILE_EXT, EC_CFG_MEMBERROLESFILENAME, EC_CFG_NAME, EC_CFG_NON_SSLPORT, EC_CFG_OUT_NON_SSL_PORT, EC_CFG_OUT_SSL_PORT, EC_CFG_PASSWORD_INVALIDATION, EC_CFG_POLICYMANAGER_CLASSNAME, EC_CFG_POLICYMANAGER_CREATEINSTANCE_METHOD, EC_CFG_SECURITY_ENABLED, EC_CFG_SECURITY_REALM, EC_CFG_SECURITY_RUN_AS_PWD, EC_CFG_SECURITY_RUN_AS_UID, EC_CFG_SSL_ACCELERATOR_OPTION, EC_CFG_SSLPORT, EC_CFG_STOREWEBMODULENAME, EC_CFG_TRUE, EC_CFG_URLMAPPER, EC_CFG_URLREWRITE, EC_CFG_VALUE, EC_CFG_WAS_PERSIST, EC_CFG_WCS_PERSIST, EC_CFG_WEB_ATTR_CONTEXTPATH, EC_CFG_WEB_ATTR_FILESERVLETENABLED, EC_CFG_WEB_ATTR_NAME, EC_CFG_WEB_ATTR_URLMAPPINGPATH, EC_CFG_WEB_ATTR_WEBALIAS, EC_CFG_WEB_MODULE, EC_CFG_WEBMODULE, EC_CFG_WEBSERVER, EC_CFG_WEBSPHERE, EC_CFG_X_SITE_SCRIPT, EC_CFG_X509, EC_CHANNELSTOREID, EC_CHANNELSTOREORDERSTATUS, EC_CLEAR_FOR_USER, EC_CMDBEAN, EC_COLLAB_BASE_DN, EC_COLLAB_ENABLE, EC_COLLAB_LDAP_ADMIN, EC_COLLAB_LDAP_HOSTNAME, EC_COLLAB_LDAP_PASSWORD, EC_COLLAB_LDAP_PORT, EC_COLLAB_QP_COLLABADMIN_LOGON, EC_COLLAB_QP_COLLABADMIN_PASSWORD, EC_COLLAB_QP_DOMAIN, EC_COLLAB_QP_HOST, EC_COLLAB_QP_HTTP_PORT, EC_COLLAB_QP_HTTPS_PORT, EC_COLLAB_QP_LOCALE, EC_COLLAB_QP_QPADMIN_LOGON, EC_COLLAB_QP_QPADMIN_PASSWORD, EC_COLLAB_QP_SERVLET_URL_PATH, EC_COLLAB_QP_USE_SSL, EC_COLLAB_WEBSERVER_HOSTNAME, EC_COMMAND_CHAIN_NAME, EC_COMMANDCONTEXT, EC_COMMENT, EC_COMPONENT, EC_COMPONENT_CLASS, EC_COMPONENT_ENABLE, EC_COMPONENT_HTTPWEBCONTROLLER, EC_COMPONENT_NAME, EC_COMPONENT_PROPERTY, EC_COMPONENTS, EC_CONF_MSLOGNAME, EC_CONF_MSLOGTYPE, EC_CONF_TRACE_MASK, EC_CONTENT_DISP, EC_CONTENT_TYPE, EC_CONTENTLENGTH, EC_CONTENTTYPE, EC_CONTEXT_PATH, EC_CONTRACT_CMD_GET_ELIGIBLE_TA_IDS, EC_CONTRACT_ID, EC_COOKIE_ERROR_VIEW, EC_COOKIE_ExternalReferrer, EC_CORRUPT_CONTENT_DISP, EC_CORRUPT_DATA_END, EC_CRLF, EC_CT_XML_ATTR_ENABLE, EC_CT_XML_ATTR_EVENT_GENERATOR, EC_CT_XML_ATTR_INTERFACENAME, EC_CT_XML_ATTR_NAME, EC_CT_XML_ATTR_STOREID, EC_CT_XML_ATTR_TYPE, EC_CT_XML_ATTRVAL_ENTRY, EC_CT_XML_ATTRVAL_EXCEPTION, EC_CT_XML_ATTRVAL_EXECUTION, EC_CT_XML_ATTRVAL_EXIT, EC_CT_XML_ELE_COMMANDTRIGGERS, EC_CT_XML_ELE_TRIGGER, EC_CURRCONTRACTS_ID, EC_CURRENCY_ID, EC_CURRENCY_SYM, EC_DATABEAN_DEEPFETCH, EC_DDKEY, EC_DECRYPTEDREQPROP, EC_DEFAULT_ATTRIBUTE_VAL_LANGUAGE, EC_DEFAULT_CRLF, EC_DEFAULT_INIT_TRANSACTION_TIMEOUT, EC_DEFAULT_STORE_ALIAS, EC_DEFAULT_TRANSACTION_TIMEOUT, EC_DISPLAY_BEAN, EC_DOCPATHNAME, EC_DYNACACHE_CACHEABLEURL, EC_DYNACACHE_CACHECOMMAND, EC_DYNACACHE_CCKEY, EC_DYNACACHE_CLEANUPPOLLINGINTERVAL, EC_DYNACACHE_ENABLED, EC_DYNACACHE_ID, EC_DYNACACHE_INVALIDATION, EC_DYNACACHE_ISMANDATORY, EC_DYNACACHE_KEY, EC_DYNACACHE_KEYNAME, EC_DYNACACHE_KEYSET, EC_DYNACACHE_MAXALLOWEDREFRESHPERIOD, EC_DYNACACHE_NAME, EC_DYNACACHE_PRIMARYKEY, EC_DYNACACHE_PRIORITY, EC_DYNACACHE_SECONDARYKEY, EC_DYNACACHE_SESSIONDEPENDENT, EC_DYNACACHE_STORETYPE, EC_DYNACACHE_TIMEOUT, EC_ELGBCONTRACTS_ID, EC_EMPTY_STRING, EC_ENABLE_DOUBLE_CLICK_HANDLER, EC_END_STR, EC_ERROR_CODE, EC_ERROR_JSP_NAME, EC_ERROR_VIEWNAME, EC_ERRORCODE, EC_ERRORSTRING, EC_EXC_CONTENT_TYPE_ERR, EC_EXC_MALFORM_LINE, EC_EXCEPTION, EC_FIELD1, EC_FIELD2, EC_FIELD3, EC_FILESIZE, EC_FOR_STORE_ID, EC_FOR_USER, EC_FOR_USER_ID, EC_FORCED_PASSWORD_CHANGE_PAGE, EC_FORM_DATA_STR, EC_FRAME_SUPPORTED, EC_GENERIC_APP_ERROR_VIEW, EC_GENERIC_APPLICATION_ERROR_PAGE, EC_GENERIC_CMD, EC_GENERIC_DIRECTVIEW, EC_GENERIC_ERROR_PAGE, EC_GENERIC_FORWARDVIEW, EC_GENERIC_HTTPS_REDIRECTVIEW, EC_GENERIC_LOGONFORM, EC_GENERIC_PVCTIMEOUTFORM, EC_GENERIC_REDIRECTVIEW, EC_GENERIC_SYS_ERROR_VIEW, EC_GENERIC_USER_ID, EC_GENERIC_USER_REFNUM, EC_GENERIC_USER_TIMESTAMP, EC_GENERIC_USER_TYPE, EC_HTTP_DEVFMT, EC_HTTP_DEVFMTID_BROWSER, EC_HTTP_DEVFMTNAME_BROWSER, EC_HTTP_DEVFMTNAME_PVC, EC_HTTP_DEVFMTS, EC_HTTP_DEVFMTTYPID_BROWSER, EC_HTTP_DEVFMTTYPID_PVC, EC_HTTP_DEVFMTTYPID_XML, EC_HTTP_HDR_CACHE_CONTROL, EC_HTTP_ReferrerHeader, EC_HTTP_VALUE_PRIVATE, EC_HTTPADAPTER, EC_HTTPADAPTERS, EC_HTTPWEBCONTROLLER, EC_IBM_ENETWORK_30, EC_IILIST_ATTR_NAME, EC_IILIST_ATTR_VALUE, EC_IILIST_DISPLAYSEQ, EC_IILIST_FIELD1, EC_IILIST_FIELD2, EC_IILIST_FIELD3, EC_IILIST_ID, EC_IILIST_ID_NAME, EC_IILIST_MEMBER_ID, EC_IILIST_UOM, EC_IMERCHANT, EC_IN_IILIST_ID, EC_IN_IILIST_ID_NAME, EC_IN_IILIST_MEMBER_ID, EC_INIT_PARM_CONFIGFILE, EC_INIT_PARM_INSTANCENAME, EC_INIT_TRANSACTION_TIMEOUT, EC_INPUT_STREAM, EC_INSTANCE_INSTALL_DIR, EC_INSTANCE_NAME, EC_INVALID_CONTENT_DISP, EC_INVALID_PARM, EC_ITEM_BEAN, EC_JDBC_JNDINAME, EC_JSP_ADDR_ADD, EC_JSP_ADDR_UPDATE, EC_JSP_CHECK_INV_ERR, EC_JSP_COM_ERR, EC_JSP_LOGON_DSP, EC_JSP_ORD_DSP_COM, EC_JSP_ORD_DSP_PEN, EC_JSP_ORD_LST_COM, EC_JSP_ORD_LST_PEN, EC_JSP_ORD_OK, EC_JSP_PWD_ADMIN, EC_JSP_PWD_RESET, EC_JSP_PWD_UPDATE, EC_JSP_PWD_USER_AUTH, EC_JSP_REG_NEW, EC_JSP_REG_UPDATE, EC_JSP_SHIPTO_ASSOC, EC_JSP_SHIPTO_DSP, EC_JSP_SHIPTO_LST, EC_JSP_SHOPCART_DSP, EC_JSP_STORE_DIR, EC_KRYPTO, EC_LANGUAGE_ID, EC_LDAP_OP_ONE_WAY, EC_LDAP_OP_TWO_WAY, EC_LDAP_OP_UNAVAIL, EC_LOCAL_HOST, EC_LOGIN_DEFAULT_TIMEOUT_VALUE, EC_LOGIN_RETURN_URL, EC_LOGIN_TIMEOUT, EC_LOGIN_TIMEOUT_ERROR_MSGCODE, EC_LOGIN_TIMEOUT_ERROR_VIEW, EC_LOGIN_TIMEOUT_VALUE, EC_LOGON_FAILED, EC_LOTUS_DOMINO_50, EC_MALLFOOT, EC_MALLHEAD, EC_MBRGRP_CUSTOMER, EC_MBRGRP_CUSTOMER_AGENT, EC_MBRGRP_SITE_ADMIN, EC_MBRGRP_STORE_ADMIN, EC_MBRGRPTYPE_ACCESS_GROUP, EC_MBRGRPTYPE_USER_GROUP, EC_MEMBER_ATTRIBUTES_NODE, EC_MEMBER_AUTHENTICATIONMODE, EC_MEMBER_ID, EC_MERCHANT_KEY, EC_MERCHANT_PRODUCT, EC_MERCHANTFOOT, EC_MERCHANTHEAD, EC_MERCHANTKEY, EC_MISS_SEP_BOUNDARY, EC_MM_CFG_CLASS, EC_MM_CFG_CONFIGURATION, EC_MM_CFG_ID, EC_MM_CFG_NAME, EC_MQWEBCONTROLLER, EC_MULTIPART_FORM, EC_NETSCAPE_DIR_40, EC_NO_LEAD_BOUNDARY, EC_NO_STOREID, EC_NODE_CHILDREN, EC_NODE_NAME, EC_NONENCRYPTED_PARAM_NAME, EC_NONENCRYPTED_PARAMETER, EC_NONENCRYPTED_PARAMETERS, EC_NONHTTPADAPTER, EC_NONHTTPADAPTERS, EC_NULLSTRING, EC_OCTET_STREAM_STR, EC_ORDER_RN, EC_ORDER_STATE, EC_ORDERITEM_RN, EC_ORDERLISTSUMMARY, EC_ORDERSUMMARY, EC_ORDERTOTALS, EC_ORGS_ROLES_DEFAULT_ORGENTITY, EC_ORGS_ROLES_DEFAULT_REGISTRATION_TYPE, EC_ORGS_ROLES_NODE, EC_ORGS_ROLES_ORG_NODE, EC_ORGS_ROLES_PARENT_ORGENTITY, EC_ORIGINATING_COMMAND, EC_OUT_IILIST_DESC, EC_OUT_IILIST_ID, EC_OUT_IILIST_ID_NAME, EC_PACKAGE_BEAN, EC_PARORG_ID, EC_PASSWORD, EC_PASSWORD_EXPIRED_FLAG, EC_PASSWORD_PROTECTED_CMD, EC_PASSWORD_PROTECTED_CMDS, EC_PASSWORD_REREQUEST_CHECKRESULT, EC_PASSWORD_REREQUEST_ERRORVIEW, EC_PASSWORD_REREQUEST_FOR_CMD, EC_PASSWORD_REREQUEST_MSGCODE, EC_PASSWORD_REREQUEST_PASSWORD1, EC_PASSWORD_REREQUEST_PASSWORD2, EC_PASSWORD_REREQUEST_URL, EC_PASSWORD_REREQUEST_VIEW, EC_PAYINFO_ORDER_RN, EC_PAYINFO_URL, EC_PAYMTHDID, EC_PRC_CURRENCY, EC_PRC_FIELD1, EC_PRC_FIELD2, EC_PRC_MERCHANT_REF_NUM, EC_PRC_PRECEDENCE, EC_PRC_PRICE, EC_PRC_PRICE_REF_NUM, EC_PRC_PRODUCT_REF_NUM, EC_PRC_SHOPPER_GROUP_REF_NUM, EC_PRC_TIME_BEGIN, EC_PRC_TIME_END, EC_PRODUCT, EC_PRODUCT_BEAN, EC_PRODUCT_ID, EC_PRODUCT_SKU, EC_PRODUCTS, EC_PROHIB_CHAR_ENCODING_ATT, EC_PROHIB_CHAR_ENCODING_CMD, EC_PROHIB_CHARS_ENCODING, EC_PROHIB_CHARS_ENCODING_ERROR_PAGE, EC_PROHIBITED_ATTR, EC_PROHIBITED_ATTR_ERROR_PAGE, EC_PROHIBITED_ATTRIBUTES, EC_PROHIBITED_CHAR, EC_PROHIBITED_CHAR_ERROR_PAGE, EC_PROHIBITED_CHARS, EC_PROPERTIES, EC_PROPERTIES_DATABASE, EC_PROPERTIES_DB, EC_PROPERTIES_DBACTIVE, EC_PROPERTIES_DBACTIVE_VALUE, EC_PROPERTIES_DBMS_NAME, EC_PROPERTIES_INSTANCE, EC_PROTECTED_PARAM_NAME, EC_PROTECTED_PARAM_VALUE, EC_PROTECTED_PARAMETER, EC_PROTECTED_PARAMETERS, EC_PROTECTED_VIEW, EC_PROTECTED_VIEW_NAME, EC_PROTECTED_VIEWS, EC_PVC_ADDRESS1, EC_PVC_ADDRESS2, EC_PVC_ADDRTYPE1, EC_PVC_ADDRTYPE2, EC_PVC_ALREADY_REGISTERED, EC_PVC_B_ERR, EC_PVC_B_EXEC, EC_PVC_B_NEW, EC_PVC_B_NO, EC_PVC_B_UPDATE, EC_PVC_B_URL, EC_PVC_BROWSER, EC_PVC_BUF_ACTION, EC_PVC_BUF_TIMEOUT, EC_PVC_LOGONSTATUS, EC_PVC_MULTIPLE_DEVICE, EC_PVC_REENTPW, EC_PVC_REENTPW_FORM, EC_PVC_SINGLE_DEVICE, EC_PVC_USER_ALREADY_REGISTERED, EC_PVCADAPTER, EC_PVCADAPTERS, EC_PVCMODE_ACCEPT, EC_PVCMODE_REENTER_PWD, EC_PVCMODE_REJECT, EC_QUANTITY, EC_QUERYSTRING_DELIM, EC_RAWDOCUMENT, EC_REDIRECTURL, EC_REG_PARENTS_NODE, EC_REGISTRIES, EC_REGISTRY, EC_REGISTRY_CAPACITY, EC_REGISTRY_CLASS, EC_REGISTRY_DEFAULT_SIZE, EC_REGISTRY_ELEMENT_ADD, EC_REGISTRY_ELEMENT_DELETE, EC_REGISTRY_ELEMENT_UPDATE, EC_REGISTRY_LOAD_FACTOR, EC_REGISTRY_MAX_SIZE, EC_REGISTRY_NAME, EC_REQ_DEFAULT_NON_SSL_PORT, EC_REQ_DEFAULT_SSL_PORT, EC_REQ_HTTP, EC_REQ_HTTPS, EC_REQHDR_HOST, EC_REQUEST_URI, EC_REQUESTPROPERTIES, EC_RETRIABLE_CMD, EC_RF_ACTION, EC_RF_ITEM_KEY, EC_RF_KEY, EC_RF_REGISTRY_NAME, EC_SCHED_APPLICATION_TYPE, EC_SCHED_APPLICATIONNAME, EC_SCHED_APPLICATIONTYPE, EC_SCHED_APPTYPE_BROADCAST, EC_SCHED_APPTYPE_DEFAULT, EC_SCHED_ATTEMPTS, EC_SCHED_AUTOCLEAN, EC_SCHED_BROADCAST, EC_SCHED_BROADCASTEXPIRETIME, EC_SCHED_CHKCMD_ID, EC_SCHED_CLONEID, EC_SCHED_COMMAND, EC_SCHED_CYCLETIME, EC_SCHED_DEFAULT_DELAYTIME, EC_SCHED_DELAY, EC_SCHED_END_TIME, EC_SCHED_HOST, EC_SCHED_HOSTNAME, EC_SCHED_INTERVAL, EC_SCHED_JOB_ACTIVE, EC_SCHED_JOB_DELETED, EC_SCHED_JOBINSTREFNUM, EC_SCHED_JOBREFNUM, EC_SCHED_MAXNUMOFTHREADS, EC_SCHED_NAME, EC_SCHED_ON, EC_SCHED_PARAMETERS, EC_SCHED_POLICY, EC_SCHED_POLICY_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_NOT_MAINTAIN_SEQUENCE, EC_SCHED_POLICY_RUNMISSEDJOBS, EC_SCHED_POLICY_SKIPMISSEDJOBS, EC_SCHED_PRIORITY, EC_SCHED_RESULT_FAILED, EC_SCHED_RESULT_SUCCESS, EC_SCHED_START_TIME, EC_SCHED_STATE, EC_SCHED_STATE_COMPLETED, EC_SCHED_STATE_COMPLETED_FAILED, EC_SCHED_STATE_IDLE, EC_SCHED_STATE_IDLE_FAILED, EC_SCHED_STATE_RUNNING, EC_SCHED_STATE_RUNNING_FAILED, EC_SCHED_STATE_WAITING, EC_SCS_ENDTIME, EC_SCS_INSTREFNUM, EC_SCS_JOBNBR, EC_SCS_QUEUE, EC_SCS_STATE, EC_SERVERPORT, EC_SERVLET_PATH, EC_SESSCONTRACTS_ID, EC_SESSION_ACCEPTVALUE, EC_SESSION_COOKIEACCEPT, EC_SESSION_ID, EC_SESSIONDATA_ID, EC_SHIPMODE_RN, EC_SHOPPINGCART, EC_SITE_DEFAULT_LANGID, EC_SITE_ORGANIZATION, EC_SITE_PROFILE_STOREID, EC_SITE_STORE_GROUP, EC_SITE_SUPPORTED_LANGIDS, EC_SQL_CURRENT_TIMESTAMP, EC_SS_STORE_CLOSE, EC_SS_STORE_LOCKED, EC_SS_STORE_OPEN, EC_SS_STORE_PENDING, EC_SSLCHECKCOOKIE_ID, EC_START_TIME, EC_START_TIME_NANOS, EC_STATUS, EC_STORE_DIR, EC_STORE_ENTITY_ID, EC_STORE_ID, EC_STOREREL_ACTIVE, EC_STOREREL_INACTIVE, EC_STR_EMPTY, EC_STRELTYP_BUSINESS_POLICY, EC_STRELTYP_CALCULATION_CODE, EC_STRELTYP_CAMPAIGNS, EC_STRELTYP_CATALOG, EC_STRELTYP_CHANNELSTORE, EC_STRELTYP_COMMAND, EC_STRELTYP_CURRENCY_CONVERSION, EC_STRELTYP_CURRENCY_COUNTERVALUE, EC_STRELTYP_CURRENCY_FORMAT, EC_STRELTYP_CURRENCY_SUPPORTED, EC_STRELTYP_EVENT, EC_STRELTYP_HOSTED_STORE, EC_STRELTYP_INVENTORY, EC_STRELTYP_MEASUREMENT_FORMAT, EC_STRELTYP_PRICE, EC_STRELTYP_REFERRAL, EC_STRELTYP_SEGMENTATION, EC_STRELTYP_STOREITEM, EC_STRELTYP_TAX, EC_STRELTYP_URL, EC_STRELTYP_VIEW, EC_TECHNOLOGY_JSP, EC_TECHNOLOGY_XML, EC_TEXTDOC_ENCODING, EC_TEXTDOCUMENT, EC_TIMEDOUT_USER_ID, EC_TIMEDOUT_USER_URL, EC_TIMESTAMP_PATTERN, EC_TRANSACTION_TIMEOUT, EC_TWENTY_ONE, EC_UID, EC_UNITIALIZED_COMMAND, EC_UNKNOWN_STR, EC_UOM, EC_UPDATEABLE, EC_UPLOADED_FILE, EC_URL, EC_URL_PATH_SEPARATOR, EC_USE_STORE_DIR, EC_USER, EC_USER_ADMINISTRATOR, EC_USER_ORG_ROLE_CONTEXT_VALUE_EXPLICIT, EC_USER_ORG_ROLE_CONTEXT_VALUE_PARENT, EC_USER_ORG_ROLE_CONTEXT_VALUE_STORE, EC_USER_ORG_ROLES_DN, EC_USER_ORG_ROLES_LDAP_LOGON_QUALIFIER, EC_USER_ORG_ROLES_MEMBER_ANCESTOR, EC_USER_ORG_ROLES_QUALIFIER, EC_USER_ORG_ROLES_ROLE_CONTEXT, EC_USER_ORG_ROLES_ROLE_NAME, EC_USER_ORG_ROLES_ROLE_NODE, EC_USER_ORG_ROLES_SSO_LOGON_QUALIFIER, EC_USER_ORG_ROLES_STORE_ANCESTOR, EC_USER_REGISTERED, EC_USER_ROLES_DEFAULT_REGISTRATION_TYPE, EC_USER_ROLES_NODE, EC_USER_ROLES_USER_NODE, EC_USER_SITE_ADMINISTRATOR, EC_USERNAME, EC_VIEWNAME, EC_VIEWTASKNAME, EC_WASSESSION_CONTRACTIDS, EC_WASSESSION_CURRENCYID, EC_WASSESSION_EXPIRYTIME, EC_WASSESSION_LANGID, EC_WASSESSION_LOCALE, EC_WASSESSION_LOGONTIME, EC_WASSESSION_STOREID, EC_WASSESSION_USERID, EC_WCS_SESSION_EXPIRED, EC_WCS_SESSION_EXPIRY, EC_WCS_SESSION_INFO, EC_WCS_SESSION_LAST_USER, EC_WCS_SESSION_LOGON, EC_WCS_SESSION_RELOGON, EC_WCS_SESSION_RELOGONURL, EC_WCS_SESSION_STATUS, EC_WCSADMIN, EC_WEBPATH, EC_WEBSERVER_HOSTNAME, EC_WILDCARD_CHAR, EC_X_SITE_SCRIPTING, EC_X509_ERROR_VIEW, UPLOAD_NO_CMD_INDEX
 
Fields inherited from interface com.ibm.commerce.tools.common. ECToolsConstants
EC_LINE_SEPARATOR, EC_TOOLS_FULFILLMENT_CENTER_ID, EC_TOOLS_MERCHANT_CENTER_URL, EC_TOOLS_STORE_LANGUAGE_URL, EC_TOOLS_STORES_ACCESS_CONTROL_REQUIRED, EC_TOOLS_STORES_EMPTY, EC_TOOLS_STORES_NO_ACCESS, EC_TOOLS_STORES_NOT_ADMINISTRATOR, EC_XML, EC_XMLFILE, EC_XMLFILEOBJECT, EC_XMLOBJECT, EC_XMLSTRING
 
Constructor Summary
ReceiptCreateCmdImpl()
           
 
Method Summary
protected  void checkIllegalArgumentException()
          Verifies that the receipt date is in timestamp format.
protected  void checkNumberFormatException()
          Verifies that the numeric fields are numeric.
protected  void checkParametersException()
          Checks the information of the receipt to be created.
 void createItemffmctr(java.lang.Long itemspcId)
          Adds a new row in itemffmctr table for this item, store and fulfillment center if row does not yet exist when the receipt is created.
 java.lang.String getComment1()
          Returns comment1 (receipt comment).
 java.lang.String getComment2()
          Returns comment2 (quality comment).
 java.lang.String getCost()
          Returns unit cost.
 java.lang.String getDistArrangId()
          Returns distribution arrangement identifier.
 java.lang.String getFfmcenterId()
          Return fulfillment center identifier.
 java.lang.String getItemspcId()
          Return item identifier.
 java.lang.String getMemberId()
          Return member identifier of the organization which owns the store.
 java.lang.String getPartNumber()
          Return part number.
 java.lang.String getQtyReceived()
          Return the quantity received.
 java.lang.String getRaDetailId()
          Return expected inventory record detail identifier.
 java.lang.String getRcptAvailId()
          Return the available receipt identifier.
 java.lang.String getReceiptDate()
          Return the inventory receipt date.
 java.lang.String getReceiptId()
          Return the receipt identifier.
 java.lang.String getReceiptType()
          Return type of receipt which indicates how this receipt was created.
  AccessVector getResources()
          Gets the access vector accessed by this command.
 java.lang.String getRtnRcptDspId()
          Return the disposition record identifier of the returned item.
 java.lang.String getSetCCurr()
          Return currency of the COST field.
 java.lang.String getVendorId()
          Return the identifier of the vendor that supplied the inventory.
 java.lang.String getVersionSpcId()
          Return the product version identifier of the specified item received.
protected  void handleSubmitError( ECException e)
          Constructs and returns the error message.
 void performExecute()
          Performs the execution of creating a receipt by calling CreateReceiptCmd.
 void setComment1(java.lang.String newComment1)
          Sets comment1 (receipt comment).
 void setComment2(java.lang.String newComment2)
          Sets comment2 (quality comment).
 void setCost(java.lang.String newCost)
          Sets unit cost.
 void setDistArrangId(java.lang.String newDistArrangId)
          Sets distribution arrangement identifier.
 void setFfmcenterId(java.lang.String newFfmcenterId)
          Sets fulfillment center identifier.
 void setItemspcId(java.lang.String newItemspcId)
          Sets item identifier.
 void setMemberId(java.lang.String newMemberId)
          Sets member identifier.
 void setPartNumber(java.lang.String newPartNumber)
          Sets the part number.
 void setQtyReceived(java.lang.String newQtyReceived)
          Sets the quantity received.
 void setRaDetailId(java.lang.String newRaDetailId)
          Sets expected inventory record detail identifier.
 void setRcptAvailId(java.lang.String newRcptAvailId)
          Sets available receipt identifier.
 void setReceiptDate(java.lang.String newReceiptDate)
          Sets the date the inventory was received.
 void setReceiptId(java.lang.String newReceiptId)
          Sets the receipt identifier.
 void setReceiptType(java.lang.String newReceiptType)
          Sets type of receipt which indicates how this receipt was created.
 void setRtnRcptDspId(java.lang.String newRtnRcptDspId)
          Sets the disposition record identifier of returned item.
 void setSetCCurr(java.lang.String newSetCCurr)
          Sets currency of the COST field.
 void setVendorId(java.lang.String newVendorId)
          Sets the identifier of the vendor that supplied the inventory.
 void setVersionSpcId(java.lang.String newVersionSpcId)
          Sets the product version identifier of the item.
 void validateParameters()
          Gets the information of receipt to be created and sets the information into the command local variable.
 
Methods inherited from class com.ibm.commerce.tools.command. ToolsControllerCommandImpl
getViewInputProperties, setRequestProperties
 
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
 

Field Detail
public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values
Constructor Detail

ReceiptCreateCmdImpl

public ReceiptCreateCmdImpl()
Method Detail

getComment1

public java.lang.String getComment1()
Returns comment1 (receipt comment).
Returns:
Receipt comment.
See Also:
setComment1(java.lang.String)

getComment2

public java.lang.String getComment2()
Returns comment2 (quality comment).
Returns:
Quality comment.
See Also:
setComment2(java.lang.String)

getCost

public java.lang.String getCost()
Returns unit cost.
Returns:
Unit cost.
See Also:
setCost(java.lang.String)

getDistArrangId

public java.lang.String getDistArrangId()
Returns distribution arrangement identifier.
Returns:
Distribution arrangement identifier.
See Also:
setDistArrangId(java.lang.String)

getFfmcenterId

public java.lang.String getFfmcenterId()
Return fulfillment center identifier.
Returns:
Fulfillment center identifier.
See Also:
setFfmcenterId(java.lang.String)

getItemspcId

public java.lang.String getItemspcId()
Return item identifier.
Returns:
Item specified identifier.
See Also:
setItemspcId(java.lang.String)

getMemberId

public java.lang.String getMemberId()
Return member identifier of the organization which owns the store.
Returns:
Member identifier.
See Also:
setMemberId(java.lang.String)

getPartNumber

public java.lang.String getPartNumber()
Return part number.
Returns:
Part number.
See Also:
setPartNumber(java.lang.String)

getQtyReceived

public java.lang.String getQtyReceived()
Return the quantity received.
Returns:
Quantity of the inventory item received.
See Also:
setQtyReceived(java.lang.String)

getRaDetailId

public java.lang.String getRaDetailId()
Return expected inventory record detail identifier.
Returns:
Identifier of the record detail for the expected inventory.
See Also:
setRaDetailId(java.lang.String)

getRcptAvailId

public java.lang.String getRcptAvailId()
Return the available receipt identifier.
Returns:
Identifier of the available receipt.
See Also:
setRcptAvailId(java.lang.String)

getReceiptDate

public java.lang.String getReceiptDate()
Return the inventory receipt date.
Returns:
Date the inventory was received.
See Also:
setReceiptDate(java.lang.String)

getReceiptId

public java.lang.String getReceiptId()
Return the receipt identifier.
Returns:
Identifier of the received inventory.
See Also:
setReceiptId(java.lang.String)

getReceiptType

public java.lang.String getReceiptType()
Return type of receipt which indicates how this receipt was created.
Returns:
Receipt type.
See Also:
setReceiptType(java.lang.String)

getRtnRcptDspId

public java.lang.String getRtnRcptDspId()
Return the disposition record identifier of the returned item.
Returns:
Disposition record identifier.
See Also:
setRtnRcptDspId(java.lang.String)

getSetCCurr

public java.lang.String getSetCCurr()
Return currency of the COST field.
Returns:
Currency.
See Also:
setSetCCurr(java.lang.String)

getVendorId

public java.lang.String getVendorId()
Return the identifier of the vendor that supplied the inventory.
Returns:
Vendor identifier.
See Also:
setVendorId(java.lang.String)

getVersionSpcId

public java.lang.String getVersionSpcId()
Return the product version identifier of the specified item received.
Returns:
Product version.
See Also:
setVersionSpcId(java.lang.String)

setComment1

public void setComment1(java.lang.String newComment1)
Description copied from interface: ReceiptCreateCmd
Sets comment1 (receipt comment).
Specified by:
setComment1 in interface ReceiptCreateCmd
Parameters:
newComment1 - receipt comment
See Also:
ReceiptCreateCmd.setComment1(java.lang.String), getComment1()

setComment2

public void setComment2(java.lang.String newComment2)
Description copied from interface: ReceiptCreateCmd
Sets comment2 (quality comment).
Specified by:
setComment2 in interface ReceiptCreateCmd
Parameters:
newComment2 - quality comment
See Also:
ReceiptCreateCmd.setComment2(java.lang.String), getComment2()

setCost

public void setCost(java.lang.String newCost)
Description copied from interface: ReceiptCreateCmd
Sets unit cost.
Specified by:
setCost in interface ReceiptCreateCmd
Parameters:
newCost - unit cost
See Also:
ReceiptCreateCmd.setCost(java.lang.String), getCost()

setDistArrangId

public void setDistArrangId(java.lang.String newDistArrangId)
Description copied from interface: ReceiptCreateCmd
Sets distribution arrangement identifier.
Specified by:
setDistArrangId in interface ReceiptCreateCmd
Parameters:
newDistArrangId - distribution arrangement identifier
See Also:
ReceiptCreateCmd.setDistArrangId(java.lang.String), getDistArrangId()

setFfmcenterId

public void setFfmcenterId(java.lang.String newFfmcenterId)
Description copied from interface: ReceiptCreateCmd
Sets fulfillment center identifier.
Specified by:
setFfmcenterId in interface ReceiptCreateCmd
Parameters:
newFfmcenterId - fulfillment center identifier
See Also:
ReceiptCreateCmd.setFfmcenterId(java.lang.String), getFfmcenterId()

setItemspcId

public void setItemspcId(java.lang.String newItemspcId)
Description copied from interface: ReceiptCreateCmd
Sets item identifier.
Specified by:
setItemspcId in interface ReceiptCreateCmd
Parameters:
newItemspcId - item specified identifier
See Also:
ReceiptCreateCmd.setItemspcId(java.lang.String), getItemspcId()

setMemberId

public void setMemberId(java.lang.String newMemberId)
Description copied from interface: ReceiptCreateCmd
Sets member identifier.
Specified by:
setMemberId in interface ReceiptCreateCmd
Parameters:
newMemberId - member identifier
See Also:
ReceiptCreateCmd.setMemberId(java.lang.String), getMemberId()

setPartNumber

public void setPartNumber(java.lang.String newPartNumber)
Description copied from interface: ReceiptCreateCmd
Sets the part number.
Specified by:
setPartNumber in interface ReceiptCreateCmd
Parameters:
newPartNumber - part number
See Also:
ReceiptCreateCmd.setPartNumber(java.lang.String), getPartNumber()

setQtyReceived

public void setQtyReceived(java.lang.String newQtyReceived)
Description copied from interface: ReceiptCreateCmd
Sets the quantity received.
Specified by:
setQtyReceived in interface ReceiptCreateCmd
Parameters:
newQtyReceived - received quantity
See Also:
ReceiptCreateCmd.setQtyReceived(java.lang.String), getQtyReceived()

setRaDetailId

public void setRaDetailId(java.lang.String newRaDetailId)
Description copied from interface: ReceiptCreateCmd
Sets expected inventory record detail identifier.
Specified by:
setRaDetailId in interface ReceiptCreateCmd
Parameters:
newRaDetailId - expected inventory record detail identifier
See Also:
ReceiptCreateCmd.setRaDetailId(java.lang.String), getRaDetailId()

setRcptAvailId

public void setRcptAvailId(java.lang.String newRcptAvailId)
Description copied from interface: ReceiptCreateCmd
Sets available receipt identifier.
Specified by:
setRcptAvailId in interface ReceiptCreateCmd
Parameters:
newRcptAvailId - available receipt identifier
See Also:
ReceiptCreateCmd.setRcptAvailId(java.lang.String), getRcptAvailId()

setReceiptDate

public void setReceiptDate(java.lang.String newReceiptDate)
Description copied from interface: ReceiptCreateCmd
Sets the date the inventory was received.
Specified by:
setReceiptDate in interface ReceiptCreateCmd
Parameters:
newReceiptDate - date received
See Also:
ReceiptCreateCmd.setReceiptDate(java.lang.String), getReceiptDate()

setReceiptId

public void setReceiptId(java.lang.String newReceiptId)
Description copied from interface: ReceiptCreateCmd
Sets the receipt identifier.
Specified by:
setReceiptId in interface ReceiptCreateCmd
Parameters:
newReceiptId - receipt identifier
See Also:
ReceiptCreateCmd.setReceiptId(java.lang.String), getReceiptId()

setReceiptType

public void setReceiptType(java.lang.String newReceiptType)
Description copied from interface: ReceiptCreateCmd
Sets type of receipt which indicates how this receipt was created.
Specified by:
setReceiptType in interface ReceiptCreateCmd
Parameters:
newReceiptType - receipt type
See Also:
ReceiptCreateCmd.setReceiptType(java.lang.String), getReceiptType()

setRtnRcptDspId

public void setRtnRcptDspId(java.lang.String newRtnRcptDspId)
Description copied from interface: ReceiptCreateCmd
Sets the disposition record identifier of returned item.
Specified by:
setRtnRcptDspId in interface ReceiptCreateCmd
Parameters:
newRtnRcptDspId - returned item disposition record identifier
See Also:
ReceiptCreateCmd.setRtnRcptDspId(java.lang.String), getRtnRcptDspId()

setSetCCurr

public void setSetCCurr(java.lang.String newSetCCurr)
Description copied from interface: ReceiptCreateCmd
Sets currency of the COST field.
Specified by:
setSetCCurr in interface ReceiptCreateCmd
Parameters:
newSetCCurr - currency
See Also:
ReceiptCreateCmd.setSetCCurr(java.lang.String), getSetCCurr()

setVendorId

public void setVendorId(java.lang.String newVendorId)
Description copied from interface: ReceiptCreateCmd
Sets the identifier of the vendor that supplied the inventory.
Specified by:
setVendorId in interface ReceiptCreateCmd
Parameters:
newVendorId - vendor id
See Also:
ReceiptCreateCmd.setVendorId(java.lang.String), getVendorId()

setVersionSpcId

public void setVersionSpcId(java.lang.String newVersionSpcId)
Description copied from interface: ReceiptCreateCmd
Sets the product version identifier of the item.
Specified by:
setVersionSpcId in interface ReceiptCreateCmd
Parameters:
newVersionSpcId - version id of item specified
See Also:
ReceiptCreateCmd.setVersionSpcId(java.lang.String), getVersionSpcId()

validateParameters

public void validateParameters()
                        throws ECException
Gets the information of receipt to be created and sets the information into the command local variable. Parameters: Sets the success redirect URL to ReceiptCreateRedirectView for success, and ReceiptCreateErrorView for failure. Calls checkParametersException() to verify required parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECApplicationException - If the XMLObject cannot be parsed as expected, throw ECApplicationException.
ECException
See Also:
checkParametersException()

checkParametersException

protected void checkParametersException()
                                 throws ECApplicationException

Checks the information of the receipt to be created. Make sure all the required parameters were passed in, or collected from somewhere. Required fields:

Throws:
ECApplicationException - Throw ECApplicationException to indicate which field is missing or bad.

getResources

public AccessVector getResources()
                          throws ECException
Gets the access vector accessed by this command. Uses StoreEntityAccessBean.
Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECTargetableCommand
Returns:
A vector of resource action pairs
Throws:
ECException -
  • ECSystemException Create error, _ERR_CREATE_EXCEPTION
  • ECSystemException Finder error, _ERR_FINDER_EXCEPTION
  • ECSystemException Naming error, _ERR_NAMING_EXCEPTION
  • ECSystemException Remote error, _ERR_REMOTE_EXCEPTION

performExecute

public void performExecute()
                    throws ECException
Performs the execution of creating a receipt by calling CreateReceiptCmd. If the expected inventory record detail identifier is provided, an expected inventory receipt will be created. Otherwise, an ad hoc receipt will be created. Then createItemffmctr method is called to insert a new row in itemffmctr table for this item, store and fulfillment center if row does not yet exist when the receipt is created.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
ECException
See Also:
checkIllegalArgumentException(), checkNumberFormatException(), createItemffmctr(java.lang.Long), CreateReceiptCmd

checkNumberFormatException

protected void checkNumberFormatException()
                                   throws ECApplicationException
Verifies that the numeric fields are numeric.
Throws:
ECApplicationException - Error _ERR_CMD_INVALID_PARAM to indicate which field is bad.

checkIllegalArgumentException

protected void checkIllegalArgumentException()
                                      throws ECApplicationException
Verifies that the receipt date is in timestamp format.
Throws:
ECApplicationException - Error _ERR_CMD_INVALID_PARAM to indicate which field is bad.

createItemffmctr

public void createItemffmctr(java.lang.Long itemspcId)
                      throws ECException
Adds a new row in itemffmctr table for this item, store and fulfillment center if row does not yet exist when the receipt is created. This row will be used to record information about reserved quantities, amount on backorder, and amount allocated to backorders for this item owned by this store at this fulfillment center.

Uses ItemFulfillmentCenterAccessBean.

Throws:
ECException - Error if the new row cannot be added.
  • ECSystemException Create error, _ERR_CREATE_EXCEPTION
  • ECSystemException Finder error, _ERR_FINDER_EXCEPTION
  • ECSystemException Naming error, _ERR_NAMING_EXCEPTION
  • ECSystemException Remote error, _ERR_REMOTE_EXCEPTION

handleSubmitError

protected void handleSubmitError(ECException e)
                          throws ECApplicationException
Constructs and returns the error message.
Throws:
ECApplicationException - Throw ECApplicationException with the newly constructed message.