About lot generators
- Last UpdatedMar 10, 2025
- 2 minute read
A lot generator is a configurable item that specifies how AVEVA Production Management generates a unique identifier for a material lot (lot).
When you configure a material movement in which the destination work center is capable of tracking lots (Selective, FIFO, LIFO), you can associate a lot generator with the material movement if it requires one. The lot generator that you use for the material movement must not only generate a lot identifier for the destination lot, but it must also generate a lot identifier for the part of a split lot that remains at the source work equipment.
When a material movement is for material entering the process, it does not have a source work equipment. In this situation, a lot generator provides you with the means to use the lot identifier from the third-party supplier. Of course, you may generate a different lot identifier, if required.
When a material movement is for material leaving the process, it does not have a destination work center. In this situation, consider that the lot identifier that you generate may represent a shipping identifier for a truck, train, ship, or other transporter.
You can create any number of lot generators, and multiple material movements can use the same lot generator, if required.
Debt lot generator
A debt lot generator is a configurable lot generator item that appears under the Lot Generators folder. This item appears by default and is already configured.

When the SourceDebtLotGenerator or property of a material movement points to this debt lot generator, the expression provides the naming structure for all negative lots.
DebtLot + timestamp
You can create multiple lot generators for this purpose, and edit the naming convention.
Default lot generator
A default lot generator is a configurable lot generator item that appears under the Lot Generators folder. This item appears by default and is already configured.

It contains an expression that is used by material movements when they point to this generator.
"Lot-" + (recordIdentifier) + "-" + (destinationMaterial.FullName)
When the DestinationLotIdentifierCreationMethod property of a material movement is set to LotGenerator, the DestinationLotGenerator property appears. Point this property to Default Lot Generator item.
