# Adjustment Lines _(Realtime-enabled)_

`GET` `POST` `PATCH` `DELETE` _(Table: EONE Inv. Adjustment Line)_

```
eOne/core/v1.0/inventoryAdjustmentLines
```

The lines of an inventory adjustment, one per item and location being counted or adjusted, carrying either the new physical count or the increment quantity. Deep-insertable on create.

## Count vs. increment

Each line adjusts one item's stock at a location. The parent [Inventory Adjustments](https://eonesolutions.github.io/eone-bc-integration/core-inventoryAdjustments.md) *mode* decides how the quantity is read: in **Count** mode it is the new physical quantity and Business Central works out the delta; in **Increment** mode it is added to (or, when negative, taken from) what is on hand. Behind the scenes each line becomes an item journal line.

## Resolvers

Identify the item by its Business Central number with `itemNumber`, or by your own external key with `itemIntegrationId`. Both are [resolvers](https://eonesolutions.github.io/eone-bc-integration/resolvers.md). The document number is stamped from the parent.

## Adjustment Lines fields

_API column → BC field._

**Legend**

- _(req)_ required on create
- _(res)_ resolver
- _(cur)_ currency-translated
- _(ro)_ read-only
- _(ext)_ added to this endpoint by another extension (BC field name shown; its API column name is not known here)

| API | BC field | Notes |
| --- | --- | --- |
| `id` | SystemId | _(ro)_ |
| `bcCompanyId` | bcCompanyId | The company this row belongs to - the same GUID that appears in the request URL. Present on every endpoint so a store pooling several companies can keep them apart without relying on which URL it called. _(ro)_ |
| `bcCompanyName` | bcCompanyName | The name of the company this row belongs to. _(ro)_ |
| `lineNumber` | Line No. | _(ro)_ |
| `adjustmentId` | Adjustment Id | GUID of the parent inventory adjustment. _(ro)_ |
| `adjustmentIntegrationId` | EONE Adjustment Integration Id | The parent adjustment's Integration Id (your external key), for mapping back to the header without a lookup. Filterable. _(ro)_ |
| `itemId` | itemId | _(ro)_ |
| `itemNumber` | Item No. |  |
| `itemIntegrationId` | itemIntegrationId | _(res)_ |
| `variantCode` | Variant Code |  |
| `locationCode` | Location Code |  |
| `locationIntegrationId` | locationIntegrationId | Resolve the line location by its Integration Id instead of locationCode. See locations. _(res)_ |
| `mode` | Mode |  |
| `quantity` | Quantity |  |
| `comment` | Comment | Free-text note for this line (e.g. the reason); carried onto the item journal line description. |
| `integrationId` | EONE Integration Id |  |
| `lastModifiedDateTime` | SystemModifiedAt | _(ro)_ |

## Related pages

Nested under [Inventory Adjustments](https://eonesolutions.github.io/eone-bc-integration/core-inventoryAdjustments.md).
