WebSphere Commerce Enterprise

RFQToContractCreate URL

Converts an RFQ to a contract.

URL structure

http:// host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Parameter values

offering_id
Required: The ID to uniquely identify the RFQ.
response_id
Required: The internal identification of the RFQ response.
ContractShippingChargeModel
Optional: The shipping charge type.
returnChargePolicy
Optional: The return charge policy.
returnApprovalPolicy
Optional: The return approval policy.
returnPaymentPolicy
Optional: The return payment policy. This parameter can be repeated.
enforceMinQuantity
Optional: Enforces the minimum purchase quantity in the contract: 0=Do not specify the minimum purchase quantity 1=Specify the minimum purchase quantity

Example

The following example creates a contract from the RFQ response with the ID 10005.

 
http://myhostname/webapp/wcs/stores/servlet/RFQToContractCreate?offering_id=10001&response_id=10005
     &ContractShippingChargeModel=ShippingChargeByCarrier&URL=/

Behavior

  • Checks if the supplied RFQ response exists in the database.
  • Calls the com.ibm.commerce.command.CopyAttachmentCmd task command to create attachments on the contract.
  • Calls the com.ibm.commerce.rfq.commands.CreateTradeAttachmentCmd task command to create trading attachment information about the contract.
  • Calls the com.ibm.commerce.utf.commands.CreateContractBasicInfoCmd task command to create the basic information about the contract.
  • Calls the com.ibm.commerce.utf.commands.CreateShippingChargeTCCmd task command to create shipping charge TC on the contract.
  • Calls the com.ibm.commerce.utf.commands.CreateReturnChargeTCCmd task command to create the return charge TC on the contract.
  • Calls the com.ibm.commerce.utf.commands.CreateReturnPaymentTCCmd task command to create the return payment TC on the contract.
  • If fixed pricing information for products exist, creates the PriceTCCustomPriceList term and condition to include fixed pricing information for products in the contract.
  • If price adjustment information for products exist, creates or updates the PriceTCMasterCatalogWithFiltering term and condition to include price adjustment information for products in the contract.

Exception conditions

  • The parameter offering_id must be specified.
  • The parameter response_id must be specified.
  • The parameter ContractShippingChargeModel must be specified.