A location code identifies the warehouse or site where stock is held; it appears on documents, journals and entries, and keeps quantities separated per site.
A location code identifies a physical site where inventory is held: a warehouse, a shop, a production hall or a third party storage place. It is entered on document lines, journal lines and inventory entries, and it determines which stock is consumed and which warehouse rules apply. Availability in Business Central is therefore always answered per location as well as in total.
Press Alt+Q and search for Locations to see the list and open a Location card, which holds the address and the warehouse settings such as receipt, shipment, put-away, pick and bin handling. Whether a location code must be filled on every line is controlled by a setting in Inventory Setup. A default location can also come from the responsibility center linked to a user, and warehouse employees are assigned to the locations they may work in.
A purchase order to vendor Fabrikam for 100 pcs of item 70000 with location code EAST posts the receipt into EAST only. A sales order line for the same item with location code MAIN then shows nothing available, even though the company owns 100 pcs, because the stock sits at another site. Moving 40 pcs to MAIN makes 40 pcs available there and leaves 60 pcs at EAST.
The usual problem appears when the location code is optional and some lines are posted with an empty code: that stock exists but is invisible in any view filtered by location, and it never appears in the site figures. Changing the location code on a line after part of it has been received or shipped is either blocked or leaves inconsistent quantities. Other frequent issues are using an in-transit location as an ordinary one, and copying documents into another company where the same location codes do not exist.
Stock is moved between locations with a transfer order, or with the item reclassification journal when no in-transit tracking is needed; the journal is faster but records no shipment and receipt step. For a quick overview, item availability by location on the item card shows the split per site before you promise a delivery date.
If you have more than one site, yes: mandatory location codes prevent stock without a site, which is very hard to clean up later. With a single warehouse it is optional but still useful for consistency.
You cannot edit a posted entry. Use the item reclassification journal to move the quantity to the correct location, or reverse the posting and repost it with the right code.
Zentriq's AI tools automate many of the manual processes around location code in Business Central. Learn about the Zentriq Agent or try Zentriq PunchOut to see how AI simplifies procurement in BC.