Converts an RFQ to a contract.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- offering_id
- (required) The internal identification of the RFQ.
- response_id
- (required) The internal identification of the RFQ response.
- ContractShippingChargeModel
- (required) The shipping charge type.
- returnChargePolicy
- (optional) The return charge policy.
- returnApprovalPolicy
- (required) The return approval policy.
- returnPaymentPolicy
- (required) The return payment policy. This parameter can be repeated.
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 CopyAttachmentCmd task command to create attachments on the contract.
- Calls the CreateTradeAttachmentCmd task command to create trading attachment information on the contract.
- Calls the CreateContractBasicInfoCmd task command to create the basic information on the contract.
- Calls the CreateShippingChargeTCCmd task command to create shipping charge TC on the contract.
- Calls the CreateReturnChargeTCCmd task command to create the return charge TC on the contract.
- Calls the CreateReturnPaymentTCCmd task command to create the return paymment TC on the contract.
Exception conditions
- The parameter offering_id must be specified.
- The parameter response_id must be specified.
- The parameter ContractShippingChargeModel must be specified.