My Oracle Support Banner

No Print LPNs Label From Shipment Detail Level Where Batch Nbr Is NULL Or Where Batch Nbr Has(-) (Doc ID 3013396.1)

Last updated on APRIL 01, 2024

Applies to:

Oracle Warehouse Management Enterprise Edition Cloud Service - Version 24.1 and later
Information in this document applies to any platform.

Symptoms

IBLPN Label error out because the expression configured for label type "IB LPN - ibcontainer.lbl" is used to populate a specific character for the batch number, which not always contains a dash on it.  We require the expression to bring 1 character after the dash instead of before the dash, for example if batch/lot = 12345-B7899  we would like the expression to show 1 character (B).

The expression is built into the IBLPN label to print the characters before and after the dash (-) on the Batch number.

Expression: split("\~ib_shipment_dtl.batch_nbr","-")[1][slice(0,1)]

For example:

From IBLPN UI, if:

LPN - LPN12345 batch nbr(12345-B7899) clicks Print Label prints as expected no error but does not display one character as required.

LPN - LPN45678 batch nbr(12345678) clicks Print Label get following error
Error message after trying to print label:
Exception in text expression for document label designer: Original Expression that has failed for text: 'split("\~ib_shipment_dtl.batch_nbr","-")[1][slice(0,1)]' Exception is list index out of range Expression that failed: 'split("9876","-")[1][slice(0,1)]'

From IB SHIPMENT DTL UI, if:

LPN - LPN54321 batch nbr (NULL) clicks Print LPN Label , the label prints but what shows displayed on the label for “Year code” is showing "None" instead of just blank.



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.