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