GlideappCalculationHelper - addItemToExistingRequest(String requestID, String catalogID, String quantity)

Adds one or more of a specified catalog item to an existing request.

Table 1. Parameters
Name Type Description
requestID String sys_id of the request to which to add the catalog item(s)
catalogID String sys_id of the catalog item to add to the request
quantity String Number of the specified catalog item to add to the request
Table 2. Returns
Type Description
void

var catItemId = "04b7e94b4f7b4200086eeed18110c7fd";
var requestId = "6eed229047801200e0ef563dbb9a71c2";
var helper = new GlideappCalculationHelper()
helper.addItemToExistingRequest(requestId, catItemId, "1");