Skip to main content

Warehouse Worksheet Lines API

Overview

The WMS Warehouse Worksheet Lines API is a Business Central API page designed to manage warehouse worksheet line data. This API allows external systems to interact with warehouse worksheet lines, providing functionality for creating, reading, and updating worksheet line information.

API Details

  • Publisher: smart
  • API Group: wms
  • API Version: v2.0
  • Entity Name: whseWorksheetLine
  • Entity Set Name: whseWorksheetLines
  • Source Table: Whse. Worksheet Line

Fields

The following fields are exposed in the API:

Field NameSource FieldRequiredDescription
templateNameWhse. Worksheet Line."Worksheet Template Name"YesName of the worksheet template.
nameWhse. Worksheet Line.NameYesName of the worksheet.
lineNoWhse. Worksheet Line."Line No."NoLine number of the worksheet.
locationCodeWhse. Worksheet Line."Location Code"YesCode of the location.
itemNoWhse. Worksheet Line."Item No."YesItem number associated with the line.
fromZoneCodeWhse. Worksheet Line."From Zone Code"NoCode of the source zone.
toZoneCodeWhse. Worksheet Line."To Zone Code"NoCode of the destination zone.
fromBinCodeWhse. Worksheet Line."From Bin Code"NoCode of the source bin.
toBinCodeWhse. Worksheet Line."To Bin Code"NoCode of the destination bin.
descriptionWhse. Worksheet Line.DescriptionNoDescription of the worksheet line.
variantCodeWhse. Worksheet Line."Variant Code"NoVariant code of the item.
unitOfMeasureWhse. Worksheet Line."Unit of Measure Code"NoUnit of measure for the item.
quantityWhse. Worksheet Line.QuantityYesQuantity of the item.
lotNoLotNoNoLot number associated with the item.

Notes

  • The lotNo field is optional but required when tracking items by lot.

Example Usage

Create a New Warehouse Worksheet Line

POST host/instance/api/smart/wms/v2.0/companies(companyId)/whseWorksheetLines
Content-Type: application/json

{
"templateName": "DEFAULT",
"name": "Worksheet001",
"lineNo": 10000,
"locationCode": "MAIN",
"itemNo": "ITEM001",
"quantity": 10,
"lotNo": "LOT001"
}

Retrieve a Warehouse Worksheet Lines

GET host/instance/api/smart/wms/v2.0/companies(companyId)/whseWorksheetLines
© 2008 - 2026 SMART business