My Oracle Support Banner

Error 'strftime' requires a '' object but received a 'NoneType'Expression When Printing For Data Matrix Label (Doc ID 2634686.1)

Last updated on FEBRUARY 03, 2020

Applies to:

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


On : 19.3 version, Labels and Document Designer

When attempting to print LPN labels for an IBLPN from the IB Shipment Details UI, the following error occurs.

descriptor 'strftime' requires a '' object but received a 'NoneType'

Expression used by User in the Label Designer

gs1_dm_code("FNC1") + "01" + gs1_dm_code("FNC1") + "\~item.code".zfill(14) + gs1_dm_code("FNC1") + "17" + gs1_dm_code("FNC1") + strftime(\~batch_number.expiry_date, "%y%m%d") + gs1_dm_code("FNC1") + "10" + gs1_dm_code("FNC1") + "\~batch_number.batch_number"

The issue can be reproduced at will with the following steps:
1. Go to Inbound shipment UI screen (Trx_ASN)
2. Select ASN 12345, go to its details, and select IBLPN IB00001234
3. Click on Print LPN Labels
4. Receive error.




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

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