Hi,
I create a Number customfield and trying to store a Long value to it. When this occurs I get the following:
org.ofbiz.core.entity.GenericEntityException: while inserting: [GenericEntity:CustomFieldValue][parentkey,null][customfield,16801][issue,140435][id,9209080][numbervalue,1.5146784E12] (SQL Exception while executing the following:INSERT INTO customfieldvalue (ID, ISSUE, CUSTOMFIELD, PARENTKEY, STRINGVALUE, NUMBERVALUE, TEXTVALUE, DATEVALUE, VALUETYPE) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) (Data truncation: Out of range value for column 'NUMBERVALUE' at row 1))
I can't find a customfield that will store Long value. I need to store this Long date and then was going to run a calcuated field to take this Long number and convert it to a date.
Any ideas?
Thank you.
I would recommend using a text field and use scriptrunner behaviour in order to check typed value
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.