Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new instance of a InventBatchJournalController class depending on the batch handling journal type.
Syntax
server public static InventBatchJournalController newBatchJournal(InventBatchJournal _inventBatchJournal)
Run On
Server
Parameters
- _inventBatchJournal
Type: InventBatchJournal Table
The record of the InventBatchJournal table for the batch handling journal.
Return Value
Type: InventBatchJournalController Class
A new instance of a InventBatchJournalController sub-class for the type of the batch handling journal.
Exceptions
| Exception | Condition |
|---|---|
| Error | Thrown if _batchHandling is a journal type that is unknown. |