Hello community,
that is the error-
An error occurred while trying to write to the entity "LMS_Approval_Details" [id=df9f2bb8-8169-4985-987e-21a22f970163@4662, type=LMS_Approval_Details (id=3874)] (data store: LMS Data Store). Details: org.hibernate.PropertyValueException: not-null property references a null or transient value: LMSApprovalDetailsDT7163.customerId Data: TypedValue[it=3874,v={<null>,<null>,,,Approve,,,}]
Thanks in advance
Discussion posts and replies are publicly visible
You will require to mark the customer id column in database as auto increment if that is your primary key and then update your CDT.
I have already done this.
Can you post your CDT XSD screenshot? Also check for other columns in table if there is no data for those columns make the nullable true.
First: Screenshot of the XSD File is required
Second: You are getting the error while writing which table Account or Customer?
I am writing in the first table approval table.
Okay, so in your data is the customer id is blank? if yes, what is requirement, there should be customer id or not? if yes, make sure you provide the customer id in process variable. if no then make sure the you have mark the default value as NULL in db and same needs to be update in CDT.
NO, customerId is not blank. It is foreign key from the customer table.