FRM-40831: Truncation occurred: value too long for field WAREHOUSE_NAME (Doc ID 2192254.1)

Last updated on NOVEMBER 30, 2016

Applies to:

Oracle Receivables - Version 12.1.3 to 12.2.6 [Release 12.1 to 12.2]
Information in this document applies to any platform.
This note provides a brief overview of REW: FRM-40831: TRUNCATION OCCURRED: VALUE TOO LONG FOR FIELD WAREHOUSE_NAME

Symptoms

The warehouse name length defined in Inventory, was higher than the length accepted in Receivables, due to this the error was showing.

This issue is only with the warehouses defined in Russian, because the special characters are using more Bytes than usual.

Steps to Reproduce:
The issue can be reproduced at will with the following steps:

  1.      Receivables Responsibility: 

    Navigation- Transaction Form  - Open invoice - Lines Items - Error showing:: FRM-40831: Truncation occurred: value too long for field WAREHOUSE_NAME.

Changes

 The code changed the length of warehouse_name to 240 from 60 .

Now the length of warehouse_name in RA_CUSTOMER_TRX_LINES_V is 240.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms