Skip to main content
Skip table of contents

EP API - Production Lots

Overview

The API contains the Production Lots.

Endpoint name

productionLots

Source table in Wisefish

WiFi Lot

Fixed view

The API has a filter in order to return only the normal production lot, but not the repacking etc.

  • Production Type = Production

Editable

No data modification possible.

Procedures

There are no procedures on this endpoint.

Primary Key

The field code is the primary key (and only that field).

Data

Field List

Property

Type

Table Field

Field Type

Note

code

string

Code

Code[20]

description

string

Description

Text[50]

startingDateTime

date-time utc

Starting Date/Time

DateTime

endingDateTime

date-time utc

Ending Date/Time

DateTime

stockCenterCode

string

Stock Center Code

Code[20]

processingStage

string

Processing Stage

Code[20]

group

string

Group

Code[10]

activeInProduction

true/false

Active in Production

Boolean

bestBeforeCalcFrom

Date

Best Before calc. from

Date

postingStatus

string

Posting Status

Option

'Open,Completed (Closed),Precreated'

productionType

string

Production Type

Option

 ,Production,Contracting,Repacking,Relabeling'

productionDate

Date

Production Date

Date

creationDate

Date

Creation Date

Date

type

string

Type

Option

Origin, Production, Both

originType

string

Origin Type

Text

Wild,Farm Raised

inboundDocTypeCreation

string

Inbound Doc. Type 

Option

externalProducer

string

External Producer

Code[20]

systemId

string uuid

SystemId

GUID

lastModified

date-time utc

SystemModifiedAt

DateTime

Note: The name of this field in business central is “systemmodifedAt” and it can be seen in page inspection in the user interface.

Example

Expand to see the example json

An example of one object in the list:

JSON
    "value": [
        {
            "@odata.etag": "W/\"JzIwOzE0MTMyNjA3NDgyNDM4OTIwMTgyMTswMDsn\"",
            "systemId": "b3bec4ff-affd-ef11-934a-6045bdc70803",
            "code": "PRLOT001",
            "description": "1. march 2025",
            "startingDateTime": "2025-03-01T00:00:00Z",
            "endingDateTime": "0001-01-01T00:00:00Z",
            "stockCenterCode": "PRODUCER01",
            "processingStage": "",
            "group": "",
            "activeInProduction": false,
            "bestBeforeCalcFrom": "0001-01-01",
            "postingStatus": "Open",
            "productionType": "Production",
            "productionDate": "0001-01-01",
            "creationDate": "2025-03-10",
            "type": "Origin",
            "originType": "Wild",
            "inboundDocTypeCreation": " ",
            "externalProducer": "",
            "lastModified": "2025-03-11T13:42:05.04Z"
        }


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.