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/13 10:41:00 UTC
[jira] [Commented] (OFBIZ-13468) Add Manufacturing BOM REST API and service support
[ https://issues.apache.org/jira/browse/OFBIZ-13468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18104382#comment-18104382 ]
ASF subversion and git services commented on OFBIZ-13468:
---------------------------------------------------------
Commit e691f44b3006fd1875bfcff7e79c1099b3ec0e8c in ofbiz-framework's branch refs/heads/trunk from diveshdut
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e691f44b30 ]
OFBIZ-13468 Align BOM list APIs with REST query helpers
Adds public sort support and framework list metadata to BOM-related list services, including BOM products and BOM type options, while preserving the existing service response shapes.
BOM list queries now resolve REST sort expressions into stable EntityQuery order-by fields, include generated pagination links for REST calls, and reject unsupported sort fields consistently. Focused tests cover sort mappings, default ordering, unsupported sort validation, and navigation metadata.
> Add Manufacturing BOM REST API and service support
> --------------------------------------------------
>
> Key: OFBIZ-13468
> URL: https://issues.apache.org/jira/browse/OFBIZ-13468
> Project: OFBiz
> Issue Type: Sub-task
> Components: manufacturing
> Affects Versions: Upcoming Branch
> Reporter: Divesh Dutta
> Assignee: Divesh Dutta
> Priority: Major
> Fix For: Upcoming Branch
>
>
> Add REST APIs and services in the OFBiz Manufacturing component for fetching BOM Details in PWA.
> The backend should define component-owned REST endpoints under the Manufacturing component and implement BOM-focused service wrappers where needed to provide frontend-friendly response shapes while reusing existing OFBiz BOM services and entity logic.
> REST exposure should be done through {{{}applications/manufacturing/api/*.rest.xml{}}}. Services mapped through REST descriptors should have explicit permission services but should not be marked {{export="true"}} solely for REST descriptor usage.
> Scope:
> * Add BOM REST descriptor in Manufacturing component
> * Add BOM list/search service support
> * Add generic product lookup service for BOM picker/autocomplete workflows
> * Add BOM snapshot/detail service
> * Add BOM association remove/expire services
> * Add BOM simulation API service
> * Add warehouse/facility lookup service
> * Add BOM type lookup service
> * Add service-level permission checks
> * Harden existing BOM association services used by REST workflows
> * Add validation for BOM association creation, including:
> ** prevent product being its own component
> ** prevent duplicate association creation
> ** return validation failures as service errors
> * Improve BOM copy behavior for selected key fields and effective dates
>
> Acceptance Criteria:
> * REST descriptor is registered by OFBiz
> * REST endpoints invoke Manufacturing services successfully without requiring {{export="true"}}
> * REST-invoked services have explicit permission checks
> * BOM list returns paged response metadata
> * BOM product lookup supports PWA autocomplete
> * BOM snapshot returns components and used-in parents
> * Component and parent delete routes expire associations via {{thruDate}}
> * Simulation returns frontend-ready availability rows, cost rows, summary, and warnings
> * Existing OFBiz BOM screens/service callers remain compatible
> APIs should support this UI designs: [https://www.figma.com/design/1wantteXXUlzPRYev1X5gr/Ionic-8-Material-UI-Kit--Community---Community-?node-id=36313-1243&p=f]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)