Inventory

POST /Inventory/{id}/lots/{lotId}/adjust

Changed on

Request

Path parameters

idstring required
lotIdstring required

Request body

reasonstring nullable
locationIdstring required
containerIdstring nullable

Physical container the adjustment applies to (container code, or row id for code-less containers) — required for any lot split across multiple active containers. For controlled lots it is carried into the approval request.

Response

OK

idstring
inventoryItemIdstring
lotNumberstring nullable
expirationDatestring date-time nullable
manufacturedDatestring date-time nullable
manufacturerstring nullable
containerIdstring nullable
isActiveboolean
isOverdraftboolean

The item's overdraft lot (ITE-1410): holds the shortfall of dispenses made past the stock on hand, so its quantity is zero or negative. Never offer it as a lot to dispense from; show it with an "Overdraft" badge.

overdraftSettlementApprovalIdstring nullable

Set on a lot-create response when the clinic reviews overdraft settlements (ITE-1410, Review mode): the pending inventory approval that would apply decimal? InventoryLotDto.OverdraftSettlementPendingQuantity of this lot to the item's overdraft. Nothing has moved yet.

receivedDatestring date-time
createdAtstring date-time
updatedAtstring date-time

Changes

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)

    • info

      added the optional property to the response with the status (media type: text/plain)

    • info

      added the optional property to the response with the status (media type: application/json)

    • info

      added the optional property to the response with the status (media type: text/json)