This is to fix an error with the TARIC sync which failed on 2014-07-23
where a FootnoteAssociationGoodsNomenclature's validity_start_date was
being updated, this causes an issue because when updating we use the
primary key to fetch the record being updated. As the attribute being
updated was part of the primary key, the record was not found and
halted the sync.
We will have to review all other instances of validity_start_date in a
primary key to ensure that this doesn't halt the import in the future.
This is to fix an error with the TARIC sync which failed on 2014-07-23 where a FootnoteAssociationGoodsNomenclature's validity_start_date was being updated, this causes an issue because when updating we use the primary key to fetch the record being updated. As the attribute being updated was part of the primary key, the record was not found and halted the sync.
We will have to review all other instances of validity_start_date in a primary key to ensure that this doesn't halt the import in the future.