> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mangrovesystems.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate batches

> Calculate the ongoing production outputs using collected data.

The **Production Accounting** section of a project tracks the ongoing outputs in the form of production batches. Data inputs that have been collected are used to calculate the production output.

Batches on the Production Accounting ledger are generated through an accounting dataflow.

* `Generate Batches`
* Validate that all necessary datapoints exist within your desired accounting period

<Note>
  Pro tip: if validations on your selected date range are showing missing datapoints that you know exist, try setting a specific datetime range using the `show time` feature
</Note>

* `Submit` the form, this runs the dataflow which you can see in the `Models` section of the Project.

Batch generation runs in the background. To view the status of current and past jobs, click the **⋯** menu next to `Generate Batches` and select **Batch generation jobs**.

<Note>
  By default, batch generation uses the **active** version of each ledger's model. To generate batches against a different version — for example, to preview how a draft will calculate before activating it — override the model version in the batch generation form. See [Build accounting models](/production-accounting/models#model-versioning) for details.
</Note>
