Skip to main content

manufacturingOrderNextNumber

Suggests the number the next manufacturing order would get if none is entered.

Business Rules​

  • Built from the company's manufacturing order number template (default MFG-{YYYY}-{####}). The counter follows the highest number that fits the template, across years and including deleted orders, so a create without a number gets the same value unless another order is created first.
  • Only a suggestion: nothing is reserved. Creating with a number already taken is refused.
  • Returns null while manufacturing orders are not enabled.

Error Scenarios​

  • Authentication and company context are required.
  • Access is refused without the required entitlements or permission.

Permissions Required​

  • manufacturing:read_orders
manufacturingOrderNextNumber: ManufacturingOrderNextNumber

Type​

ManufacturingOrderNextNumber object manufacturing​

The number a new manufacturing order would receive right now.