Copies an RFQ.
Command structure
- http://host_name/path/
- The fully qualified name of your WebSphere Commerce Server and the configuration path.
Parameter values
- origRfqId
- (required) The ID of RFQ to be copied.
- newRfqName
- (required) The name of the new RFQ.
- copyAttachment
- (required) Whether or not the attachment information is copied over from
the original RFQ:
1=Yes
0=No
Example 1
The following example copies RFQ with ID 10015 with all corresponding attachments information.
http://myhostname/webapp/wcs/stores/servlet/RFQCopy?origRfqId=10015&newRfqName="New RFQ 1"©Attachment=1&URL=/
Example 2
The following example copies RFQs with ID 10016, 10044 without all corresponding responses.
http://myhostname/webapp/wcs/stores/servlet/RFQCopy?origRfqId=10015&newRfqName="New RFQ 2"©Attachment=0&URL=/
Behavior
- Checks if the supplied RFQ ID really exists in the database.
- Calls the CopyRFQCmd task command to copy the RFQ.
Exception conditions
- The parameter origRfqId must be an integer.
- The parameter newRfqName must be provided.
- The parameter copyAttachment must be either 0 or 1.