justjigga
Use ImportAction to import records and related records
I discovered several methods that should help but they don't seem to work.
Does anyone have any additional details on
Does anyone have any additional details on
beforeValidate
, beforeFill
, beforeSave
, and beforeCreate
?
I tried all 4 methods and can't seem to delete the additional columns from the import before the data is saved. I would like to delete all of the address fields since I'm storing that information in another table. When I try unset($this->data['phys_address']);
I still get an error about the phys_address
field during the insert.3 replies