You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/08/21 11:33:00 UTC

[jira] [Commented] (OFBIZ-13502) Add OFBiz MRP Planning REST APIs and Services

    [ https://issues.apache.org/jira/browse/OFBIZ-13502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18106584#comment-18106584 ] 

ASF subversion and git services commented on OFBIZ-13502:
---------------------------------------------------------

Commit fc1b597661dc4bb210125080eeb48e88f001667a in ofbiz-framework's branch refs/heads/trunk from diveshdut
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=fc1b597661 ]

OFBIZ-13502 Add MRP event plan read model

Add the read-side event-plan pipeline for grouped MRP event planning.

Introduce MrpEventPlanServices.groovy as the service entry point for findMrpEventPlans and findMrpPlanningFacilities. It reads framework REST query options, delegates event loading and row preparation, and returns paged REST-compatible responses.

Introduce MrpEventPlanQuery.groovy as the query/read helper. It builds MrpEventView conditions for facility, product, event type, date, search, latest-run fallback, and candidate row limits, then loads the raw events and enrichment data used by the planner rows.

Introduce MrpEventPlanBuilder.groovy as the planner row builder. It groups raw MRP events by product and facility, builds visible timelines with running balances, and derives attention metadata such as actionNeeded, attentionTypes, primaryAttentionType, and attentionSummary.

Register the event-plan and planning-facility services in services_mrp.xml and add the planner-facing labels used by the event-plan read model.


> Add OFBiz MRP Planning REST APIs and Services
> ---------------------------------------------
>
>                 Key: OFBIZ-13502
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13502
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: manufacturing
>    Affects Versions: Upcoming Branch
>            Reporter: Divesh Dutta
>            Assignee: Divesh Dutta
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>
> Add OFBiz MRP events and Run Logs REST APIs and services needed by the MRP PWA and other API clients.
> *Scope includes:*
> - REST API resource definitions for planning facilities, launching MRP, run history, and event plans.
> - MRP run lifecycle logging using MrpRunLog.
> - Launch service that queues executeMrp as persisted async work and records queue/run outcomes.
> - Read services for recent MRP runs.
> - Read services for grouped product/facility event plans.
> - Event-plan detail timeline data with running balances.
> - REST-compatible paging, filtering, sorting, and search support.
> - Focused backend tests for service wiring, run lifecycle behavior, REST contracts, and event-plan read models.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)