Skip to content

OFBIZ-13422 : Adds REST API support for the Production Run PWA. - #1626

Merged
diveshdut merged 5 commits into
apache:trunkfrom
diveshdut:feature/production-run-pwa-api
Aug 11, 2026
Merged

OFBIZ-13422 : Adds REST API support for the Production Run PWA.#1626
diveshdut merged 5 commits into
apache:trunkfrom
diveshdut:feature/production-run-pwa-api

Conversation

@diveshdut

Copy link
Copy Markdown
Contributor

Summary

Adds REST API support for the Production Run PWA.

This includes:

  • Production run list/detail REST endpoints
  • Production run creation endpoint
  • Manufacturing facility lookup endpoints for production run workflows
  • REST framework paging, filtering, and sorting support for production run search
  • Shared manufacturing display helpers for product, facility, status, UOM, role, and fixed asset labels
  • Explicit manufacturing CREATE permission check for createProductionRun

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.
@diveshdut
diveshdut merged commit 71055ab into apache:trunk Aug 11, 2026
7 checks passed
@diveshdut
diveshdut deleted the feature/production-run-pwa-api branch August 11, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant