HCL Commerce Enterprise

RFQTCUpdate URL

Updates terms and conditions in an RFQ.

URL structure

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

Parameter values

offering_id
Required: The internal identification of the RFQ.
tc_id_i
Required: The internal identification of the nth terms and conditions.
value_i
Required: Value of the nth terms and conditions.
mandatory_i
Required: Indicate if the nth terms and conditions is mandatory: 0=this terms and conditions is not mandatory 1=this terms and conditions is mandatory
changeable_i
Required: Indicate if the nth terms and conditions is changeable: 0=this terms and conditions is not changeable 1=this terms and conditions is changeable

Example

The following example updates the terms and conditions in the RFQ .


    
http://myhostname/webapp/wcs/stores/servlet/RFQTCUpdate?offering_id=10001&tc_id_1=10005
       
&value_1=Special&mandatory_1=1&changeable_1=1&URL=/

Behavior

  • Checks if the supplied RFQ exists in the database.
  • Calls the com.ibm.commerce.utf.commands.DeleteOrderCommentsTCCmd task command to delete the terms and conditions from the RFQ.
  • Calls the com.ibm.commerce.utf.commands.CreateOrderCommentsTCCmd task command to add the terms and conditions to the RFQ.

Exception conditions

  • The parameter offering_id must be specified.
  • The parameter tc_id_i must be specified.