OFBIZ-13422 : Adds REST API support for the Production Run PWA. - #1626
Merged
diveshdut merged 5 commits intoAug 11, 2026
Conversation
Add shared display fallback helpers for manufacturing API payloads, covering facility, role type, status, and UOM values. This lets production run responses reuse the same label fallback style as existing product and fixed asset helpers.
Add lookup services for manufacturing facilities and manufacturing plants, and narrow the existing warehouse lookup to warehouse facilities only. These services provide paged facility options for production run find and create workflows.
Expose the Production Run PWA REST surface for listing, creating, facility lookup, and detail retrieval. The resource maps the PWA routes to the underlying OFBiz services with authenticated JSON operations.
Refactor production run search to use RestQueryOptions, RestApiUtil paging metadata, framework sort resolution, and queryPagedList. Add estimated start date range filters and use shared lookup/display helpers while preserving batched enrichment.
Add an explicit manufacturing CREATE permission check to createProductionRun so the REST create endpoint follows the same permission pattern as the BOM and routing APIs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds REST API support for the Production Run PWA.
This includes:
CREATEpermission check forcreateProductionRun