SCM Apex API Developer Reference


global with sharing class CreateFromPurchaseContractRequest

This class represents the object used as the input parameter by the createFromPurchaseContract global service. This object must contain: the ID of the purchase contract that the recurring purchase order is created from, the values to set the recurrence interval and the number of recurrences, the string value for the recurrence period, and a map with purchase contract line IDs belonging to the specified contract and their quantities.


Name Type Description
PurchaseContractId Id
RecurrenceInterval Integer
NumberOfRecurrences Integer
QuantityByPCLineId Map<Id, Decimal>
RecurrencePeriod String



global CreateFromPurchaseContractRequest()

© Copyright 2009–2022, inc. All rights reserved. Various trademarks held by their respective owners.