Hi,
I have duplicated CustCustomerV3 entity and added few logic as per our requirement.
Is there a way I can bypass the validation of County/State when importing Customer. The system should accept any values given for the state/County.
I tried writing the logic in MapEntityToDatasource using
if (_dataSourceCtx.name() == dataEntityDataSourceStr(ABCCustCustomerV3Entity, LogisticsPostalAddressBaseEntity))
{
_dataSourceCtx.skipValidateWrite(true);
}
It is not bypassing. I am getting error when I import with invalid county
Any idea?