Lenhams settings
Every setting on the Lenhams Order and Shipment Configurations, covering Unit of Measure conversion, parent SKUs and AS2 sequence numbers.
Lenhams is a logistics provider that Supply Lens connects to over AS2, a secure way of exchanging business documents directly between two companies' servers. Orders go to Lenhams and shipments come back. The settings are on two Configurations: Lenhams Order and Lenhams Shipment.
Orders: Unit of Measure conversion
This setting is on the Lenhams Order Configuration.
| Setting | What it does | Values / default | When to change it |
|---|---|---|---|
Locations not to convert fulfillmentLocationsDoNotConvert | Orders assigned to these Locations are sent without converting their Units of Measure. | A list of Supply Lens fulfilment Location IDs. | Add a Location whose warehouse already works in pack sizes that shouldn't be normalised. |
Shipment import
These settings are on the Lenhams Shipment Configuration.
| Setting | What it does | Values / default | When to change it |
|---|---|---|---|
Last import date lastImportDate | The import watermark. Each run fetches only shipments modified after this time. | Date and time. Managed by the system. | Don't edit it by hand. |
Import delay importDelay | Waits before importing a shipment, so other systems can change it first. | A duration, for example 00:05:00 for five minutes. | Set it when another system changes shipments after they're created. |
Never use parent SKU neverUseParentSku | When true, the parent SKU is never used in place of the variant SKU on shipment lines, even when the variant has no SKU of its own. | true or false. When false or not set, the parent SKU may be used as a fallback. | Turn on when parent SKUs aren't real, stockable Products in the back office. |
Commit sequence number on error commitSequenceNumberOnError | When true, the AS2 sequence number is committed even if processing fails, so the same message isn't reprocessed on the next run. | true or false. When false or not set, the sequence number isn't advanced on error. | Turn on to stop a problem message being processed again and again. |
Failed shipments aren't retried
With commitSequenceNumberOnError on, a shipment that fails is skipped on the next run, so it
has to be dealt with by hand. Make sure someone watches for failed Documents.