scmc.SalesOrdersServiceglobal with sharing class SalesOrdersService This service is used to support actions that are performed on a Sales Order. MethodscreateFromCustomerQuotationIdglobal static Id createFromCustomerQuotationId(Id customerQuotationId) This method creates a Sales Order from a Customer Quotation Input Parameters
Exceptions Thrown
Return ValueId of the created Sales Order Sample Code//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); |