Outbound stocks
This guide shows how to set up outbound stock tracking.
Prerequisites
Picking: The outbound inventory feature can be used only if picking is conducted with our system.
Handover: If you want to remove stock from your system only after it has been handed over, you must also use our handover feature.
Configuration
1. Create an outbound storage location
Create a storage location that will be used for items that have already been picked and are ready to be handed over to a shipping provider. The defined location does not need to represent a physical storage space or area but should map the concept of outbound stock. This can be done in the Backoffice or via API.
Make sure the location complies with the following requirements:
typemust beBULK_STORAGEThe stock on an outbound storage location is unavailable for orders, and should not be picked or moved (besides for handover). Therefore, it must have the following trait configuration:
ACCESSIBLE: falsePICKABLE: falseOUTBOUND: true
nameIt is recommended that the name be chosen to convey its function as an outbound location so that users refrain from adjusting stock in that location.
Here's an example API call to create the storage location:
POST https://{YOUR_TENANT_NAME}.api.fulfillmenttools.com/api/facilities/{facilityId}/storagelocations{
"name": "Outgoing Goods",
"tenantLocationId": "outbound-1",
"type": "BULK_STORAGE",
"scannableCodes": [],
"runningSequences": [],
"traitConfig": [
{
"trait": "ACCESSIBLE",
"enabled": false
},
{
"trait": "PICKABLE",
"enabled": false
},
{
"trait": "OUTBOUND",
"enabled": TRUE
}
]
}If your request was successful, you'll receive a HTTP 201 created response containing the created storage location.
This storage location is a requirement to enable the following configuration. Note down the id of the created storage location from the response, as you will need it in the next step.
2. Enable Configuration
Next, you need to update or create the FacilityInventoryConfiguration to enable outbound tracking. The example below assumes a FacilityInventoryConfiguration is already present. Otherwise, please use the POST endpoint. You can find an example below. Please pay attention to not overwriting previous settings you may have already included in your configuration.
Set the following fields inoutboundStockConfiguration
trackOutboundStockis used to (de-)activate the feature without deleting the previously defined settingslocationRefreferences the outbound storage location created in the previous stepclearTriggeris used to specify when the stock should be deleted in the respective facility.eventUse the event
pick-job-closed_event-v1if the stock should be deleted after pickingUse the event
handoverjob-handed-over_event-v1if the stock should be deleted after handing it over to another party (e.g. carrier)More events will be added in the future.
tagFilterIt can be set to allow further granularity
Each entry in the
tagFilterarray represents a condition, all must be fulfilled.Each value in the
allowedValuesarray represents a possible value, one of which must be matched.If the event is a pickjob event, the conditions will be tried against the tag array in the pickjob.
If the event is a handover job event, the conditions will be tried against the tag array in the handover job
PATCH https://{YOUR_TENANT_NAME}.api.fulfillmenttools.com/api/facilities/{facilityId}/configurations/inventory{
"version": 2,
"outboundStockConfiguration": {
"trackOutboundStock": true,
"locationRef": "<your location ref>",
"clearTrigger": [
{
"event": "handoverjob-handed-over_event-v1"
},
{
"event": "pick-job-closed_event-v1",
"tagFilter": [
{
"tagId": "order-type",
"allowedValues": [
"production"
]
}
]
}
]
}
}'If your request was successful, you'll receive a HTTP 201 or 200 response containing the created storage location.
Further Reads
You have successfully enabled outbound location tracking for your facility. To test it out, complete a pick job in this facility and observe the stocks on this location via the stocks endpoint.
Last updated