Order and Inventory Management Apex API Developer Reference

scmc.SalesorderBatch

global with sharing class SalesorderBatch implements Database.Batchable<SObject>, Database.Stateful

A batch process to allocate and optionally submit for approval a list of sales orders. Sales orders are specified using the soIds property.

Properties

Name Type Description
approve Boolean Whether to submit the orders for approval after allocation.
soIds List<ID> List of sales order ids to allocate and approve

Methods

start

global Database.QueryLocator start(Database.BatchableContext ctx)

execute

global void execute(Database.BatchableContext ctx, List<SObject> records)

finish

global void finish(Database.BatchableContext ctx)

© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.