Hi,
I am writing a custom data import process that imports data from a .csv to CRM.
There are values(child entity) related to the main entity which can be empty or blank. Since I am not checking for any condition and using service.create to create the child entity and associating it to parent entity, it is creating blank child records. In reality, those blank child records should not exist. How do I put condition before creating child record? There are many fields that I need to check for null values in order to prevent blank records. How does it affect checking for null values for so many fields in a 'If' condition?
Or else, can I delete those blank records through some workflow or plugin as they get created through data import process?
Someone please guide me through this.
Thanks for any help.
*This post is locked for comments
I have the same question (0)