Split LPN
The Split LPN API allows you to split allocated Inbound LPNs into multiple LPNs. This will assist you in identifying allocations during packing, and increase efficiency.
URL
POST /entity/iblpn/{id}/split_lpn/
Request Options
Name | Required | Type | Default | Description |
---|---|---|---|---|
company_id | Y | String | Company ID | |
facility_id | Y | String | ||
auto_generate_lpn | N | Boolean | N | If set to yes then do not provide to_lpn |
to_lpn_list | Y | Array | List of LPN the inventory is going to be split to. Refer to to_lpn_list section for details |
Sample Payload
"parameters": {
"iblpn_nbr": "LPN0"
},
"options": {
"company_id": "units",
"facility_id ": false,
"mhe_system_code": "",
"auto_generate_lpn": true,
"to_lpn_list": [
{
"to_lpn_nbr": "LPN1",
"inv_list": [
{
"item_code": "ABC",
"batch_nbr": "BAT1",
"expiry_date": "2024-12-31",
"invn_attr_a": "A1",
"invn_attr_b": "B1",
"invn_attr_c": "C1",
"qty": 10,
"uom_code": "pack",
"alloc_info": {
"facility_code": "bar"
}
},
{
"item_code": "ABC",
"batch_nbr": "BAT2",
"expiry_date": "2025-01-01",
"invn_attr_a": "A1",
"invn_attr_b": "B1",
"invn_attr_c": "C1",
"qty": 15,
"uom_code": "pack"
}
]
},
{
"to_lpn_nbr": "LPN2",
"inv_list": [
{
"item_code": "DEF",
"invn_attr_a": "A1",
"invn_attr_b": "B1",
"invn_attr_c": "C1",
"qty": 20
}
]
}
]
}
}
to_lpn_list
Name | Required | Type | Default | Description |
---|---|---|---|---|
to_lpn | C | |||
item_code | N | String | ||
expiry_date | C | |||
invn_attr_a - inv_attr_o | C | String | Target attribute value. | |
uom | R | String | "units", "packs", "cases" | |
batch_nbr | C | String | ||
qty | Y | number | ||
alloc_info_list | Y | Array | List of fields for identifying allocation for the inventory |
Note: if inventory has allocations, the alloc_info_list is
required.
alloc_info_list
Name | Required | Type | Default | Description |
---|---|---|---|---|
facility_code | C | String | Store number required for allocation type distribution | |
wave_nbr | N | String | default to empty. Will be used for strict matching. | |
order_nbr | C | String | If not store provided order number is required | |
order_seq_nbr | C | If order number is sent this is required |
IBLPN Lookup by Filter
POST /entity/iblpn/split_lpn/
Options
Name | Required | Type | Default | Description |
---|---|---|---|---|
company_id | Y | String | Company ID | |
facility_id | Y | String | ||
mhe_system_code | N | String | Code for MHE system integration. | |
auto_generate_lpn | N | Boolean | N | If set to yes then do not provide to_lpn |
to_lpn_list | Y | Array | List of LPN the inventory is going to be split to. Refer to to_lpn_list section for details |