{"uid":"cap_FmfeK6NaJCeh764ugy1Np","slug":"multilevel-bom-mrp-netting-with-lot-multiple-and-lead-time-offset-831110ea","name":"Multilevel BOM MRP Netting with Lot-Multiple and Lead-Time Offset","description":"Compute bounded multilevel integer piece-count plans and explicitly expose past-due needs.","url":"https://detect.halowerk.com/v1/F-TD2000-ENGINEERING-B001/multilevel-bom-lot-multiple-netting-lead-time-offset?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"artifact":{"type":"object","required":["mrp"],"properties":{"mrp":{"type":"object","required":["data","claim"],"properties":{"data":{"type":"object","required":["periods","items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["id","on_hand","safety_stock","lead_time","lot_multiple","demand","scheduled","children"],"properties":{"id":{"type":"string","maxLength":32,"minLength":1},"demand":{"type":"array","items":{"type":"integer","maximum":1000000,"minimum":0},"maxItems":24,"minItems":1},"on_hand":{"type":"integer","maximum":1000000,"minimum":0},"children":{"type":"array","items":{"type":"object","required":["id","quantity"],"properties":{"id":{"type":"string","maxLength":32,"minLength":1},"quantity":{"type":"integer","maximum":10000,"minimum":1}},"additionalProperties":false},"maxItems":16,"minItems":0},"lead_time":{"type":"integer","maximum":24,"minimum":0},"scheduled":{"type":"array","items":{"type":"integer","maximum":1000000,"minimum":0},"maxItems":24,"minItems":1},"lot_multiple":{"type":"integer","maximum":1000000,"minimum":1},"safety_stock":{"type":"integer","maximum":1000000,"minimum":0}},"additionalProperties":false},"maxItems":16,"minItems":1},"periods":{"type":"integer","maximum":24,"minimum":1}},"additionalProperties":false},"claim":{}},"additionalProperties":false}},"description":"Bounded model; oversized UTF-8 input (16000 bytes) or computed result (20000 bytes) returns unknown without truncation or charge.","additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o1CYcQXNrPFus2-LcyEE0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes bounded multilevel bill-of-materials (BOM) integer piece-count plans using MRP netting logic, applying lot-multiple rounding and lead-time offsets to expose past-due and future planned orders.","exampleAgentPrompt":"Run an MRP netting plan for 3 periods across two items: finished good FG-001 (on-hand 50, safety stock 10, lead time 2, lot multiple 25, demand [100, 80, 120], no scheduled receipts) with one child component COMP-A (quantity 2, on-hand 300, safety stock 20, lead time 1, lot multiple 100, demand [0,0,0], scheduled [0,0,0]) — give me the planned order quantities and any past-due needs.","exampleUseCases":[{"title":"Weekly production order plan for a finished assembly","prompt":"I need to plan production orders for the next 8 periods for assembly SKU-500, which has 200 units on hand, a safety stock of 50, a lead time of 3 periods, and a lot multiple of 100. Demand is [150, 200, 180, 220, 170, 190, 210, 160] with no scheduled receipts. It has two sub-components: SUB-A (qty 3 each) and SUB-B (qty 1 each) — both with their own stock and lead times. Can you compute the full multilevel MRP plan and show me where past-due needs appear?"},{"title":"Identify past-due purchase orders for a purchased component","prompt":"We have a purchased part PART-X with 0 units on hand, safety stock of 25, lead time of 4 periods, and a lot multiple of 50. Demand driven from our parent assembly is [75, 75, 75, 75] over 4 periods with no scheduled receipts. Run the MRP netting and tell me which orders are past due given the lead time offset."},{"title":"Lot-size rounding impact on a two-level BOM","prompt":"Can you compute the multilevel MRP plan for 6 periods for item WIDGET-TOP (on-hand 30, safety stock 5, lead time 1, lot multiple 200, demand [50,60,70,80,90,100], scheduled receipts [0,100,0,0,0,0]) and its child WIDGET-BASE (quantity 4, on-hand 500, safety stock 100, lead time 2, lot multiple 500, demand [0,0,0,0,0,0], scheduled [0,0,0,0,0,0])? I want to see how the lot-multiple rounding cascades down to the component level."}],"resultDescription":"Returns a structured period-by-period MRP plan for each item in the BOM including net requirements, planned order receipts (rounded to lot multiples), planned order releases offset by lead time, and flagged past-due requirements where lead-time offset pushes orders into or before period zero. Output is bounded at 20,000 bytes; oversized results return an error without charge.","failureModes":["Input exceeds 16,000 UTF-8 bytes — returns error without charge","Computed result exceeds 20,000 bytes — returns error without charge","Invalid BOM structure (e.g. missing required fields, out-of-range integers) — schema validation error","Circular BOM references or item ID mismatches between children and items list","Demand or scheduled arrays length mismatch with periods count","lot_multiple of zero (minimum is 1) — rejected at schema validation","Payment claim missing or invalid — x402 payment required error"],"whenToPreferThis":"Use this endpoint when you need deterministic, bounded integer MRP netting across a multilevel bill of materials with explicit lot-multiple rounding and lead-time period offsets — particularly when you need to surface past-due requirements. Prefer this over generic planning tools when your BOM has up to 16 items, up to 24 planning periods, and you need reproducible integer arithmetic rather than heuristic or approximate planning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:37:32.990Z","isFirstParty":false,"canonicalSlug":"multilevel-bom-mrp-netting-with-lot-multiple-and-lead-time-offset-831110ea"}