global with sharing class SalesOrdersService
This service is used to support actions that are performed on a Sales Order.
global static Id createFromCustomerQuotationId(Id customerQuotationId)
This method creates a Sales Order from a Customer Quotation
Id of the created Sales Order
//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. Id customerQuotationId = 'a069E0000004NBO'; Id salesOrderId = SCMC.SalesOrdersService.createFromCustomerQuotationId(customerQuotationId);