location constraints.md
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs; this page is available as Markdown.
Location constraints
Overview
Each plan allows for configuring location constraints. The location constraint has two options:
- An operator - either "in" or "not in"
- A list of locations
When the constraint is defined, only inventory meeting that constraint can be allocated to the plan. The selected locations include all of their hierarchy, meaning that all child locations are also considered.
Location constraints for site planning (distribution requirements planning)
Let's say that you have two sites: one in California and one in Massachusetts. If you are building different products at both sites, you can ensure only material physically located at the site is allocated to the plan. In this case, the setup would look something like the below:
- Plan 1
- Part A (made in California)
- Location constraint: "In California"
- Plan 2
- Part B (made in Massachusetts)
- Location constraint: "In Massachusetts"
Only Plan 1 will consume inventory located in California locations and only Plan 2 will consume inventory located in Massachusetts locations.