OSID Logo
OSID Specifications
inventory batch package
Version 3.0.0
Release Candidate Preview
Interfaceosid.inventory.batch.StockBatchForm
Implementsosid.inventory.StockForm
Description

This is the form for creating and updating stocks in bulk. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the StockBatchAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetStockId
Description

Gets the Id of the stock to be updated if this is an update transaction.

Returnosid.id.Idthe stock Id
ErrorsILLEGAL_STATE isForUpdate() is false
CompliancemandatoryThis method must be implemented.