SCM 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.

Author

Financial Force, Inc.

Properties

Name Type Description
approve Boolean Whether to submit the orders for approval after allocation.
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–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.